diff options
Diffstat (limited to 'svl')
-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 5e9e5246004c..930bf92ca77c 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 */ |