writerfilter/source/dmapper/DomainMapper_Impl.cxx |   10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

New commits:
commit 3dac8f65123aa6046e0e94c98faf0e9708a8cc98
Author: Andras Timar <[email protected]>
Date:   Wed Oct 16 09:29:56 2013 +0200

    fdo#69548 do not remove last space from hyperlink target
    
    Change-Id: Ia56a4012590cc56b3beaa887cbbb91318a0977b1
    Reviewed-on: https://gerrit.libreoffice.org/6263
    Reviewed-by: Caolán McNamara <[email protected]>
    Tested-by: Caolán McNamara <[email protected]>

diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx 
b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
index 5bd4e62..45cc5fe 100644
--- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx
+++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
@@ -2155,14 +2155,10 @@ void FieldContext::AppendCommand(const OUString& rPart)
 
         if (bInString)
         {
-            if (bInStringNext)
-            {
-                sPart += OUString(' ');
-                sPart += sToken;
-            }
-            else
+            sPart += OUString(' ');
+            sPart += sToken;
+            if (!bInStringNext)
             {
-                sPart += sToken;
                 aResult.push_back(sPart);
             }
         }
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to