summaryrefslogtreecommitdiff
path: root/sdext/source
diff options
context:
space:
mode:
Diffstat (limited to 'sdext/source')
-rw-r--r--sdext/source/pdfimport/inc/genericelements.hxx4
-rw-r--r--sdext/source/pdfimport/tree/genericelements.cxx4
2 files changed, 3 insertions, 5 deletions
diff --git a/sdext/source/pdfimport/inc/genericelements.hxx b/sdext/source/pdfimport/inc/genericelements.hxx
index 37b448d2b613..6d1459a1f032 100644
--- a/sdext/source/pdfimport/inc/genericelements.hxx
+++ b/sdext/source/pdfimport/inc/genericelements.hxx
@@ -32,8 +32,6 @@
#include <list>
-using namespace com::sun::star;
-
namespace pdfi
{
class XmlEmitter;
@@ -313,7 +311,7 @@ namespace pdfi
{ return std::make_shared<DocumentElement>(); }
};
- bool isComplex(const uno::Reference<i18n::XBreakIterator>& rBreakIterator, TextElement* const pTextElem);
+ bool isComplex(const css::uno::Reference<css::i18n::XBreakIterator>& rBreakIterator, TextElement* const pTextElem);
}
#endif
diff --git a/sdext/source/pdfimport/tree/genericelements.cxx b/sdext/source/pdfimport/tree/genericelements.cxx
index c3c816aecdf2..1d11cd0d914e 100644
--- a/sdext/source/pdfimport/tree/genericelements.cxx
+++ b/sdext/source/pdfimport/tree/genericelements.cxx
@@ -431,12 +431,12 @@ void DocumentElement::visitedBy( ElementTreeVisitor& rV
rVisitor.visit(*this, rParentIt);
}
-bool isComplex(const uno::Reference<i18n::XBreakIterator>& rBreakIterator, TextElement* const pTextElem) {
+bool isComplex(const css::uno::Reference<css::i18n::XBreakIterator>& rBreakIterator, TextElement* const pTextElem) {
OUString str(pTextElem->Text.toString());
for(int i=0; i< str.getLength(); i++)
{
sal_Int16 nType = rBreakIterator->getScriptType(str, i);
- if (nType == i18n::ScriptType::COMPLEX)
+ if (nType == css::i18n::ScriptType::COMPLEX)
{
return true;
}