From b1b93562c765ea475a650b5c003530b30d271922 Mon Sep 17 00:00:00 2001 From: "mkaply%us.ibm.com" Date: Sat, 3 Nov 2001 06:03:40 +0000 Subject: [PATCH] #103633 r=mkaply, sr=blizzard Don't call BeginDocument twice - causes us to not print on some printers git-svn-id: svn://10.0.0.236/trunk@107229 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/gfx/src/os2/nsDeviceContextOS2.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mozilla/gfx/src/os2/nsDeviceContextOS2.cpp b/mozilla/gfx/src/os2/nsDeviceContextOS2.cpp index e872c715e44..2c7579a7d60 100644 --- a/mozilla/gfx/src/os2/nsDeviceContextOS2.cpp +++ b/mozilla/gfx/src/os2/nsDeviceContextOS2.cpp @@ -173,7 +173,10 @@ nsresult nsDeviceContextOS2::Init( nsNativeDeviceContext aContext, // We need to begin a document now, because the client is entitled at // this point to do stuff like create fonts, which required the PS to // be associated with a DC which has been DEVESC_STARTDOC'd. - BeginDocument(nsnull); + + // Commenting out for now - we'll see what people say about the effects + // This line causes us not to print on Lexmark printers +// BeginDocument(nsnull); #endif return NS_OK;