From fc9e78c78864cbfa67ddea646da4aa4677d99b0c Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 11 May 2015 08:37:50 +0200 Subject: sw,sc,sd,starmath: convert to vcl::RenderContext Change-Id: I5d0a3b8ed1c49ba2806e0fa528d908da45afd58c --- sw/inc/viewsh.hxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sw/inc/viewsh.hxx') diff --git a/sw/inc/viewsh.hxx b/sw/inc/viewsh.hxx index 714e9d2ee8f2..fb1f9c79eec4 100644 --- a/sw/inc/viewsh.hxx +++ b/sw/inc/viewsh.hxx @@ -81,6 +81,7 @@ class SwAccessibleMap; namespace vcl { + typedef OutputDevice RenderContext; class OldStylePrintAdaptor; } @@ -348,9 +349,9 @@ public: // 1. GetRefDev: Either the printer or the virtual device from the doc // 2. GetWin: Available if we not printing // 3. GetOut: Printer, Window or Virtual device - OutputDevice& GetRefDev() const; + vcl::RenderContext& GetRefDev() const; inline vcl::Window* GetWin() const { return mpWin; } - inline OutputDevice* GetOut() const { return mpOut; } + inline vcl::RenderContext* GetOut() const { return mpOut; } void SetWin(vcl::Window* win) { mpWin = win; } static inline bool IsLstEndAction() { return SwViewShell::mbLstAct; } -- cgit v1.2.3