summaryrefslogtreecommitdiff
path: root/svx/source/table
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-03-30 15:47:26 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-03-31 06:59:31 +0000
commitdcffc21805828ddff7de1282f3d40ffdf3fac38d (patch)
tree1b4e81850b3fcd42cee470a18413745732c36c4a /svx/source/table
parent7fca8e61ce992e9dc6f900b77142a123c0c10b6d (diff)
use actual UNO enums in svx
Change-Id: I00f53260667861ca2595892b5605479da3401adb Reviewed-on: https://gerrit.libreoffice.org/35913 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/table')
-rw-r--r--svx/source/table/svdotable.cxx2
1 files changed, 1 insertions, 1 deletions
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 ) )