diff options
Diffstat (limited to 'ucb/source/ucp/tdoc/tdoc_storage.cxx')
-rw-r--r-- | ucb/source/ucp/tdoc/tdoc_storage.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ucb/source/ucp/tdoc/tdoc_storage.cxx b/ucb/source/ucp/tdoc/tdoc_storage.cxx index ea5f1e8acfc5..964fab071f33 100644 --- a/ucb/source/ucp/tdoc/tdoc_storage.cxx +++ b/ucb/source/ucp/tdoc/tdoc_storage.cxx @@ -433,8 +433,7 @@ uno::Reference< embed::XStorage > StorageElementFactory::queryStorage( "No XPropertySet interface!" ); try { - uno::Any aPropValue = xPropSet->getPropertyValue( - OUString( "OpenMode" ) ); + uno::Any aPropValue = xPropSet->getPropertyValue("OpenMode"); sal_Int32 nOpenMode = 0; if ( aPropValue >>= nOpenMode ) |