summaryrefslogtreecommitdiff
path: root/include/svx
diff options
context:
space:
mode:
Diffstat (limited to 'include/svx')
-rw-r--r--include/svx/gridctrl.hxx11
1 files changed, 2 insertions, 9 deletions
diff --git a/include/svx/gridctrl.hxx b/include/svx/gridctrl.hxx
index 1fb6c19951b6..d5d15d0054e4 100644
--- a/include/svx/gridctrl.hxx
+++ b/include/svx/gridctrl.hxx
@@ -190,8 +190,8 @@ class NavigationBar final : public InterimItemWindow
std::unique_ptr<weld::Button> m_xLastBtn; // Button for 'go to the last record'
std::unique_ptr<weld::Button> m_xNewBtn; // Button for 'go to a new record'
- AutoTimer m_aNextRepeat;
- AutoTimer m_aPrevRepeat;
+ weld::ButtonPressRepeater m_aPrevRepeater;
+ weld::ButtonPressRepeater m_aNextRepeater;
sal_Int32 m_nCurrentPos;
@@ -213,13 +213,6 @@ private:
DECL_LINK(OnClick, weld::Button&, void);
- DECL_LINK(PrevMousePressHdl, const MouseEvent&, bool);
- DECL_LINK(PrevMouseReleaseHdl, const MouseEvent&, bool);
- DECL_LINK(NextMousePressHdl, const MouseEvent&, bool);
- DECL_LINK(NextMouseReleaseHdl, const MouseEvent&, bool);
- DECL_LINK(PrevRepeatTimerHdl, Timer*, void);
- DECL_LINK(NextRepeatTimerHdl, Timer*, void);
-
void PositionDataSource(sal_Int32 nRecord);
};