diff --git a/sdext/source/pdfimport/tree/writertreevisiting.cxx b/sdext/source/pdfimport/tree/writertreevisiting.cxx index 6f7fe57b326b..7eaabe822795 100644 --- a/sdext/source/pdfimport/tree/writertreevisiting.cxx +++ b/sdext/source/pdfimport/tree/writertreevisiting.cxx @@ -120,8 +120,8 @@ void WriterXmlEmitter::fillFrameProps( DrawElement& rElem, { if( dynamic_cast(pAnchor) ) { - rProps[ "text:anchor-type" ] = - rElem.isCharacter ? "character" : "paragraph"; + rProps[ "text:anchor-type" ] = rElem.isCharacter + ? OUString("character") : OUString("paragraph"); } else {