From 1bbd5a1f907f6ee86f060c3c4bcd0a4ab25e5aa0 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 20 Nov 2017 15:04:48 +0200 Subject: TypedWhichId for SDRATTR* constants (2) Change-Id: I9926d55568f8b5bbc67f448bbf7fb660e74505fd Reviewed-on: https://gerrit.libreoffice.org/44964 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sw/source/uibase/shells/drwtxtex.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw/source/uibase/shells') 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( aEditAttr.Get( SDRATTR_TEXTDIRECTION ) ).GetValue(); + aEditAttr.Get( SDRATTR_TEXTDIRECTION ).GetValue(); if( nSlotId == SID_TEXTDIRECTION_LEFT_TO_RIGHT ) { -- cgit