diff options
author | Kevin Suo <suokunlong@126.com> | 2022-12-05 17:37:39 +0800 |
---|---|---|
committer | Kevin Suo <suokunlong@126.com> | 2022-12-06 03:42:27 +0000 |
commit | c9e961e6803a70587bd4686d05abdd4ac11de434 (patch) | |
tree | 1d348fb9b3c719462bfa6bb262ad260eac5e4c9f /sdext | |
parent | c08e5db055c9d34d3f0b0b9d2a192d7ebdcd9576 (diff) |
"using namespace com::sun::star" -> css in header file
See Stephan Bergmann's comment the following change (thanks!):
https://gerrit.libreoffice.org/c/core/+/143598
Change-Id: I409b823439979c64cadcb582d8fb4dec4ff412b9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143664
Tested-by: Jenkins
Reviewed-by: Kevin Suo <suokunlong@126.com>
Diffstat (limited to 'sdext')
-rw-r--r-- | sdext/source/pdfimport/inc/genericelements.hxx | 4 | ||||
-rw-r--r-- | sdext/source/pdfimport/tree/genericelements.cxx | 4 |
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; } |