Apache OpenOffice (AOO) Bugzilla – Issue 121946
[UCB] css::ucb::XWebDAVCommandEnvironment - use enums to identify WebDAV/HTTP methods
Last modified: 2017-05-20 09:32:14 UTC
css::ucb::XWebDAVCommandEnvironment::getUserRequestHeaders() uses a string to identify the WebDAV/HTTP method. It would be better to use a constant instead of a string.
"arielch" committed SVN revision 1460363 into trunk: i121946 - Use enums to identify WebDAV/HTTP methods
Fixed on trunk
Adapting the title, I had to use enums, DELETE is a macro in winnt.h : #define DELETE (0x00010000L) I could have worked around this in the source file using ifdefs and undef, but it would have been a breaker if anyone ever uses the constant in the future.