[Libreoffice-commits] core.git: cui/source
Stephan Bergmann
sbergman at redhat.com
Wed Aug 31 10:05:41 UTC 2016
cui/source/tabpages/tpcolor.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 32fc5177f7c60b4a875a7b10af9a20240177e9f6
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Aug 31 12:05:12 2016 +0200
loplugin:stringconstant
Change-Id: Ia4b69d90b2cbeb9aeed9514c12a71abe5e4bd6d5
diff --git a/cui/source/tabpages/tpcolor.cxx b/cui/source/tabpages/tpcolor.cxx
index 32c43f8..c2428bf 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 ) );
}
More information about the Libreoffice-commits
mailing list