summaryrefslogtreecommitdiff
path: root/transex3/source/export.cxx
diff options
context:
space:
mode:
authorNils Fuhrmann <nf@openoffice.org>2001-05-15 12:02:37 +0000
committerNils Fuhrmann <nf@openoffice.org>2001-05-15 12:02:37 +0000
commit099c805ca650edc3b51bd0e6a1a43f5e3c551685 (patch)
tree2ba46fcf6d3a5039c8952f66951ec33f6dd66046 /transex3/source/export.cxx
parente05172db6882b29fff6a60eca238abef592a1503 (diff)
Fixed problem of missing ; after new list items
Diffstat (limited to 'transex3/source/export.cxx')
-rw-r--r--transex3/source/export.cxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/transex3/source/export.cxx b/transex3/source/export.cxx
index 3a4a22efe6e8..b77a9d614dfc 100644
--- a/transex3/source/export.cxx
+++ b/transex3/source/export.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: export.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: nf $ $Date: 2001-05-11 08:58:14 $
+ * last change: $Author: nf $ $Date: 2001-05-15 13:02:37 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -2310,6 +2310,7 @@ void Export::MergeRest( ResData *pResData, USHORT nMode )
sLine = ( *pList->GetObject( nLIndex ))[ GERMAN_LIST_LINE_INDEX ];
if ( !sLine.Len())
sLine = sLastListLine;
+
if (( nT != LIST_UIENTRIES ) &&
(( sLine.Search( "{" ) == STRING_NOTFOUND ) ||
( sLine.Search( "{" ) >= sLine.Search( "\"" ))) &&
@@ -2338,6 +2339,8 @@ void Export::MergeRest( ResData *pResData, USHORT nMode )
ByteString sText( "\t" );
sText += sLine;
+ sText += " ;";
+
if ( bDefine )
sText += " ;\\\n";
else
@@ -2383,6 +2386,7 @@ void Export::MergeRest( ResData *pResData, USHORT nMode )
sLine = ( *pList->GetObject( nListIndex ))[ GERMAN_LIST_LINE_INDEX ];
if ( !sLine.Len())
sLine = sLastListLine;
+
if (( nList != LIST_UIENTRIES ) &&
(( sLine.Search( "{" ) == STRING_NOTFOUND ) ||
( sLine.Search( "{" ) >= sLine.Search( "\"" ))) &&
@@ -2394,6 +2398,7 @@ void Export::MergeRest( ResData *pResData, USHORT nMode )
while( PrepareTextToMerge( sLine, nList, nListLang, pResData )) {
ByteString sText( "\t" );
sText += sLine;
+ sText += " ;";
sText += "\n";
for ( USHORT i = 0; i < nLevel; i++ )
sText += "\t";
@@ -2403,6 +2408,7 @@ void Export::MergeRest( ResData *pResData, USHORT nMode )
sLine = ( *pList->GetObject( nListIndex ))[ GERMAN_LIST_LINE_INDEX ];
if ( !sLine.Len())
sLine = sLastListLine;
+ sLine += " ;";
}
}
break;