summaryrefslogtreecommitdiff
path: root/sw/source/ui/uno/unomailmerge.cxx
diff options
context:
space:
mode:
authorCarsten Driesner <cd@openoffice.org>2011-01-21 17:18:37 +0100
committerCarsten Driesner <cd@openoffice.org>2011-01-21 17:18:37 +0100
commit6ef1b591fcb2b6787497310a43a59061eb52abdb (patch)
tree9edccfd0cc9cae1b7390aff37941b412ba1cb670 /sw/source/ui/uno/unomailmerge.cxx
parentad25e1071ddbde4ff88dc68b1da36bad53497fe9 (diff)
parent1379283b49bd1acf89269ee569a2eb3aafd25376 (diff)
removetooltypes01: Rebase to DEV300m98
Diffstat (limited to 'sw/source/ui/uno/unomailmerge.cxx')
-rw-r--r--sw/source/ui/uno/unomailmerge.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/ui/uno/unomailmerge.cxx b/sw/source/ui/uno/unomailmerge.cxx
index 0051d98324a7..2cfc6785b963 100644
--- a/sw/source/ui/uno/unomailmerge.cxx
+++ b/sw/source/ui/uno/unomailmerge.cxx
@@ -201,6 +201,7 @@ static sal_Bool LoadFromURL_impl(
}
else
{
+ // SfxObjectShellRef is ok here, since the document will be explicitly closed
SfxObjectShellRef xTmpDocSh = pTmpDocShell;
CloseModelAndDocSh( xTmpModel, xTmpDocSh );
}