[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-4.0' - writerfilter/source

Andras Timar andras.timar at collabora.com
Wed Oct 16 04:44:20 PDT 2013


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

New commits:
commit 365230c12f8c6ff7ebf83af6a64093b0ab79ba0e
Author: Andras Timar <andras.timar at collabora.com>
Date:   Wed Oct 16 09:29:56 2013 +0200

    fdo#69548 do not remove last space from hyperlink target
    
    Change-Id: Idd6e28a8838245440e350f0593ea544e057483e6

diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
index 07654c6..5db6df4 100644
--- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx
+++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
@@ -2138,14 +2138,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);
             }
         }


More information about the Libreoffice-commits mailing list