diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-05-19 17:16:44 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-05-19 17:16:44 +0200 |
commit | dd44fd294cfb5eabe4c8382acdd82d323d8e8dd1 (patch) | |
tree | 75d30fe7481d8f23e19e922746e25d695ae5ea3c /svx/source/accessibility | |
parent | 713843bebb27f09b5af9190cf84c57f6076e54aa (diff) |
loplugin:stringcopy: svx
Change-Id: Ic1874b2bfe28149deab3e6903ef7d7dac77cfc4b
Diffstat (limited to 'svx/source/accessibility')
-rw-r--r-- | svx/source/accessibility/DescriptionGenerator.cxx | 8 | ||||
-rw-r--r-- | svx/source/accessibility/ShapeTypeHandler.cxx | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/accessibility/DescriptionGenerator.cxx b/svx/source/accessibility/DescriptionGenerator.cxx index 1f51bf425960..d4dcb985ab95 100644 --- a/svx/source/accessibility/DescriptionGenerator.cxx +++ b/svx/source/accessibility/DescriptionGenerator.cxx @@ -73,7 +73,7 @@ void DescriptionGenerator::Initialize (sal_Int32 nResourceId) OUString sPrefix; { SolarMutexGuard aGuard; - sPrefix = OUString (SvxResId (nResourceId)); + sPrefix = SvxResId (nResourceId); } // Forward the call with the resulting string. @@ -90,10 +90,10 @@ void DescriptionGenerator::Initialize (const OUString& sPrefix) SolarMutexGuard aGuard; msDescription.append(' '); - msDescription.append(OUString (SvxResId(RID_SVXSTR_A11Y_WITH))); + msDescription.append(SvxResId(RID_SVXSTR_A11Y_WITH)); msDescription.append(' '); - msDescription.append(OUString (SvxResId (RID_SVXSTR_A11Y_STYLE))); + msDescription.append(SvxResId (RID_SVXSTR_A11Y_STYLE)); msDescription.append('='); } @@ -155,7 +155,7 @@ void DescriptionGenerator::AddProperty (const OUString& sPropertyName, SolarMutexGuard aGuard; msDescription.append(' '); - msDescription.append(OUString (SvxResId(RID_SVXSTR_A11Y_AND))); + msDescription.append(SvxResId(RID_SVXSTR_A11Y_AND)); msDescription.append(' '); mbIsFirstProperty = false; } diff --git a/svx/source/accessibility/ShapeTypeHandler.cxx b/svx/source/accessibility/ShapeTypeHandler.cxx index 021592269fc8..68937f67c18b 100644 --- a/svx/source/accessibility/ShapeTypeHandler.cxx +++ b/svx/source/accessibility/ShapeTypeHandler.cxx @@ -318,7 +318,7 @@ OUString if (nResourceId != -1) { SolarMutexGuard aGuard; - sName = OUString (SvxResId((unsigned short)nResourceId)); + sName = SvxResId((unsigned short)nResourceId); } return sName; |