summaryrefslogtreecommitdiffstats
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-02-15 09:15:19 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-02-15 09:54:14 +0000
commit227e7bf0dba4d3fa992b3ee96f182ffb94591854 (patch)
tree68b95a7bfa949720d736fe78d4ba95f7fb7b0094 /svx
parentdisable these for now (diff)
downloadcore-227e7bf0dba4d3fa992b3ee96f182ffb94591854.tar.gz
core-227e7bf0dba4d3fa992b3ee96f182ffb94591854.zip
coverity#1400530 Mixing enum types
Change-Id: Ia5d0717bc63043bb42f1c9728218fdd09c54a393
Diffstat (limited to 'svx')
-rw-r--r--svx/source/svdraw/svdattr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdattr.cxx b/svx/source/svdraw/svdattr.cxx
index ca9259304cc9..78de5013536b 100644
--- a/svx/source/svdraw/svdattr.cxx
+++ b/svx/source/svdraw/svdattr.cxx
@@ -1850,7 +1850,7 @@ bool SdrMeasureTextVPosItem::PutValue( const uno::Any& rVal, sal_uInt8 /*nMember
ePos = (drawing::MeasureTextVertPos)nEnum;
}
- SetValue( sal::static_int_cast< sal_uInt16 >( (SdrMeasureTextHPos)ePos ) );
+ SetValue( sal::static_int_cast< sal_uInt16 >( (SdrMeasureTextVPos)ePos ) );
return true;
}