diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-06-08 14:26:49 +0900 |
---|---|---|
committer | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-07-17 08:50:39 +0900 |
commit | 76360c8de7bf6f0baef9c0440a2f721f15cc1564 (patch) | |
tree | 0e519559e7c01cb2e0dc742cb879e0c30e724435 /include/sfx2/StyleManager.hxx | |
parent | tdf#91495 add property to turn off stlye previews (diff) | |
download | core-76360c8de7bf6f0baef9c0440a2f721f15cc1564.tar.gz core-76360c8de7bf6f0baef9c0440a2f721f15cc1564.zip |
create the stlye preview renderer with style as parameter
Change-Id: Ie191467305279253f165f13980c125f6b7b9fdde
Diffstat (limited to 'include/sfx2/StyleManager.hxx')
-rw-r--r-- | include/sfx2/StyleManager.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sfx2/StyleManager.hxx b/include/sfx2/StyleManager.hxx index 962fbb967e47..badc39caea3c 100644 --- a/include/sfx2/StyleManager.hxx +++ b/include/sfx2/StyleManager.hxx @@ -38,6 +38,10 @@ public: virtual StylePreviewRenderer* CreateStylePreviewRenderer( OutputDevice& rOutputDev, OUString const & rName, SfxStyleFamily eFamily, long nMaxHeight = 32) = 0; + + virtual StylePreviewRenderer* CreateStylePreviewRenderer( + OutputDevice& rOutputDev, SfxStyleSheetBase* pStyle, + long nMaxHeight = 32) = 0; }; } // end namespace sfx2 |