summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2014-03-24 10:50:02 +0100
committerTor Lillqvist <tml@collabora.com>2014-03-25 11:40:35 +0200
commit947e9c777458254fd97e8edb4ac1c3aec8363900 (patch)
treef8563ed2653c19b4d1e304841a314df71319d0a8
parentab66f34cb8c83d024dbb37f157e5ba94aab12b6a (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> Tested-by: Caolán McNamara <caolanm@redhat.com>
-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 );