summaryrefslogtreecommitdiff
path: root/scripting
diff options
context:
space:
mode:
Diffstat (limited to 'scripting')
-rw-r--r--scripting/source/stringresource/stringresource.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripting/source/stringresource/stringresource.cxx b/scripting/source/stringresource/stringresource.cxx
index 096692602407..79090c6eeaad 100644
--- a/scripting/source/stringresource/stringresource.cxx
+++ b/scripting/source/stringresource/stringresource.cxx
@@ -195,8 +195,7 @@ Sequence< OUString > StringResourceImpl::implGetResourceIDs( LocaleItem* pLocale
int iTarget = 0;
for( const auto& rEntry : rHashMap )
{
- OUString aStr = rEntry.first;
- pStrings[iTarget] = aStr;
+ pStrings[iTarget] = rEntry.first;
iTarget++;
}
}