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

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Mon May 20 11:26:24 UTC 2019


 vcl/inc/quartz/CGHelpers.hxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 0fe998407ffb5d4b0c766d42e8c297456fbda23d
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Mon May 20 11:01:16 2019 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Mon May 20 13:25:30 2019 +0200

    Blind fix for macOS tb49
    
    Change-Id: Ied40189dc17d05c77af7bcf069f8d68a199fc03f
    Reviewed-on: https://gerrit.libreoffice.org/72584
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/vcl/inc/quartz/CGHelpers.hxx b/vcl/inc/quartz/CGHelpers.hxx
index 9ec892175aee..f2d024dc9299 100644
--- a/vcl/inc/quartz/CGHelpers.hxx
+++ b/vcl/inc/quartz/CGHelpers.hxx
@@ -73,13 +73,17 @@ public:
 
     void saveState()
     {
+#if OSL_DEBUG_LEVEL > 0
         SAL_INFO("vcl.cg", "CGContextSaveGState(" << mpContext << ") " << ++mnContextStackDepth);
+#endif
         CGContextSaveGState(mpContext);
     }
 
     void restoreState()
     {
+#if OSL_DEBUG_LEVEL > 0
         SAL_INFO("vcl.cg", "CGContextRestoreGState(" << mpContext << ") " << mnContextStackDepth--);
+#endif
         CGContextRestoreGState(mpContext);
     }
 };


More information about the Libreoffice-commits mailing list