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-06 16:54:52 +0100 |
commit | ae5afe9bcebdd220a457829d47882fe8a0cf69fd (patch) | |
tree | a6e78263bc70e8b52d471970ecc285f5d7d0a634 /sw/inc | |
parent | a305a2c91420652db450b7f8edd140e1d69f42cf (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.
Change-Id: Id78bc3ccc71c17e42f858dc9660866b9c94dea3a
Diffstat (limited to 'sw/inc')
-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 8a382e1b19d0..c8b88c241796 100644 --- a/sw/inc/doc.hxx +++ b/sw/inc/doc.hxx @@ -1660,7 +1660,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) |