Kaydet (Commit) 1c84f6f4 authored tarafından Thorsten Behrens's avatar Thorsten Behrens

Fix build for old gcc

Workaround extra temporaries created by gcc-4.0 on mac - since here
PoHeader has private copy ctor.

Change-Id: I6faf99f78c11452f6adf6f1f18e1ceda9e23e7a2
üst 970b53e0
......@@ -272,7 +272,8 @@ void handleCommand(
inPath.lastIndexOf('/')- nProjectInd),
RTL_TEXTENCODING_UTF8 );
rPoOutPut.writeHeader(PoHeader(relativPath));
PoHeader aTmp(relativPath);
rPoOutPut.writeHeader(aTmp);
}
}
while (!in.eof())
......
......@@ -164,7 +164,9 @@ void HandleLanguage(const OString& LangEntryName, const OString& rOldPath,
<< sOldPoFileName.getStr() << endl;
return;
}
aNewPo.writeHeader(PoHeader(aOldPo));
PoHeader aTmp(aOldPo);
aNewPo.writeHeader(aTmp);
aOldPo.close();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment