diff options
author | David Tardon <dtardon@redhat.com> | 2013-01-17 15:01:32 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2013-01-22 13:37:25 +0100 |
commit | 24578b804007d8c3201e5ed32b8485e1725c33c1 (patch) | |
tree | 5dc63f40c71a5aa45a45f076d3b36bc2f4f04590 /sd/inc | |
parent | 34add900d03aa1ac194152f9f96d5b8b852a1175 (diff) |
rhbz#760765 copy custom styles on copy & paste
Change-Id: Icaacf3bc1a02a017692432aec36aba06d3f5dde5
Diffstat (limited to 'sd/inc')
-rw-r--r-- | sd/inc/stlpool.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sd/inc/stlpool.hxx b/sd/inc/stlpool.hxx index 9e76c2a5300b..4833dd8f8197 100644 --- a/sd/inc/stlpool.hxx +++ b/sd/inc/stlpool.hxx @@ -80,6 +80,8 @@ public: void CopyGraphicSheets(SdStyleSheetPool& rSourcePool); void CopyCellSheets(SdStyleSheetPool& rSourcePool); void CopyTableStyles(SdStyleSheetPool& rSourcePool); + void CopyGraphicSheets(SdStyleSheetPool& rSourcePool, SdStyleSheetVector& rCreatedSheets); + void CopyCellSheets(SdStyleSheetPool& rSourcePool, SdStyleSheetVector& rCreatedSheets); void CreatePseudosIfNecessary(); void UpdateStdNames(); @@ -121,6 +123,7 @@ public: virtual void SAL_CALL release (void) throw (); protected: void CopySheets(SdStyleSheetPool& rSourcePool, SfxStyleFamily eFamily ); + void CopySheets(SdStyleSheetPool& rSourcePool, SfxStyleFamily eFamily, SdStyleSheetVector& rCreatedSheets ); virtual SfxStyleSheetBase* Create(const String& rName, SfxStyleFamily eFamily, sal_uInt16 nMask); virtual SfxStyleSheetBase* Create(const SdStyleSheet& rStyle); |