summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-15 09:03:30 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-15 09:03:30 +0100
commit5cd41952cdb1c3c14cd48858d382d8bd95f602ff (patch)
tree74feef84c419146b1c916895be81138089355d4d /sdext
parent9d1c14ce4c47030f8315f1f6b04d9314d3f62f48 (diff)
More loplugin:cstylecast: sdext
Change-Id: Ib0b6f3d07c7c596f6eed291587db8bba207c8b7d
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/pdfimport/tree/drawtreevisiting.cxx2
1 files changed, 1 insertions, 1 deletions
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<css::i18n::DirectionProperty>(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 ||