diff options
Diffstat (limited to 'l10ntools/source/lngmerge.cxx')
-rw-r--r-- | l10ntools/source/lngmerge.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/l10ntools/source/lngmerge.cxx b/l10ntools/source/lngmerge.cxx index f0cdaa3ffb25..33794a377c2b 100644 --- a/l10ntools/source/lngmerge.cxx +++ b/l10ntools/source/lngmerge.cxx @@ -168,9 +168,9 @@ void LngParser::Merge( OString sID( sGroup ); std::size_t nLastLangPos = 0; - std::unique_ptr<ResData> pResData( new ResData( sID, sSource ) ); - pResData->sResTyp = "LngText"; - MergeEntrys *pEntrys = aMergeDataFile.GetMergeEntrys( pResData.get() ); + ResData aResData( sID, sSource ); + aResData.sResTyp = "LngText"; + MergeEntrys *pEntrys = aMergeDataFile.GetMergeEntrys( &aResData ); // read languages bGroup = false; |