merge the formfield patch from ooo-build
[ooovba.git] / applied_patches / 0230-ucb-neon-0.24.diff
blob6addca01c1c4c727ceb2bfd8d20a558017102f99
1 --- ucb/source/ucp/webdav/NeonSession.cxx.old 2009-02-26 09:39:43.000000000 +0100
2 +++ ucb/source/ucp/webdav/NeonSession.cxx 2009-03-09 13:25:15.000000000 +0100
3 @@ -841,8 +841,13 @@ void NeonSession::Init()
4 ne_redirect_register( m_pHttpSession );
6 // authentication callbacks.
7 +#if NEON_VERSION >= 0x0260
8 ne_add_server_auth( m_pHttpSession, NE_AUTH_ALL, NeonSession_NeonAuth, this );
9 ne_add_proxy_auth ( m_pHttpSession, NE_AUTH_ALL, NeonSession_NeonAuth, this );
10 +#else
11 + ne_set_server_auth( m_pHttpSession, NeonSession_NeonAuth, this );
12 + ne_set_proxy_auth ( m_pHttpSession, NeonSession_NeonAuth, this );
13 +#endif