diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-07-15 16:19:12 +0900 |
---|---|---|
committer | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-07-17 08:50:39 +0900 |
commit | 53c40258d3572152b46e5ff5f51496ae6f32879b (patch) | |
tree | 2fac26f4cf2c4ec39290ea70297a7129aa1d905f /include/sfx2/StyleManager.hxx | |
parent | 76360c8de7bf6f0baef9c0440a2f721f15cc1564 (diff) |
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.hxx | 4 |
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, |