From 5cd41952cdb1c3c14cd48858d382d8bd95f602ff Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 15 Jan 2018 09:03:30 +0100 Subject: More loplugin:cstylecast: sdext Change-Id: Ib0b6f3d07c7c596f6eed291587db8bba207c8b7d --- sdext/source/pdfimport/tree/drawtreevisiting.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sdext') diff --git a/sdext/source/pdfimport/tree/drawtreevisiting.cxx b/sdext/source/pdfimport/tree/drawtreevisiting.cxx index 43caf18f6447..715d3e6a3000 100644 --- a/sdext/source/pdfimport/tree/drawtreevisiting.cxx +++ b/sdext/source/pdfimport/tree/drawtreevisiting.cxx @@ -114,7 +114,7 @@ void DrawXmlEmitter::visit( TextElement& elem, const std::list< Element* >::cons { for(int i=1; i< elem.Text.getLength(); i++) { - css::i18n::DirectionProperty nType = (css::i18n::DirectionProperty)xCC->getCharacterDirection( str, i ); + css::i18n::DirectionProperty nType = static_cast(xCC->getCharacterDirection( str, i )); if ( nType == css::i18n::DirectionProperty_RIGHT_TO_LEFT || nType == css::i18n::DirectionProperty_RIGHT_TO_LEFT_ARABIC || nType == css::i18n::DirectionProperty_RIGHT_TO_LEFT_EMBEDDING || -- cgit