summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel/xltoolbar.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/excel/xltoolbar.cxx')
-rw-r--r--sc/source/filter/excel/xltoolbar.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/excel/xltoolbar.cxx b/sc/source/filter/excel/xltoolbar.cxx
index d078272470d7..5dcd7dcc21fb 100644
--- a/sc/source/filter/excel/xltoolbar.cxx
+++ b/sc/source/filter/excel/xltoolbar.cxx
@@ -158,7 +158,7 @@ bool ScCTB::ImportCustomToolBar( ScCTBWrapper& rWrapper, CustomToolBarImportHelp
uno::Reference< beans::XPropertySet > xProps( xIndexContainer, uno::UNO_QUERY_THROW );
WString& name = tb.getName();
// set UI name for toolbar
- xProps->setPropertyValue( OUString("UIName"), uno::makeAny( name.getString() ) );
+ xProps->setPropertyValue("UIName", uno::makeAny( name.getString() ) );
OUString sToolBarName = sToolbarPrefix.concat( name.getString() );
for ( std::vector< ScTBC >::iterator it = rTBC.begin(); it != rTBC.end(); ++it )