diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-25 12:36:42 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-25 12:38:36 +0200 |
commit | 768abe343c9c596a4f11e58b98d7871e4172758d (patch) | |
tree | 8f3b3fa949a6ad4940a33d6c24a30dfd00b2bc6d /extensions | |
parent | 8987a2920cc638939c3d5beb0f80c9bd6a13f3d5 (diff) |
loplugin:stringconstant: Flag more inefficiencies
Change-Id: Ia4f844e0e9249f54d134fbbde11aa1f7e250e8af
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/propctrlr/selectlabeldialog.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/propctrlr/selectlabeldialog.cxx b/extensions/source/propctrlr/selectlabeldialog.cxx index 0d5b30dee61d..e9acfb12bd54 100644 --- a/extensions/source/propctrlr/selectlabeldialog.cxx +++ b/extensions/source/propctrlr/selectlabeldialog.cxx @@ -75,10 +75,10 @@ namespace pcr if (::comphelper::hasProperty(PROPERTY_CLASSID, m_xControlModel)) nClassID = ::comphelper::getINT16(m_xControlModel->getPropertyValue(PROPERTY_CLASSID)); - sDescription = sDescription.replaceAll(OUString("$controlclass$"), + sDescription = sDescription.replaceAll("$controlclass$", GetUIHeadlineName(nClassID, makeAny(m_xControlModel))); OUString sName = ::comphelper::getString(m_xControlModel->getPropertyValue(PROPERTY_NAME)); - sDescription = sDescription.replaceAll(OUString("$controlname$"), sName); + sDescription = sDescription.replaceAll("$controlname$", sName); m_pMainDesc->SetText(sDescription); // search for the root of the form hierarchy |