diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2014-10-20 22:05:51 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2014-11-14 13:25:10 +0100 |
commit | 57658e82c04d00fda60aaf9e22eb16cd1d6cfbb0 (patch) | |
tree | 51d791972581f5f84e760177ef403ae4fb482c6b /sw/inc/doc.hxx | |
parent | 708cada5d76a26b6b2ac2885bf6b48f1205f1dd5 (diff) |
compute page offset for mailmerge based on source document rather than target
This removes another need for doing repeated and expensive layouts of the target
document.
Conflicts:
sw/inc/doc.hxx
sw/source/core/doc/docnew.cxx
sw/source/uibase/dbui/dbmgr.cxx
Change-Id: Id78bc3ccc71c17e42f858dc9660866b9c94dea3a
Diffstat (limited to 'sw/inc/doc.hxx')
-rw-r--r-- | sw/inc/doc.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx index 0d01946d4c6c..86aae2817d6c 100644 --- a/sw/inc/doc.hxx +++ b/sw/inc/doc.hxx @@ -2078,7 +2078,7 @@ public: SfxObjectShell* CreateCopy(bool bCallInitNew) const; SwNodeIndex AppendDoc(const SwDoc& rSource, sal_uInt16 nStartPageNumber, - SwPageDesc* pTargetPageDesc, bool bDeletePrevious = false ); + SwPageDesc* pTargetPageDesc, bool bDeletePrevious = false, int physicalPageOffset = 0 ); /** * Dumps the entire nodes structure to the given destination (file nodes.xml in the current directory by default) |