summaryrefslogtreecommitdiffstats
path: root/sw/source/uibase/shells
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-20 15:04:48 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-21 07:20:49 +0100
commit1bbd5a1f907f6ee86f060c3c4bcd0a4ab25e5aa0 (patch)
treeeecc2717964d1b8604898228ca09bb11ac70f4ef /sw/source/uibase/shells
parentTranslate German variable name (diff)
downloadcore-1bbd5a1f907f6ee86f060c3c4bcd0a4ab25e5aa0.tar.gz
core-1bbd5a1f907f6ee86f060c3c4bcd0a4ab25e5aa0.zip
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 'sw/source/uibase/shells')
-rw-r--r--sw/source/uibase/shells/drwtxtex.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/shells/drwtxtex.cxx b/sw/source/uibase/shells/drwtxtex.cxx
index 05cdf39bdc91..09bced48737c 100644
--- a/sw/source/uibase/shells/drwtxtex.cxx
+++ b/sw/source/uibase/shells/drwtxtex.cxx
@@ -804,7 +804,7 @@ ASK_ESCAPE:
else
{
text::WritingMode eMode = (text::WritingMode)
- static_cast<const SvxWritingModeItem&>( aEditAttr.Get( SDRATTR_TEXTDIRECTION ) ).GetValue();
+ aEditAttr.Get( SDRATTR_TEXTDIRECTION ).GetValue();
if( nSlotId == SID_TEXTDIRECTION_LEFT_TO_RIGHT )
{