scripts/rtf-anonymiser.py |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 31d92501bc8738009884f818bc1beb8c96b7fe51
Author: Miklos Vajna <[email protected]>
Date:   Tue Jun 11 09:39:46 2013 +0200

    rtf-anonymiser: no need to replace spaces
    
    Change-Id: I6c05ba2f0bf0d9173a54309e9c56e1db7eebb90e

diff --git a/scripts/rtf-anonymiser.py b/scripts/rtf-anonymiser.py
index de8a596..d505389 100755
--- a/scripts/rtf-anonymiser.py
+++ b/scripts/rtf-anonymiser.py
@@ -85,7 +85,9 @@ class RtfAnonymiser(RtfParser):
         if self.hexCount > 0:
             self.handleHexChar(ch)
         else:
-            if ch.isupper():
+            if ch == " ":
+                self.out.append(" ")
+            elif ch.isupper():
                 self.out.append("X")
             else:
                 self.out.append("x")
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to