[Libreoffice-commits] core.git: sdext/source

Stephan Bergmann sbergman at redhat.com
Thu Feb 14 08:24:54 PST 2013


 sdext/source/pdfimport/tree/writertreevisiting.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 1976b017c3f23a50fc4533c94ae4eb151ee591a1
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Feb 14 17:23:39 2013 +0100

    Disambiguation for MSC
    
    Change-Id: I356af9cebf4779bd5bc4721b0e0e20d7ae4e307e

diff --git a/sdext/source/pdfimport/tree/writertreevisiting.cxx b/sdext/source/pdfimport/tree/writertreevisiting.cxx
index 6f7fe57..7eaabe8 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<ParagraphElement*>(pAnchor) )
         {
-            rProps[ "text:anchor-type" ] =
-                rElem.isCharacter ? "character" : "paragraph";
+            rProps[ "text:anchor-type" ] = rElem.isCharacter
+                ? OUString("character") : OUString("paragraph");
         }
         else
         {


More information about the Libreoffice-commits mailing list