summaryrefslogtreecommitdiff
path: root/toolkit/source/controls/unocontrolbase.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/source/controls/unocontrolbase.cxx')
-rw-r--r--toolkit/source/controls/unocontrolbase.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/controls/unocontrolbase.cxx b/toolkit/source/controls/unocontrolbase.cxx
index 81732d148cdc..0993d75a7d28 100644
--- a/toolkit/source/controls/unocontrolbase.cxx
+++ b/toolkit/source/controls/unocontrolbase.cxx
@@ -34,7 +34,7 @@ using namespace com::sun::star;
bool UnoControlBase::ImplHasProperty( sal_uInt16 nPropId )
{
- OUString aPropName( GetPropertyName( nPropId ) );
+ const OUString& aPropName( GetPropertyName( nPropId ) );
return ImplHasProperty( aPropName );
}