diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-05-25 16:48:38 +0900 |
---|---|---|
committer | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-05-25 16:48:38 +0900 |
commit | acf5049188e1be0ededc70f9bbedaa0032610680 (patch) | |
tree | 83818e98c8342b51879937e58bfc11f936f276d2 /include | |
parent | 0359a59b6dec4a3c1e8fdc6e51d179fd6db4aad7 (diff) |
use VclPtr for linked numeric field in slider
Change-Id: If46d0409e9aceed9c35cea818271699abdf407e1
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/slider.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/slider.hxx b/include/vcl/slider.hxx index 9a96f3a4462e..203554f6341c 100644 --- a/include/vcl/slider.hxx +++ b/include/vcl/slider.hxx @@ -53,7 +53,7 @@ private: bool mbCalcSize; bool mbFullDrag; - NumericField* mpLinkedField; + VclPtr<NumericField> mpLinkedField; Link<> maSlideHdl; Link<> maEndSlideHdl; @@ -116,7 +116,7 @@ public: Size CalcWindowSizePixel(); - void SetLinkedField(NumericField* pField); + void SetLinkedField(VclPtr<NumericField> pField); void SetSlideHdl( const Link<>& rLink ) { maSlideHdl = rLink; } const Link<>& GetSlideHdl() const { return maSlideHdl; } |