[Libreoffice-commits] core.git: vcl/ios

Tor Lillqvist tml at collabora.com
Mon Apr 7 02:55:26 PDT 2014


 vcl/ios/iosinst.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 5a79f2dcbb7fff9bdc2895b0ac78e2a8ecf511e9
Author: Tor Lillqvist <tml at collabora.com>
Date:   Mon Apr 7 12:38:27 2014 +0300

    For consistency, set the same "GDI" and "Win" flags for iOS as for OS X
    
    No visible effect, though. Which is both good and bad: Good because it
    means that without ill effects a larger degree of idenical code paths
    can be used for both iOS and OS X. Bad because this change didn't help
    in getting rid of the annoying misrenderings on iOS of some Smart Art
    objects.
    
    Change-Id: I9da0f98ca90554dbac963688705b3c7955021741

diff --git a/vcl/ios/iosinst.cxx b/vcl/ios/iosinst.cxx
index 857e076..fca7062 100644
--- a/vcl/ios/iosinst.cxx
+++ b/vcl/ios/iosinst.cxx
@@ -265,6 +265,8 @@ SalInstance *CreateSalInstance()
     IosSalInstance* pInstance = new IosSalInstance( new SalYieldMutex() );
     new IosSalData( pInstance );
     pInstance->AcquireYieldMutex(1);
+    ImplGetSVData()->maGDIData.mbNoXORClipping = true;
+    ImplGetSVData()->maWinData.mbNoSaveBackground = true;
     return pInstance;
 }
 


More information about the Libreoffice-commits mailing list