summaryrefslogtreecommitdiffstats
path: root/filter
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-13 10:57:03 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-13 13:15:01 +0200
commit7a169c11be07f651330cf540aa1579534761be0b (patch)
tree0fdca3a05f5ded325952f67144f9a51a80ac940d /filter
parentadd warning with install instructions when android build-tools are not found (diff)
downloadcore-7a169c11be07f651330cf540aa1579534761be0b.tar.gz
core-7a169c11be07f651330cf540aa1579534761be0b.zip
Read this MSO_Anchor value as a sal_uInt32 too
...for consistency with 0fad62c2178d6b8157b07ff30fe9e2fc8173d393 "-fsanitize=enum" Change-Id: I96e2a791811b5f45735d2ccb0686bcc12fe9a5a2
Diffstat (limited to 'filter')
-rw-r--r--filter/source/msfilter/msdffimp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx
index fe39cb8090af..c9ba7586531a 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -1428,7 +1428,7 @@ void DffPropertyReader::ApplyCustomShapeTextAttributes( SfxItemSet& rSet ) const
eTHA = SDRTEXTHORZADJUST_CENTER;
// read text anchor
- MSO_Anchor eTextAnchor = (MSO_Anchor)GetPropertyValue( DFF_Prop_anchorText, mso_anchorTop );
+ sal_uInt32 eTextAnchor = GetPropertyValue( DFF_Prop_anchorText, mso_anchorTop );
switch( eTextAnchor )
{