From dcffc21805828ddff7de1282f3d40ffdf3fac38d Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 30 Mar 2017 15:47:26 +0200 Subject: use actual UNO enums in svx Change-Id: I00f53260667861ca2595892b5605479da3401adb Reviewed-on: https://gerrit.libreoffice.org/35913 Tested-by: Jenkins Reviewed-by: Noel Grandin --- svx/source/table/svdotable.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svx/source/table') diff --git a/svx/source/table/svdotable.cxx b/svx/source/table/svdotable.cxx index ce2b7cbd49c2..a38d354b0289 100644 --- a/svx/source/table/svdotable.cxx +++ b/svx/source/table/svdotable.cxx @@ -1964,7 +1964,7 @@ WritingMode SdrTableObj::GetWritingMode() const const SfxPoolItem *pItem; if ( rSet.GetItemState( SDRATTR_TEXTDIRECTION, false, &pItem ) == SfxItemState::SET ) - eWritingMode = static_cast< WritingMode >( static_cast< const SvxWritingModeItem * >( pItem )->GetValue() ); + eWritingMode = static_cast< const SvxWritingModeItem * >( pItem )->GetValue(); if ( ( eWritingMode != WritingMode_TB_RL ) && ( rSet.GetItemState( EE_PARA_WRITINGDIR, false, &pItem ) == SfxItemState::SET ) ) -- cgit