diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-07-13 11:45:38 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-07-13 11:45:38 +0200 |
commit | 4f2bb2516d901c8541bae8d2d63c18b2f58775ba (patch) | |
tree | 61602913bdfe7ac669d08ecb9ec8db33273abc5e /scripting/source/dlgprov/dlgprov.cxx | |
parent | 552bbc2ec1b41f9ceb5367f1e94eb7e8bbffc76a (diff) |
loplugin:oncevar: empty strings: scripting
Change-Id: I5f9df200e0b221670c1646dec011c2647804b9e0
Diffstat (limited to 'scripting/source/dlgprov/dlgprov.cxx')
-rw-r--r-- | scripting/source/dlgprov/dlgprov.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripting/source/dlgprov/dlgprov.cxx b/scripting/source/dlgprov/dlgprov.cxx index 4f0c8babe547..00899e8da5f8 100644 --- a/scripting/source/dlgprov/dlgprov.cxx +++ b/scripting/source/dlgprov/dlgprov.cxx @@ -92,14 +92,13 @@ namespace dlgprov aInetObj.removeSegment(); OUString aDlgLocation = aInetObj.GetMainURL( INetURLObject::DecodeMechanism::NONE ); css::lang::Locale aLocale = Application::GetSettings().GetUILanguageTag().getLocale(); - OUString aComment; Sequence<Any> aArgs( 6 ); aArgs[0] <<= aDlgLocation; aArgs[1] <<= true; // bReadOnly aArgs[2] <<= aLocale; aArgs[3] <<= aDlgName; - aArgs[4] <<= aComment; + aArgs[4] <<= OUString(); Reference< task::XInteractionHandler > xDummyHandler; aArgs[5] <<= xDummyHandler; |