summaryrefslogtreecommitdiffstats
path: root/framework/source/uiconfiguration/imagemanagerimpl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/uiconfiguration/imagemanagerimpl.cxx')
-rw-r--r--framework/source/uiconfiguration/imagemanagerimpl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/uiconfiguration/imagemanagerimpl.cxx b/framework/source/uiconfiguration/imagemanagerimpl.cxx
index fd7a4eb759cd..fa3bf1a31a03 100644
--- a/framework/source/uiconfiguration/imagemanagerimpl.cxx
+++ b/framework/source/uiconfiguration/imagemanagerimpl.cxx
@@ -773,7 +773,7 @@ void ImageManagerImpl::initialize( const Sequence< Any >& aArguments )
if ( xPropSet.is() )
{
long nOpenMode = 0;
- if ( xPropSet->getPropertyValue( OUString( "OpenMode" )) >>= nOpenMode )
+ if ( xPropSet->getPropertyValue("OpenMode") >>= nOpenMode )
m_bReadOnly = !( nOpenMode & ElementModes::WRITE );
}
}