summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdotext.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-17 13:49:16 +0200
committerNoel Grandin <noel@peralex.com>2016-08-18 08:49:02 +0200
commit4a4c1bf4423a8b426c56c8d2b7013d6b5109309e (patch)
tree979f603a4f19373cb7e0abead4094c196010c927 /svx/source/svdraw/svdotext.cxx
parenta43de3d55bccfd8312dfcafbd387f3e8c7d1c633 (diff)
convert XFormTextStyle to scoped enum
Change-Id: I88facbbbe262d9e26d2b45703c4f05c71bf51479
Diffstat (limited to 'svx/source/svdraw/svdotext.cxx')
-rw-r--r--svx/source/svdraw/svdotext.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdotext.cxx b/svx/source/svdraw/svdotext.cxx
index 5bc0ddc922d1..42e3d6320686 100644
--- a/svx/source/svdraw/svdotext.cxx
+++ b/svx/source/svdraw/svdotext.cxx
@@ -1808,7 +1808,7 @@ long SdrTextObj::GetMaxTextFrameWidth() const
bool SdrTextObj::IsFontwork() const
{
return !bTextFrame // Default is FALSE
- && static_cast<const XFormTextStyleItem&>(GetObjectItemSet().Get(XATTR_FORMTXTSTYLE)).GetValue() != XFT_NONE;
+ && static_cast<const XFormTextStyleItem&>(GetObjectItemSet().Get(XATTR_FORMTXTSTYLE)).GetValue() != XFormTextStyle::NONE;
}
bool SdrTextObj::IsHideContour() const