summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2014-03-24 10:50:02 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-03-24 11:04:51 +0000
commit6181b3fe2c11d55f46eaaf657877aa9396c16374 (patch)
treec27ade2cb2740fbc4543d2a1fa271dbbd869df4e
parent295c0c40682581215756e8bd744c8f2b04bd1acf (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 );