diff options
Diffstat (limited to 'svl/source/items/style.cxx')
-rw-r--r-- | svl/source/items/style.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/svl/source/items/style.cxx b/svl/source/items/style.cxx index bbbd45ede5e2..01da088c0ed4 100644 --- a/svl/source/items/style.cxx +++ b/svl/source/items/style.cxx @@ -284,6 +284,11 @@ SfxItemSet& SfxStyleSheetBase::GetItemSet() return *pSet; } +std::unique_ptr<SfxItemSet> SfxStyleSheetBase::GetItemSetForPreview() +{ + return std::unique_ptr<SfxItemSet>(new SfxItemSet(GetItemSet())); +} + /** * Set help file and ID and return it */ |