diff options
author | Oliver Specht <os@openoffice.org> | 2009-11-13 08:30:06 +0000 |
---|---|---|
committer | Oliver Specht <os@openoffice.org> | 2009-11-13 08:30:06 +0000 |
commit | 3d96348ce1e94c77af42cae1f143c6149e59edb3 (patch) | |
tree | 22f536ffa688d763b2e2cb68bdc1bc195884ab8e /sw/source/ui/dbui/dbmgr.cxx | |
parent | 3dec08c487898aa9d638a094a0a250477df918e1 (diff) |
#i106730# load styles from source, not from working document
Diffstat (limited to 'sw/source/ui/dbui/dbmgr.cxx')
-rw-r--r-- | sw/source/ui/dbui/dbmgr.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/dbui/dbmgr.cxx b/sw/source/ui/dbui/dbmgr.cxx index 603af1c31111..09d6330e263b 100644 --- a/sw/source/ui/dbui/dbmgr.cxx +++ b/sw/source/ui/dbui/dbmgr.cxx @@ -3298,7 +3298,7 @@ sal_Int32 SwNewDBMgr::MergeDocuments( SwMailMergeConfigItem& rMMConfig, } if(nDocNo == 1 || bPageStylesWithHeaderFooter) { - pTargetView->GetDocShell()->_LoadStyles( *pWorkView->GetDocShell(), sal_True ); + pTargetView->GetDocShell()->_LoadStyles( *rSourceView.GetDocShell(), sal_True ); } if(nDocNo > 1) { |