[Libreoffice-commits] .: vcl/aqua

August Sodora augsod at kemper.freedesktop.org
Thu Dec 1 14:45:09 PST 2011


 vcl/aqua/source/gdi/aquaprintaccessoryview.mm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1722c68c81974e509fe11910a5190c01e455d39e
Author: August Sodora <augsod at gmail.com>
Date:   Thu Dec 1 17:44:41 2011 -0500

    Fix build in macosx

diff --git a/vcl/aqua/source/gdi/aquaprintaccessoryview.mm b/vcl/aqua/source/gdi/aquaprintaccessoryview.mm
index 3a7fc59..17ee5a4 100644
--- a/vcl/aqua/source/gdi/aquaprintaccessoryview.mm
+++ b/vcl/aqua/source/gdi/aquaprintaccessoryview.mm
@@ -774,7 +774,7 @@ static void linebreakCell( NSCell* pBtn, const rtl::OUString& i_rText )
         if( nIndex < nLen )
         {
             rtl::OUStringBuffer aBuf( i_rText );
-            aBuf.setCharAt( nIndex, '\n' );
+            aBuf[nIndex] = '\n';
             pText = CreateNSString( aBuf.makeStringAndClear() );
             [pBtn setTitle: pText];
             [pText release];


More information about the Libreoffice-commits mailing list