summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2016-01-08 21:24:46 +0100
committerJan-Marek Glogowski <glogow@fbihome.de>2016-03-24 22:40:43 +0100
commit09401b49ebfc1988eea71017f13da4146ec95b7b (patch)
tree1b87a44543b38c7be655e63fbc9d0bd481f2adb0 /sw/source
parent88761228addde6ac0425dd56381caf86922f7117 (diff)
MM: don't send email if document generation failed
Change-Id: I91d13d0694c0586a2dbc159f7ba9d53086b6746c
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/uibase/dbui/dbmgr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/dbui/dbmgr.cxx b/sw/source/uibase/dbui/dbmgr.cxx
index fa9b346405c5..a2318f91a5b0 100644
--- a/sw/source/uibase/dbui/dbmgr.cxx
+++ b/sw/source/uibase/dbui/dbmgr.cxx
@@ -1394,7 +1394,7 @@ bool SwDBManager::MergeMailFiles(SwWrtShell* pSourceShell,
m_bCancel = true;
bNoError = false;
}
- if( bMT_EMAIL )
+ if( bMT_EMAIL && bNoError )
{
if( !SwMailMergeHelper::CheckMailAddress( sColumnData ) )
{