From 6b8c36c6faa23acae024be4b8a4a1cf661ac531c Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 13 Jul 2017 11:46:33 +0200 Subject: [PATCH] loplugin:oncevar: empty strings: extensions Change-Id: I83fe6f3a918cef2da0085858b63ef86005a61619 --- extensions/source/propctrlr/formcomponenthandler.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/extensions/source/propctrlr/formcomponenthandler.cxx b/extensions/source/propctrlr/formcomponenthandler.cxx index c88d994093ed..192135b23afc 100644 --- a/extensions/source/propctrlr/formcomponenthandler.cxx +++ b/extensions/source/propctrlr/formcomponenthandler.cxx @@ -387,7 +387,6 @@ namespace pcr + aDot + _rPropertyName; sal_Int32 i; - OUString aDummyStr; for ( i = 0; i < nNewCount; ++i ) { sal_Int32 nUniqueId = xStringResourceManager->getUniqueNumericId(); @@ -395,7 +394,7 @@ namespace pcr aPureIdStr += aIdStrBase; pNewPureIds[i] = aPureIdStr; // Force usage of next Unique Id - xStringResourceManager->setString( aPureIdStr, aDummyStr ); + xStringResourceManager->setString( aPureIdStr, OUString() ); } // Move strings to new Ids for all locales