[Libreoffice-commits] core.git: Branch 'aoo/trunk' - canvas/source

Herbert Dürr hdu at apache.org
Wed Feb 5 04:08:00 PST 2014


 canvas/source/cairo/cairo_textlayout.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 05e9a04ef0191aeb59e09d2bf8306f88baf399e3
Author: Herbert Dürr <hdu at apache.org>
Date:   Wed Feb 5 07:19:11 2014 +0000

    #i123068# remove implicit conversion from aUTF8String to its char pointer

diff --git a/canvas/source/cairo/cairo_textlayout.cxx b/canvas/source/cairo/cairo_textlayout.cxx
index aaa6973..35f498d 100644
--- a/canvas/source/cairo/cairo_textlayout.cxx
+++ b/canvas/source/cairo/cairo_textlayout.cxx
@@ -333,7 +333,7 @@ namespace cairocanvas
            before we were depending on unmodified current point which I believed was preserved by save/restore */
         cairo_move_to( pCairo, 0, 0 );
         useFont( pCairo );
-        cairo_show_text( pCairo, aUTF8String );
+        cairo_show_text( pCairo, aUTF8String.getStr() );
         cairo_restore( pCairo );
 
         return true;


More information about the Libreoffice-commits mailing list