diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-08-27 19:05:52 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-08-29 08:13:33 +0200 |
commit | 8029d316d89a6a4ca612e136697532d0accc22fb (patch) | |
tree | 0565440e657273c3dd0e22cf12fa45c08421e4a4 /sdext | |
parent | 0714f2a1e7daa2347a8d23889113676deb801733 (diff) |
Simplify OUStringBuffer to OUString conversion
Change-Id: I9bd7722ebe7e29a1b68037c80e8d1c2c49d7984c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101572
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sdext')
-rw-r--r-- | sdext/source/pdfimport/tree/drawtreevisiting.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sdext/source/pdfimport/tree/drawtreevisiting.cxx b/sdext/source/pdfimport/tree/drawtreevisiting.cxx index 305470101cec..387da6947c68 100644 --- a/sdext/source/pdfimport/tree/drawtreevisiting.cxx +++ b/sdext/source/pdfimport/tree/drawtreevisiting.cxx @@ -102,7 +102,7 @@ void DrawXmlEmitter::visit( TextElement& elem, const std::list< std::unique_ptr< m_rEmitContext.rStyles.getStyleName( elem.StyleId ); } - OUString str(elem.Text.getStr()); + OUString str(elem.Text.toString()); // Check for RTL bool isRTL = false; @@ -676,7 +676,7 @@ void DrawXmlOptimizer::optimizeTextElements(Element& rParent) { TextElement* pNext = dynamic_cast<TextElement*>(next->get()); bool isComplex = false; - OUString str(pCur->Text.getStr()); + OUString str(pCur->Text.toString()); for(int i=0; i< str.getLength(); i++) { sal_Int16 nType = GetBreakIterator()->getScriptType( str, i ); @@ -708,7 +708,7 @@ void DrawXmlOptimizer::optimizeTextElements(Element& rParent) // append text to current element pCur->Text.append( pNext->Text ); - str = pCur->Text.getStr(); + str = pCur->Text.toString(); for(int i=0; i< str.getLength(); i++) { sal_Int16 nType = GetBreakIterator()->getScriptType( str, i ); |