Disambiguation for MSC

Change-Id: I356af9cebf4779bd5bc4721b0e0e20d7ae4e307e
This commit is contained in:
Stephan Bergmann 2013-02-14 17:23:39 +01:00
parent a12286cf81
commit 1976b017c3

View File

@ -120,8 +120,8 @@ void WriterXmlEmitter::fillFrameProps( DrawElement& rElem,
{
if( dynamic_cast<ParagraphElement*>(pAnchor) )
{
rProps[ "text:anchor-type" ] =
rElem.isCharacter ? "character" : "paragraph";
rProps[ "text:anchor-type" ] = rElem.isCharacter
? OUString("character") : OUString("paragraph");
}
else
{