summaryrefslogtreecommitdiff
path: root/basic/source/runtime/methods.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-06 09:34:39 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-06 09:34:39 +0100
commita80bab705888ca020533dee97b2e2850529dbf09 (patch)
treea6a739dc6809630ad3fadc09deff84a9df64d401 /basic/source/runtime/methods.cxx
parent71a91f8025360074df47a375633cc7d4da2d544f (diff)
loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)
Change-Id: I9979100550a86ac3f42d74a5403fb3ffd9d5006b
Diffstat (limited to 'basic/source/runtime/methods.cxx')
-rw-r--r--basic/source/runtime/methods.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx
index 0a44213f0625..76ef40e392de 100644
--- a/basic/source/runtime/methods.cxx
+++ b/basic/source/runtime/methods.cxx
@@ -4455,7 +4455,7 @@ RTLFUNC(Load)
}
else if (SbxObject* pSbxObj = dynamic_cast<SbxObject*>(pObj))
{
- SbxVariable* pVar = pSbxObj->Find(OUString("Load"), SbxCLASS_METHOD);
+ SbxVariable* pVar = pSbxObj->Find("Load", SbxCLASS_METHOD);
if( pVar )
{
pVar->GetInteger();
@@ -4486,7 +4486,7 @@ RTLFUNC(Unload)
}
else if (SbxObject *pSbxObj = dynamic_cast<SbxObject*>(pObj))
{
- SbxVariable* pVar = pSbxObj->Find(OUString("Unload"), SbxCLASS_METHOD);
+ SbxVariable* pVar = pSbxObj->Find("Unload", SbxCLASS_METHOD);
if( pVar )
{
pVar->GetInteger();