Kaydet (Commit) 7a169c11 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Read this MSO_Anchor value as a sal_uInt32 too

...for consistency with 0fad62c2
"-fsanitize=enum"

Change-Id: I96e2a791811b5f45735d2ccb0686bcc12fe9a5a2
üst 2ca4748a
...@@ -1428,7 +1428,7 @@ void DffPropertyReader::ApplyCustomShapeTextAttributes( SfxItemSet& rSet ) const ...@@ -1428,7 +1428,7 @@ void DffPropertyReader::ApplyCustomShapeTextAttributes( SfxItemSet& rSet ) const
eTHA = SDRTEXTHORZADJUST_CENTER; eTHA = SDRTEXTHORZADJUST_CENTER;
// read text anchor // 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 ) switch( eTextAnchor )
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment