summaryrefslogtreecommitdiffstats
path: root/include/sfx2/StyleManager.hxx
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-07-15 16:19:12 +0900
committerTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-07-17 08:50:39 +0900
commit53c40258d3572152b46e5ff5f51496ae6f32879b (patch)
tree2fac26f4cf2c4ec39290ea70297a7129aa1d905f /include/sfx2/StyleManager.hxx
parentcreate the stlye preview renderer with style as parameter (diff)
downloadcore-53c40258d3572152b46e5ff5f51496ae6f32879b.tar.gz
core-53c40258d3572152b46e5ff5f51496ae6f32879b.zip
StyleManager: move style search to its own method
And remove obsolete CreateStylePreviewRenderer method with style name as input parameter. Change-Id: I0fdf54fd40148b417250b5a6bf2453994eb83634
Diffstat (limited to 'include/sfx2/StyleManager.hxx')
-rw-r--r--include/sfx2/StyleManager.hxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/sfx2/StyleManager.hxx b/include/sfx2/StyleManager.hxx
index badc39caea3c..c6e7c238537a 100644
--- a/include/sfx2/StyleManager.hxx
+++ b/include/sfx2/StyleManager.hxx
@@ -35,9 +35,7 @@ public:
virtual ~StyleManager()
{}
- virtual StylePreviewRenderer* CreateStylePreviewRenderer(
- OutputDevice& rOutputDev, OUString const & rName,
- SfxStyleFamily eFamily, long nMaxHeight = 32) = 0;
+ SfxStyleSheetBase* Search(const OUString& rStyleName, SfxStyleFamily eFamily);
virtual StylePreviewRenderer* CreateStylePreviewRenderer(
OutputDevice& rOutputDev, SfxStyleSheetBase* pStyle,