summaryrefslogtreecommitdiff
path: root/sd
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-17 14:28:31 +0200
commit0618c5b854af8d1cb3dc19f7babbdfb45e8f4504 (patch)
tree564ac7cc4fb74d529f5ed1283ef72e4906d69e52 /sd
parent97a38b1bd337bab301bde20a408a1fc7b7a3cbbf (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
Diffstat (limited to 'sd')
-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; }