summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2014-03-24 10:50:02 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-03-25 11:07:14 +0100
commit027e8b126b85d1c7abf458f2b37b61f76e7d3d47 (patch)
treed3b7f21014f9fff43f958ce2d9c4bc53c2dfe332 /sw
parentbaac2e214ff41b18e33ad5d4e054d765ddb2b3d6 (diff)
fdo#74155 mailmerge output path fix
regression from dd7acb3d76cd89b3f05dbdafe88eb50e60fd9d10 Change-Id: Ia79ed67df1f0e2803bd3e729951dee3a7438096d Reviewed-on: https://gerrit.libreoffice.org/8729 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Bjoern Michaelsen <bjoern.michaelsen@canonical.com> Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 6181b3fe2c11d55f46eaaf657877aa9396c16374)
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/uno/unomailmerge.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/uno/unomailmerge.cxx b/sw/source/ui/uno/unomailmerge.cxx
index f1a75fe0bf73..398376faceb1 100644
--- a/sw/source/ui/uno/unomailmerge.cxx
+++ b/sw/source/ui/uno/unomailmerge.cxx
@@ -707,7 +707,7 @@ uno::Any SAL_CALL SwXMailMerge::execute(
OUString aDelim = OUString(INET_PATH_TOKEN);
if (aPath.getLength() >= aDelim.getLength() &&
- aPath.copy( aPath.getLength() - aDelim.getLength() ) == aDelim)
+ aPath.copy( aPath.getLength() - aDelim.getLength() ) != aDelim)
aPath += aDelim;
if (bCurFileNameFromColumn)
pMgr->SetEMailColumn( aCurFileNamePrefix );