diff --git a/cui/source/tabpages/tpcolor.cxx b/cui/source/tabpages/tpcolor.cxx index 32c43f8199be..c2428bfbc27c 100644 --- a/cui/source/tabpages/tpcolor.cxx +++ b/cui/source/tabpages/tpcolor.cxx @@ -315,7 +315,7 @@ bool SvxColorTabPage::FillItemSet( SfxItemSet* rSet ) if( ( nDlgType != 0 ) || ( *pPageType == PageType::Color && !*pbAreaTP ) ) { - maPaletteManager.AddRecentColor(aCurrentColor, OUString("#") + aCurrentColor.AsRGBHexString().toAsciiUpperCase()); + maPaletteManager.AddRecentColor(aCurrentColor, "#" + aCurrentColor.AsRGBHexString().toAsciiUpperCase()); rSet->Put( XFillColorItem( OUString(), aCurrentColor ) ); rSet->Put( XFillStyleItem( drawing::FillStyle_SOLID ) ); }