diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-08-18 16:29:25 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-08-18 16:29:25 +0200 |
commit | 8fa219fbb5101b661ce0e9aabceb52d3981ffe88 (patch) | |
tree | 635672d93e4701f1b58f6ab5d1a5703143f4e77f /filter | |
parent | 221d874ec8168eb9fcdf97605b71eaf9227815f4 (diff) |
Downcast to wrong SfxPoolItem sub-type
Change-Id: I9f4dc2f470f94d6f7cc2959e368fda419d9482c4
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/msfilter/svdfppt.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx index 90d3b463667e..cacf65cab714 100644 --- a/filter/source/msfilter/svdfppt.cxx +++ b/filter/source/msfilter/svdfppt.cxx @@ -7257,7 +7257,7 @@ void ApplyCellAttributes( const SdrObject* pObj, Reference< XCell >& xCell ) xPropSet->setPropertyValue( sTextVerticalAdjust, Any( eVA ) ); //set textHorizontalAdjust and TextWritingMode attr - const sal_Int32 eHA(((const SdrMetricItem&)pObj->GetMergedItem(SDRATTR_TEXT_HORZADJUST)).GetValue()); + const sal_Int32 eHA(((const SdrTextHorzAdjustItem&)pObj->GetMergedItem(SDRATTR_TEXT_HORZADJUST)).GetValue()); const SvxFrameDirection eDirection = (const SvxFrameDirection)((( const SvxFrameDirectionItem&)pObj->GetMergedItem(EE_PARA_WRITINGDIR)).GetValue()); static const OUString sHorizontalAdjust( "TextHorizontalAdjust" ); static const OUString sWritingMode( "TextWritingMode" ); |