summaryrefslogtreecommitdiff
path: root/l10ntools/source/export.cxx
diff options
context:
space:
mode:
authorAndras Timar <atimar@suse.com>2012-04-14 14:22:13 +0200
committerAndras Timar <atimar@suse.com>2012-04-14 14:24:06 +0200
commit3f00358bfdad0a18fe053c3d154f74e3aa6afba9 (patch)
tree4808b98f8d68068a75c8d5cc8bc2d1cabdece95b /l10ntools/source/export.cxx
parentaf0e727b5dfcdea0555748e7e6415d70fe7665a9 (diff)
export x-comments to sdf file into the 'helptext' field
helptext field has not been in use for a while, so we can use that to hold the x-comment
Diffstat (limited to 'l10ntools/source/export.cxx')
-rw-r--r--l10ntools/source/export.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/l10ntools/source/export.cxx b/l10ntools/source/export.cxx
index 60c4a7388b6f..329fd197f74f 100644
--- a/l10ntools/source/export.cxx
+++ b/l10ntools/source/export.cxx
@@ -1006,8 +1006,8 @@ sal_Bool Export::WriteData( ResData *pResData, sal_Bool bCreateNew )
sXText = pResData->sText[ SOURCE_LANGUAGE ];
}
- if (!pResData->sHelpText[ sCur ].isEmpty())
- sXHText = pResData->sHelpText[ sCur ];
+ if (!pResData->sText[ X_COMMENT ].isEmpty())
+ sXHText = pResData->sText[ X_COMMENT ];
else {
sXHText = pResData->sHelpText[ SOURCE_LANGUAGE ];
}