diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-11 08:37:50 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-05-11 09:17:41 +0200 |
commit | fc9e78c78864cbfa67ddea646da4aa4677d99b0c (patch) | |
tree | b04d03aa08ef442f456202d31ff9d9b13e8a1f0a /sw/inc | |
parent | 80244bff5f1fb5cad4638ed0b661f0c0f7776b07 (diff) |
sw,sc,sd,starmath: convert to vcl::RenderContext
Change-Id: I5d0a3b8ed1c49ba2806e0fa528d908da45afd58c
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/viewsh.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
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; } |