summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/StyleManager.hxx4
-rw-r--r--include/svx/CommonStyleManager.hxx4
2 files changed, 8 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
diff --git a/include/svx/CommonStyleManager.hxx b/include/svx/CommonStyleManager.hxx
index 0ce0a3de21fc..1fc22a60d1e8 100644
--- a/include/svx/CommonStyleManager.hxx
+++ b/include/svx/CommonStyleManager.hxx
@@ -32,6 +32,10 @@ public:
virtual sfx2::StylePreviewRenderer* CreateStylePreviewRenderer(
OutputDevice& rOutputDev, OUString const & rName,
SfxStyleFamily eFamily, long nMaxHeight = 32) SAL_OVERRIDE;
+
+ virtual sfx2::StylePreviewRenderer* CreateStylePreviewRenderer(
+ OutputDevice& rOutputDev, SfxStyleSheetBase* pStyle,
+ long nMaxHeight = 32) SAL_OVERRIDE;
};
} // end namespace svx