diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-06 09:34:39 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-06 09:34:39 +0100 |
commit | a80bab705888ca020533dee97b2e2850529dbf09 (patch) | |
tree | a6a739dc6809630ad3fadc09deff84a9df64d401 /basic/source/runtime/methods.cxx | |
parent | 71a91f8025360074df47a375633cc7d4da2d544f (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.cxx | 4 |
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(); |