diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-14 09:34:38 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-14 14:22:24 +0200 |
commit | 6abc4f4d86d093d83d2ce6afb731d934fb2aa2bf (patch) | |
tree | 5fb0abefa913fd4c23f8207c5a954e6de44834dd /include | |
parent | dbab6f1dd31a23cd0256e89f78eb5c647bca38fa (diff) |
drop CTL_STYLE enum
since we only ever use the Rect value
Change-Id: I020f5c126a8703e07cea5739b53e4b9529a1a575
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/dlgctrl.hxx | 5 | ||||
-rw-r--r-- | include/svx/rectenum.hxx | 8 |
2 files changed, 2 insertions, 11 deletions
diff --git a/include/svx/dlgctrl.hxx b/include/svx/dlgctrl.hxx index 33b525029f87..98e7ecac0673 100644 --- a/include/svx/dlgctrl.hxx +++ b/include/svx/dlgctrl.hxx @@ -88,7 +88,6 @@ protected: Point aPtLB, aPtMB, aPtRB; Point aPtNew; RectPoint eRP, eDefRP; - CTL_STYLE eCS; Bitmap* pBitmap; CTL_STATE m_nState; @@ -123,12 +122,12 @@ public: virtual Size GetOptimalSize() const override; void Reset(); - RectPoint GetActualRP() const { return eRP;} + RectPoint GetActualRP() const { return eRP;} void SetActualRP( RectPoint eNewRP ); void SetState( CTL_STATE nState ); - sal_uInt8 GetNumOfChildren() const; // returns number of usable radio buttons + static const sal_uInt8 NO_CHILDREN = 9; // returns number of usable radio buttons Rectangle CalculateFocusRectangle() const; Rectangle CalculateFocusRectangle( RectPoint eRectPoint ) const; diff --git a/include/svx/rectenum.hxx b/include/svx/rectenum.hxx index 10b51b811927..59e9c1475b99 100644 --- a/include/svx/rectenum.hxx +++ b/include/svx/rectenum.hxx @@ -32,14 +32,6 @@ enum class RectPoint RB // bottom right }; -enum class CTL_STYLE -{ - Rect, - Line, - Angle, - Shadow -}; - #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |