diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-03 11:00:58 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-03 11:04:25 +0000 |
commit | d68927c7fd4346311dce58e6059186633996d68b (patch) | |
tree | e646bb3046cd3acf6285a0d6a96d3997b982966f /ucb | |
parent | 5d0e485e827057eee9fb2c997685690b710e7f34 (diff) |
use actual UNO enums in test..vbahelper
Change-Id: I2e38462045efedc31903589a3fa4e6f62d74d8de
Reviewed-on: https://gerrit.libreoffice.org/36042
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/webdav-neon/webdavcontent.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.cxx b/ucb/source/ucp/webdav-neon/webdavcontent.cxx index 929ae8627ef4..aba36a3fc7b9 100644 --- a/ucb/source/ucp/webdav-neon/webdavcontent.cxx +++ b/ucb/source/ucp/webdav-neon/webdavcontent.cxx @@ -1464,9 +1464,9 @@ uno::Reference< sdbc::XRow > Content::getPropertyValues( for ( sal_Int32 n = 0; n < aSupportedLocks.getLength(); ++n ) { SAL_INFO( "ucb.ucp.webdav"," scope: " - << ( aSupportedLocks[ n ].Scope ? "shared":"exclusive" ) + << ( aSupportedLocks[ n ].Scope == css::ucb::LockScope_SHARED ? "shared" : "exclusive" ) << ", type: " - << ( aSupportedLocks[ n ].Type ? "" : "write" ) ); + << ( aSupportedLocks[ n ].Type != css::ucb::LockType_WRITE ? "" : "write" ) ); } } ++it; @@ -3836,9 +3836,9 @@ Content::ResourceType Content::getResourceType( for ( sal_Int32 n = 0; n < aSupportedLocks.getLength(); ++n ) { SAL_INFO( "ucb.ucp.webdav","PROPFIND (getResourceType) - supportedlock[" << n <<"]: scope: " - << ( aSupportedLocks[ n ].Scope ? "shared":"exclusive" ) + << ( aSupportedLocks[ n ].Scope == css::ucb::LockScope_SHARED ? "shared" : "exclusive" ) << ", type: " - << ( aSupportedLocks[ n ].Type ? "" : "write" ) ); + << ( aSupportedLocks[ n ].Type != css::ucb::LockType_WRITE ? "" : "write" ) ); } } ++it; |