From 806f7572fd8508445aced505042ced18decb7492 Mon Sep 17 00:00:00 2001 From: "vladimir@pobox.com" Date: Fri, 28 Mar 2008 00:13:37 -0700 Subject: [PATCH] b=425593, print failure with 'some printing functionality not implemented' message (it\'s NS_OK, really!); r=stuart --- gfx/thebes/src/gfxASurface.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gfx/thebes/src/gfxASurface.cpp b/gfx/thebes/src/gfxASurface.cpp index 0719298f461..27a23166f24 100644 --- a/gfx/thebes/src/gfxASurface.cpp +++ b/gfx/thebes/src/gfxASurface.cpp @@ -319,29 +319,29 @@ gfxASurface::CheckSurfaceSize(const gfxIntSize& sz, PRInt32 limit) nsresult gfxASurface::BeginPrinting(const nsAString& aTitle, const nsAString& aPrintToFileName) { - return NS_ERROR_NOT_IMPLEMENTED; + return NS_OK; } nsresult gfxASurface::EndPrinting() { - return NS_ERROR_NOT_IMPLEMENTED; + return NS_OK; } nsresult gfxASurface::AbortPrinting() { - return NS_ERROR_NOT_IMPLEMENTED; + return NS_OK; } nsresult gfxASurface::BeginPage() { - return NS_ERROR_NOT_IMPLEMENTED; + return NS_OK; } nsresult gfxASurface::EndPage() { - return NS_ERROR_NOT_IMPLEMENTED; + return NS_OK; }