summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-04 10:45:52 +0200
committerNoel Grandin <noel@peralex.com>2016-03-04 11:48:04 +0200
commitfb6c99f21e03afb85d00459ca1e1abb07e71d126 (patch)
tree30292c26db1083e5c9bb663b8f75fd9bbdfe6e1d /include
parent1fbc20dad2520862f8142f1cabae169bf1450b87 (diff)
loplugin:unuseddefaultparam in svtools
Change-Id: I3ef15fa33791bc5e59c36c1e80f669c7e1e7044b
Diffstat (limited to 'include')
-rw-r--r--include/svtools/calendar.hxx4
-rw-r--r--include/svtools/ivctrl.hxx4
-rw-r--r--include/svtools/transfer.hxx3
-rw-r--r--include/svtools/treelist.hxx6
4 files changed, 7 insertions, 10 deletions
diff --git a/include/svtools/calendar.hxx b/include/svtools/calendar.hxx
index bb51ec75399b..8a11638676e1 100644
--- a/include/svtools/calendar.hxx
+++ b/include/svtools/calendar.hxx
@@ -224,7 +224,7 @@ private:
SVT_DLLPRIVATE void ImplFormat();
using Window::ImplHitTest;
SVT_DLLPRIVATE sal_uInt16 ImplHitTest( const Point& rPos, Date& rDate ) const;
- SVT_DLLPRIVATE void ImplDrawSpin(vcl::RenderContext& rRenderContext, bool bDrawPrev = true);
+ SVT_DLLPRIVATE void ImplDrawSpin(vcl::RenderContext& rRenderContext);
SVT_DLLPRIVATE void ImplDrawDate(vcl::RenderContext& rRenderContext, long nX, long nY,
sal_uInt16 nDay, sal_uInt16 nMonth, sal_uInt16 nYear,
DayOfWeek eDayOfWeek, bool bBack = true,
@@ -289,7 +289,7 @@ public:
bool IsTravelSelect() const { return mbTravelSelect; }
- Size CalcWindowSizePixel( long nCalcMonthPerLine = 1 ) const;
+ Size CalcWindowSizePixel() const;
void SetSelectHdl( const Link<Calendar*,void>& rLink ) { maSelectHdl = rLink; }
};
diff --git a/include/svtools/ivctrl.hxx b/include/svtools/ivctrl.hxx
index b1130e562da7..eb803f8e2d07 100644
--- a/include/svtools/ivctrl.hxx
+++ b/include/svtools/ivctrl.hxx
@@ -264,9 +264,7 @@ public:
SvxIconChoiceCtrlEntry* InsertEntry( const OUString& rText,
const Image& rImage,
- sal_uLong nPos = CONTAINER_APPEND,
- const Point* pPos = nullptr
- );
+ sal_uLong nPos = CONTAINER_APPEND );
/** creates automatic mnemonics for all icon texts in the control
diff --git a/include/svtools/transfer.hxx b/include/svtools/transfer.hxx
index 333fa87d986f..61d8cd12e75c 100644
--- a/include/svtools/transfer.hxx
+++ b/include/svtools/transfer.hxx
@@ -515,8 +515,7 @@ public:
using TransferableHelper::StartDrag;
void StartDrag( vcl::Window* pWindow, sal_Int8 nDragSourceActions,
- const Link<sal_Int8,void>& rCallbck,
- sal_Int32 nDragPointer = DND_POINTER_NONE );
+ const Link<sal_Int8,void>& rCallbck );
};
#endif
diff --git a/include/svtools/treelist.hxx b/include/svtools/treelist.hxx
index fb21e9b209ba..053bb7fac385 100644
--- a/include/svtools/treelist.hxx
+++ b/include/svtools/treelist.hxx
@@ -83,8 +83,8 @@ class SVT_DLLPUBLIC SvTreeList
SvTreeListEntry* FirstVisible() const { return First(); }
SvTreeListEntry* NextVisible( const SvListView*,SvTreeListEntry* pEntry, sal_uInt16* pDepth=nullptr ) const;
- SvTreeListEntry* PrevVisible( const SvListView*,SvTreeListEntry* pEntry, sal_uInt16* pDepth=nullptr ) const;
- SvTreeListEntry* LastVisible( const SvListView*,sal_uInt16* pDepth=nullptr ) const;
+ SvTreeListEntry* PrevVisible( const SvListView*,SvTreeListEntry* pEntry ) const;
+ SvTreeListEntry* LastVisible( const SvListView* ) const;
SvTreeListEntry* NextVisible( const SvListView*,SvTreeListEntry* pEntry, sal_uInt16& rDelta ) const;
SvTreeListEntry* PrevVisible( const SvListView*,SvTreeListEntry* pEntry, sal_uInt16& rDelta ) const;
@@ -159,7 +159,7 @@ public:
sal_uLong GetEntryCount() const { return nEntryCount; }
SvTreeListEntry* First() const;
SvTreeListEntry* Next( SvTreeListEntry* pEntry, sal_uInt16* pDepth=nullptr ) const;
- SvTreeListEntry* Prev( SvTreeListEntry* pEntry, sal_uInt16* pDepth=nullptr ) const;
+ SvTreeListEntry* Prev( SvTreeListEntry* pEntry ) const;
SvTreeListEntry* Last() const;
SvTreeListEntry* FirstChild( SvTreeListEntry* pParent ) const;