summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-11-11 10:43:45 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-11-11 10:54:01 +0000
commit44daaebf835bb60fb7e442e928cd30191f15af52 (patch)
treef3d345cf6f5f6414f36a3b50e1ea5159dad7fd3b /include
parenta7816853bad55ada597092c16ba9a0a761e067d0 (diff)
Resolves: tdf#95723 arrange GridControl buttons to be always visible
as long as there's space for them Change-Id: Id96069b5c50483309611381afdf62bb0d30e9c38
Diffstat (limited to 'include')
-rw-r--r--include/svx/gridctrl.hxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/svx/gridctrl.hxx b/include/svx/gridctrl.hxx
index b795a8ed97d8..5046f638e7d8 100644
--- a/include/svx/gridctrl.hxx
+++ b/include/svx/gridctrl.hxx
@@ -161,7 +161,6 @@ public:
VclPtr<ImageButton> m_aNextBtn; // ImageButton for 'go to the next record'
VclPtr<ImageButton> m_aLastBtn; // ImageButton for 'go to the last record'
VclPtr<ImageButton> m_aNewBtn; // ImageButton for 'go to a new record'
- sal_uInt16 m_nDefaultWidth;
sal_Int32 m_nCurrentPos;
bool m_bPositioning; // protect PositionDataSource against recursion
@@ -191,7 +190,7 @@ public:
void InvalidateState(sal_uInt16 nWhich) {SetState(nWhich);}
void SetState(sal_uInt16 nWhich);
bool GetState(sal_uInt16 nWhich) const;
- sal_uInt16 GetDefaultWidth() const {return m_nDefaultWidth;}
+ sal_uInt16 ArrangeControls();
protected:
virtual void Resize() override;
@@ -200,7 +199,6 @@ public:
private:
DECL_LINK_TYPED(OnClick, Button*, void);
- sal_uInt16 ArrangeControls();
void PositionDataSource(sal_Int32 nRecord);
};