[Libreoffice-commits] .: filter/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Fri Nov 23 06:18:26 PST 2012
filter/source/svg/js2hxx.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 7e749c341042da1903f0dfe4d76803c9a5e950c5
Author: Tor Lillqvist <tml at iki.fi>
Date: Fri Nov 23 16:07:37 2012 +0200
Surely we can bin all indentation in the JavaScript
Change-Id: I8b889402345bd86c4a9ced62a22ad4137c673693
diff --git a/filter/source/svg/js2hxx.py b/filter/source/svg/js2hxx.py
index 39164b6..8aeb94c 100755
--- a/filter/source/svg/js2hxx.py
+++ b/filter/source/svg/js2hxx.py
@@ -86,7 +86,7 @@ for line in in_lines:
dline = dline.replace( 'DebugPrinter.on', 'DebugPrinter.off' )
escaped_line = '%s' % dline
- escaped_line = escaped_line.rstrip()
+ escaped_line = escaped_line.rstrip().lstrip()
# no more than 2 consecutive empty lines
if( escaped_line == '' ):
More information about the Libreoffice-commits
mailing list