summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-11-13 08:40:07 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-11-13 09:02:09 +0100
commit630b5db9a10cd49d24d5e563374bd68f1fe670f5 (patch)
tree711cff6fd0fcf1c2648bcf358e976cba34c2affb /include
parentca0308797df86ebece19260f3ca438a0cb437208 (diff)
loplugin:singlevalfields in svtools
Change-Id: I6bb8a875f18df3cb7054fa65285eb3cafc1648ac Reviewed-on: https://gerrit.libreoffice.org/63316 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/svtools/calendar.hxx8
-rw-r--r--include/svtools/ruler.hxx2
-rw-r--r--include/svtools/scrwin.hxx5
-rw-r--r--include/svtools/valueset.hxx1
4 files changed, 2 insertions, 14 deletions
diff --git a/include/svtools/calendar.hxx b/include/svtools/calendar.hxx
index ea2df0f63be0..a44fe7d2a5d3 100644
--- a/include/svtools/calendar.hxx
+++ b/include/svtools/calendar.hxx
@@ -167,11 +167,8 @@ class SVT_DLLPUBLIC Calendar final : public Control
mbPrevIn:1,
mbNextIn:1,
mbTravelSelect:1,
- mbAllSel:1,
- mbDropPos:1;
+ mbAllSel:1;
Link<Calendar*,void> maSelectHdl;
- Timer maDragScrollTimer;
- sal_uInt16 mnDragScrollHitTest;
using Control::ImplInitSettings;
using Window::ImplInit;
@@ -201,8 +198,6 @@ class SVT_DLLPUBLIC Calendar final : public Control
SVT_DLLPRIVATE void ImplEndTracking( bool bCancel );
SVT_DLLPRIVATE DayOfWeek ImplGetWeekStart() const;
- DECL_LINK( ScrollHdl, Timer *, void );
-
public:
Calendar( vcl::Window* pParent, WinBits nWinStyle );
virtual ~Calendar() override;
@@ -291,7 +286,6 @@ private:
VclPtr<Calendar> mpCalendar;
VclPtr<PushButton> mpTodayBtn;
VclPtr<PushButton> mpNoneBtn;
- Date const maDefaultDate;
bool mbToday;
bool mbNone;
diff --git a/include/svtools/ruler.hxx b/include/svtools/ruler.hxx
index e4baeb882500..5a7c463aa3b5 100644
--- a/include/svtools/ruler.hxx
+++ b/include/svtools/ruler.hxx
@@ -550,7 +550,6 @@ struct RulerTab
struct RulerLine
{
long nPos;
- sal_uInt16 nStyle;
};
@@ -628,7 +627,6 @@ private:
long mnBorderWidth;
long mnStartDragPos;
long mnDragPos;
- ImplSVEvent * mnUpdateEvtId;
std::unique_ptr<ImplRulerData> mpSaveData;
ImplRulerData* mpData;
std::unique_ptr<ImplRulerData> mpDragData;
diff --git a/include/svtools/scrwin.hxx b/include/svtools/scrwin.hxx
index 1f81783a2685..10e547669516 100644
--- a/include/svtools/scrwin.hxx
+++ b/include/svtools/scrwin.hxx
@@ -37,10 +37,7 @@ private:
VclPtr<ScrollBar> aVScroll; // the scrollbars
VclPtr<ScrollBar> aHScroll;
VclPtr<ScrollBarBox> aCornerWin; // window in the bottom right corner
- bool bScrolling:1, // user controlled scrolling
- bHandleDragging:1, // scroll window while dragging
- bHCenter:1,
- bVCenter:1;
+ bool bScrolling:1; // user controlled scrolling
DECL_DLLPRIVATE_LINK( ScrollHdl, ScrollBar *, void );
DECL_DLLPRIVATE_LINK( EndScrollHdl, ScrollBar *, void );
diff --git a/include/svtools/valueset.hxx b/include/svtools/valueset.hxx
index a67518f5c6e0..b085a3e9e314 100644
--- a/include/svtools/valueset.hxx
+++ b/include/svtools/valueset.hxx
@@ -443,7 +443,6 @@ private:
bool mbBlackSel : 1;
bool mbDoubleSel : 1;
bool mbScroll : 1;
- bool mbFullMode : 1;
bool mbEdgeBlending : 1;
bool mbHasVisibleItems : 1;