summaryrefslogtreecommitdiff
path: root/sc/source/ui/Accessibility/AccessibleEditObject.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-06 09:36:49 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-06 09:36:49 +0100
commite53db9461e1cc7ad25ecf5e96021a2f4e70857b1 (patch)
tree768cc65694d0bf8c01e7a7cc192ad55240b58993 /sc/source/ui/Accessibility/AccessibleEditObject.cxx
parent1a3834d7b9382968cf7ba3755d41a6e317997aec (diff)
loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)
Change-Id: Ief66447f04245b8ab0a4acbf097eb7283529d45d
Diffstat (limited to 'sc/source/ui/Accessibility/AccessibleEditObject.cxx')
-rw-r--r--sc/source/ui/Accessibility/AccessibleEditObject.cxx4
1 files changed, 2 insertions, 2 deletions
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)