summaryrefslogtreecommitdiff
path: root/sw/inc/viewsh.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-07-28 09:57:31 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-07-28 10:14:33 +0200
commit46e7991be05a39a24e0a559db6ff1aea0ebc14e5 (patch)
tree8f8c0adade71df8d0183569c4fb1aee1c30dc650 /sw/inc/viewsh.hxx
parent7e495e2b9e7b52ed169c936b63d960958db310cd (diff)
tdf#92914 SwPagePreviewLayout::Paint: handle rendercontext
With this, the print preview window no longer performs direct paint. Change-Id: I53f05d8a3b723bc131f21a485e0ffec71484670a
Diffstat (limited to 'sw/inc/viewsh.hxx')
-rw-r--r--sw/inc/viewsh.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/inc/viewsh.hxx b/sw/inc/viewsh.hxx
index 6695b121e5a6..6e99bc160429 100644
--- a/sw/inc/viewsh.hxx
+++ b/sw/inc/viewsh.hxx
@@ -350,6 +350,7 @@ public:
inline vcl::RenderContext* GetOut() const { return mpOut; }
void SetWin(vcl::Window* win) { mpWin = win; }
+ void SetOut(vcl::RenderContext* pOut) { mpOut = pOut; }
static inline bool IsLstEndAction() { return SwViewShell::mbLstAct; }
// Change of all page descriptors.