summaryrefslogtreecommitdiff
path: root/sw/source/ui/uiview/viewmdi.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-12-05 10:09:50 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-12-05 10:50:49 +0100
commitc6abb084ef6b1f86734395058bcafc61458727b4 (patch)
treec1e223bb324653d7885548c2586c0560f19fb930 /sw/source/ui/uiview/viewmdi.cxx
parent69a7a83c454476341a6d35bcaaf85b15a8c2268a (diff)
Partly revert "Appears SwView::SetMoveType no longer really does anything"
This reverts most of commit a50a2111a31e4d9dd5e2659a146e9de8e292de75, where the -Werror,-Wunused-variable for SwView::SetMoveType's aColor (after 3e8fe4d8e19be2ccd8f5bb898530e2f615a90321 "Remove the Navigator buttons below the scrollbar in Writer" had removed its use) had erroneously make me think that SwView::SetMoveType now effectively didn't do anything anymore, failing to note the m_nMoveType = nSet; part that was still relevant. Change-Id: I5e43886806533e80e238fef8d836e09e28209b6d
Diffstat (limited to 'sw/source/ui/uiview/viewmdi.cxx')
-rw-r--r--sw/source/ui/uiview/viewmdi.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sw/source/ui/uiview/viewmdi.cxx b/sw/source/ui/uiview/viewmdi.cxx
index 5934bc391f71..2a73898625a5 100644
--- a/sw/source/ui/uiview/viewmdi.cxx
+++ b/sw/source/ui/uiview/viewmdi.cxx
@@ -560,6 +560,11 @@ sal_uInt16 SwView::GetMoveType()
return m_nMoveType;
}
+void SwView::SetMoveType(sal_uInt16 nSet)
+{
+ m_nMoveType = nSet;
+}
+
void SwView::SetActMark(sal_Int32 nSet)
{
m_nActMark = nSet;