summaryrefslogtreecommitdiffstats
path: root/sdext/source/pdfimport/tree/drawtreevisiting.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sdext/source/pdfimport/tree/drawtreevisiting.cxx')
-rw-r--r--sdext/source/pdfimport/tree/drawtreevisiting.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sdext/source/pdfimport/tree/drawtreevisiting.cxx b/sdext/source/pdfimport/tree/drawtreevisiting.cxx
index b2f8b16ea7ef..bae383c2410a 100644
--- a/sdext/source/pdfimport/tree/drawtreevisiting.cxx
+++ b/sdext/source/pdfimport/tree/drawtreevisiting.cxx
@@ -115,10 +115,10 @@ void DrawXmlEmitter::visit( TextElement& elem, const std::list< Element* >::cons
for(int i=1; i< elem.Text.getLength(); i++)
{
sal_Int16 nType = xCC->getCharacterDirection( str, i );
- if ( nType == ::com::sun::star::i18n::DirectionProperty_RIGHT_TO_LEFT ||
- nType == ::com::sun::star::i18n::DirectionProperty_RIGHT_TO_LEFT_ARABIC ||
- nType == ::com::sun::star::i18n::DirectionProperty_RIGHT_TO_LEFT_EMBEDDING ||
- nType == ::com::sun::star::i18n::DirectionProperty_RIGHT_TO_LEFT_OVERRIDE
+ if ( nType == css::i18n::DirectionProperty_RIGHT_TO_LEFT ||
+ nType == css::i18n::DirectionProperty_RIGHT_TO_LEFT_ARABIC ||
+ nType == css::i18n::DirectionProperty_RIGHT_TO_LEFT_EMBEDDING ||
+ nType == css::i18n::DirectionProperty_RIGHT_TO_LEFT_OVERRIDE
)
isRTL = true;
}
@@ -696,7 +696,7 @@ void DrawXmlOptimizer::optimizeTextElements(Element& rParent)
for(int i=0; i< str.getLength(); i++)
{
sal_Int16 nType = GetBreakIterator()->getScriptType( str, i );
- if (nType == ::com::sun::star::i18n::ScriptType::COMPLEX)
+ if (nType == css::i18n::ScriptType::COMPLEX)
isComplex = true;
}
bool bPara = strspn("ParagraphElement", typeid(rParent).name());
@@ -728,7 +728,7 @@ void DrawXmlOptimizer::optimizeTextElements(Element& rParent)
for(int i=0; i< str.getLength(); i++)
{
sal_Int16 nType = GetBreakIterator()->getScriptType( str, i );
- if (nType == ::com::sun::star::i18n::ScriptType::COMPLEX)
+ if (nType == css::i18n::ScriptType::COMPLEX)
isComplex = true;
}
if (bPara && pPara && isComplex)