[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - writerfilter/source
Andras Timar
andras.timar at collabora.com
Thu Oct 17 08:50:33 PDT 2013
writerfilter/source/dmapper/DomainMapper_Impl.cxx | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
New commits:
commit 3dac8f65123aa6046e0e94c98faf0e9708a8cc98
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: Ia56a4012590cc56b3beaa887cbbb91318a0977b1
Reviewed-on: https://gerrit.libreoffice.org/6263
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
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);
}
}
More information about the Libreoffice-commits
mailing list