[Libreoffice-commits] core.git: Branch 'libreoffice-4-3' - vcl/source

Caolán McNamara caolanm at redhat.com
Tue May 27 04:39:59 PDT 2014


 vcl/source/gdi/print.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5970bfd278052d59c560c6f8bd33b3f7cf4cae75
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue May 27 12:37:00 2014 +0100

    Resolves: fdo#77206 CRASH printing with all applications on windows
    
    Change-Id: I5d5066413508a115f6b4c63b8b3dd19268f66574
    (cherry picked from commit 3041269ff285685d660a049bfef43f3dab6f8946)

diff --git a/vcl/source/gdi/print.cxx b/vcl/source/gdi/print.cxx
index dcbe378..e6e1e36 100644
--- a/vcl/source/gdi/print.cxx
+++ b/vcl/source/gdi/print.cxx
@@ -648,7 +648,7 @@ bool Printer::AcquireGraphics() const
 
 void Printer::ImplReleaseFonts()
 {
-#ifndef UNX
+#ifdef UNX
     // HACK to fix an urgent P1 printing issue fast
     // WinSalPrinter does not respect GetGraphics/ReleaseGraphics conventions
     // so Printer::mpGraphics often points to a dead WinSalGraphics


More information about the Libreoffice-commits mailing list