summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrzej Hunt <andrzej.hunt@collabora.com>2014-07-15 09:49:24 +0200
committerAndrzej Hunt <andrzej.hunt@collabora.com>2014-07-15 09:49:24 +0200
commit0eda1db5b5b2e64614b687e46f9d2bf96e19f348 (patch)
treec6946504e08a1149a7b8c293e7e76b6f0a575099
parent7f90415c4ad2fe099b71ebeb3ddd9f712434c49a (diff)
Allow setting DrawViewShell PageKind directly.
Currently the only way to change the PageKind is via the UI controls (i.e. via ExecCtrl) -- however for tiled rendering we want to select the PageKind directly. Change-Id: I3a3fa8f8cefaa0e0212832aef4026433fc596263
-rw-r--r--sd/source/ui/inc/DrawViewShell.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/inc/DrawViewShell.hxx b/sd/source/ui/inc/DrawViewShell.hxx
index 125d007c6e78..37c2ec342ac9 100644
--- a/sd/source/ui/inc/DrawViewShell.hxx
+++ b/sd/source/ui/inc/DrawViewShell.hxx
@@ -240,7 +240,7 @@ public:
virtual bool PrepareClose( bool bUI = true ) SAL_OVERRIDE;
PageKind GetPageKind() { return mePageKind; }
-
+ void SetPageKind( PageKind ePageKind ) { mePageKind = ePageKind; }
Point GetMousePos() { return maMousePos; }
bool IsMousePosFreezed() { return mbMousePosFreezed; }
void SetMousePosFreezed( bool bIn ) { mbMousePosFreezed = bIn; }