[Libreoffice-commits] .: svtools/source
Julien Nabet
serval2412 at kemper.freedesktop.org
Mon Jan 30 12:22:48 PST 2012
svtools/source/filter/sgvtext.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 10bfc4df5335c6cd2ae700df7485668d896998b5
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Mon Jan 30 21:21:34 2012 +0100
Replace literal control characters (thank you Eike !)
diff --git a/svtools/source/filter/sgvtext.cxx b/svtools/source/filter/sgvtext.cxx
index 8848c1f..28f950b 100644
--- a/svtools/source/filter/sgvtext.cxx
+++ b/svtools/source/filter/sgvtext.cxx
@@ -136,10 +136,10 @@ extern SgfFontLst* pSgfFonts;
// EscBold, EscLSlnt,EscRSlnt,EscUndln,EscDbUnd,EscKaptF,EscStrik,EscDbStk,
// EscSupSc,EscSubSc,Esc2DShd,Esc3DShd,Esc4DShd];
// Justify muss spaetestens am Anfang des Absatzes stehen
-#define EscSet '' /* Flag setzen */
-#define EscReset '' /* Flag loeschen */
+#define EscSet '\x1e' /* Flag setzen */
+#define EscReset '\x1f' /* Flag loeschen */
#define EscDeflt '\x11' /* Flag auf default setzen */
-#define EscToggl '' /* Flag Toggeln */
+#define EscToggl '\x1d' /* Flag Toggeln */
#define EscRelat '%'
#define EscNoFlg 0
#define EscNoVal -2147483647 /* -MaxLongInt */
More information about the Libreoffice-commits
mailing list