From e53db9461e1cc7ad25ecf5e96021a2f4e70857b1 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 6 Nov 2015 09:36:49 +0100 Subject: loplugin:stringconstant: elide explicit ctor usage (automatic rewrite) Change-Id: Ief66447f04245b8ab0a4acbf097eb7283529d45d --- sc/source/ui/Accessibility/AccessibleEditObject.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sc/source/ui/Accessibility/AccessibleEditObject.cxx') diff --git a/sc/source/ui/Accessibility/AccessibleEditObject.cxx b/sc/source/ui/Accessibility/AccessibleEditObject.cxx index ce2b9cc1e135..58ce83085854 100644 --- a/sc/source/ui/Accessibility/AccessibleEditObject.cxx +++ b/sc/source/ui/Accessibility/AccessibleEditObject.cxx @@ -399,13 +399,13 @@ void ScAccessibleEditObject::CreateTextHelper() sal_Int32 SAL_CALL ScAccessibleEditObject::getForeground( ) throw (css::uno::RuntimeException, std::exception) { - return GetFgBgColor(OUString(SC_UNONAME_CCOLOR)); + return GetFgBgColor(SC_UNONAME_CCOLOR); } sal_Int32 SAL_CALL ScAccessibleEditObject::getBackground( ) throw (css::uno::RuntimeException, std::exception) { - return GetFgBgColor(OUString(SC_UNONAME_CELLBACK)); + return GetFgBgColor(SC_UNONAME_CELLBACK); } sal_Int32 ScAccessibleEditObject::GetFgBgColor( const OUString &strPropColor) -- cgit