diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-20 15:04:48 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-21 07:20:49 +0100 |
commit | 1bbd5a1f907f6ee86f060c3c4bcd0a4ab25e5aa0 (patch) | |
tree | eecc2717964d1b8604898228ca09bb11ac70f4ef /cui/source/tabpages/textattr.cxx | |
parent | 0220520609b7e67fdbe22e641d9dd5c027ee3d75 (diff) |
TypedWhichId for SDRATTR* constants (2)
Change-Id: I9926d55568f8b5bbc67f448bbf7fb660e74505fd
Reviewed-on: https://gerrit.libreoffice.org/44964
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui/source/tabpages/textattr.cxx')
-rw-r--r-- | cui/source/tabpages/textattr.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cui/source/tabpages/textattr.cxx b/cui/source/tabpages/textattr.cxx index 36063403c765..4605193dbeef 100644 --- a/cui/source/tabpages/textattr.cxx +++ b/cui/source/tabpages/textattr.cxx @@ -703,8 +703,7 @@ bool SvxTextAttrPage::IsTextDirectionLeftToRight() const if(SfxItemState::DONTCARE != eState) { - const SvxWritingModeItem& rItem = static_cast<const SvxWritingModeItem&> ( - rOutAttrs.Get (SDRATTR_TEXTDIRECTION)); + const SvxWritingModeItem& rItem = rOutAttrs.Get(SDRATTR_TEXTDIRECTION); if (rItem.GetValue() == css::text::WritingMode_TB_RL) bLeftToRightDirection = false; } |