From cf58b6f81d042783fd9bf79d66deaf974565ea45 Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Thu, 1 Dec 2011 12:29:10 +0100 Subject: [PATCH] fix typo --- sdext/source/pdfimport/tree/writertreevisiting.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdext/source/pdfimport/tree/writertreevisiting.cxx b/sdext/source/pdfimport/tree/writertreevisiting.cxx index 310c13327ad7..c8101f9a23bf 100644 --- a/sdext/source/pdfimport/tree/writertreevisiting.cxx +++ b/sdext/source/pdfimport/tree/writertreevisiting.cxx @@ -759,7 +759,7 @@ void WriterXmlOptimizer::optimizeTextElements(Element& rParent) if( !bRotatedFrame && ! rCurGC.isRotatedOrSkewed() && ! rNextGC.isRotatedOrSkewed() - && pNext->Text.gerLength() > 0 + && pNext->Text.getLength() > 0 && pNext->Text[0] != sal_Unicode(' ') && pCur->Text.getLength() > 0 && pCur->Text[pCur->Text.getLength() - 1] != sal_Unicode(' ')