diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-07-13 11:46:33 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-07-13 11:46:33 +0200 |
commit | 6b8c36c6faa23acae024be4b8a4a1cf661ac531c (patch) | |
tree | 1ba27c35bf169761e192b835140c7486c2999f27 /extensions | |
parent | 49a8dc5057828f8dcde38f23b0642c03ce59a731 (diff) |
loplugin:oncevar: empty strings: extensions
Change-Id: I83fe6f3a918cef2da0085858b63ef86005a61619
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/propctrlr/formcomponenthandler.cxx | 3 |
1 files changed, 1 insertions, 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 |