From 4f2bb2516d901c8541bae8d2d63c18b2f58775ba Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 13 Jul 2017 11:45:38 +0200 Subject: loplugin:oncevar: empty strings: scripting Change-Id: I5f9df200e0b221670c1646dec011c2647804b9e0 --- scripting/source/dlgprov/dlgprov.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'scripting/source') 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 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; -- cgit