summaryrefslogtreecommitdiff
path: root/l10ntools/source/gConvXrm.cxx
diff options
context:
space:
mode:
authorjan iversen <jani@documentfoundation.org>2016-03-21 13:38:42 +0100
committerjan iversen <jani@documentfoundation.org>2016-03-22 16:32:19 +0100
commit0d0598fc8f7fffe90b9e14b3825f98770ce1affa (patch)
treeb12f805d0048dde5a993ec84d3618574bc6782f5 /l10ntools/source/gConvXrm.cxx
parent3ec0b7ed0d2028517afaee5c3ffa0b9f04a68bd2 (diff)
genlang, PO files contain both comment and resource extra
the .ulf ==> .pot keep the x-comment, therefore the memory db is expanded with sResource and sComment. The memory db API is changed to add the 2 new fields, which causes a change in all callers. Change-Id: I38527c8d2db9d56ecf9ae42550ed5420371b658e
Diffstat (limited to 'l10ntools/source/gConvXrm.cxx')
-rw-r--r--l10ntools/source/gConvXrm.cxx9
1 files changed, 1 insertions, 8 deletions
diff --git a/l10ntools/source/gConvXrm.cxx b/l10ntools/source/gConvXrm.cxx
index 23316ce40805..2a075feed843 100644
--- a/l10ntools/source/gConvXrm.cxx
+++ b/l10ntools/source/gConvXrm.cxx
@@ -35,16 +35,9 @@ convert_xrm::convert_xrm(l10nMem& crMemory)
-convert_xrm::~convert_xrm()
-{
-}
-
-
-
extern int xrmlex(void);
void convert_xrm::doExecute()
{
- mcMemory.setResourceName("readmeitem");
xrmlex();
// write last part of file.
@@ -124,7 +117,7 @@ void convert_xrm::stopCollectData(char *yytext)
copySource(yytext);
if (!mbNoCollectingData) {
- mcMemory.setSourceKey(miLineNo, msSourceFile, msKey, sText, mbMergeMode);
+ mcMemory.setSourceKey(miLineNo, msSourceFile, msKey, sText, "", "readmeitem", mbMergeMode);
mbNoCollectingData = true;
if (mbMergeMode) {
sTagEnd = "</" + msTag.substr(1,msTag.size()-2) + ">\n";