This commit is contained in:
Markus Mohrhard
2011-12-01 12:29:10 +01:00
parent eec4e1202d
commit cf58b6f81d

View File

@@ -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(' ')