summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-05-15 21:40:13 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-05-17 09:53:38 +0200
commit5ccaa8976fc9bffddacfbe804646f4dce099ddb0 (patch)
tree206ff91eeac2904eb60ca39ef58e3eb3ec177387 /include
parent55961e110f0bf2d571a27e56806dae50fa353233 (diff)
allow overruling treatment as not-Window
Change-Id: I26f987b1c2993f50cb67d89a68daf4ec82641700 Reviewed-on: https://gerrit.libreoffice.org/72383 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/svx/sdrpaintwindow.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/svx/sdrpaintwindow.hxx b/include/svx/sdrpaintwindow.hxx
index dda0185f9e9d..d8ca1db6b735 100644
--- a/include/svx/sdrpaintwindow.hxx
+++ b/include/svx/sdrpaintwindow.hxx
@@ -87,6 +87,8 @@ private:
// #i72889# flag if this is only a temporary target for repaint, default is false
bool mbTemporaryTarget : 1;
+ bool mbOutputToWindow : 1;
+
// helpers
void impCreateOverlayManager();
@@ -112,7 +114,9 @@ public:
bool OutputToPrinter() const { return (OUTDEV_PRINTER == mpOutputDevice->GetOutDevType()); }
// Is OutDev a window?
- bool OutputToWindow() const { return (OUTDEV_WINDOW == mpOutputDevice->GetOutDevType()); }
+ bool OutputToWindow() const { return mbOutputToWindow; }
+
+ void SetOutputToWindow(bool bOutputToWindow) { mbOutputToWindow = bOutputToWindow; }
// Is OutDev a VirtualDevice?
bool OutputIsVirtualDevice() const { return mpOutputDevice->IsVirtual(); }