summaryrefslogtreecommitdiff
path: root/svx/source/styles/CommonStylePreviewRenderer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/styles/CommonStylePreviewRenderer.cxx')
-rw-r--r--svx/source/styles/CommonStylePreviewRenderer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/styles/CommonStylePreviewRenderer.cxx b/svx/source/styles/CommonStylePreviewRenderer.cxx
index 49f884abf470..577744f62ec0 100644
--- a/svx/source/styles/CommonStylePreviewRenderer.cxx
+++ b/svx/source/styles/CommonStylePreviewRenderer.cxx
@@ -115,7 +115,7 @@ bool CommonStylePreviewRenderer::recalculate()
maFontColor = Color(static_cast<const SvxColorItem*>(pItem)->GetValue());
}
- if (mpStyle->GetFamily() == SFX_STYLE_FAMILY_PARA)
+ if (mpStyle->GetFamily() == SfxStyleFamily::Para)
{
if ((pItem = pItemSet->GetItem(XATTR_FILLSTYLE)) != nullptr)
{