summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-05-04 16:10:13 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-05 08:50:46 +0200
commitac11e45bad895e9f7de0b38fe22b7f2acf8c8e4b (patch)
treed16f934544638622cc9f511ef64cc2dd2425b600 /include
parentec38966951f28a1e1d4c97f01a550c87f152cbc8 (diff)
loplugin:checkunusedparams in svx(part4)
Change-Id: I032b49f4e1228ef275d7ff8d87ba969dcef687ab Reviewed-on: https://gerrit.libreoffice.org/37248 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/svx/SpellDialogChildWindow.hxx3
-rw-r--r--include/svx/fmgridcl.hxx8
-rw-r--r--include/svx/fontworkgallery.hxx2
-rw-r--r--include/svx/gridctrl.hxx6
-rw-r--r--include/svx/sdr/table/tablecontroller.hxx2
-rw-r--r--include/svx/svddrgv.hxx4
-rw-r--r--include/svx/svdotable.hxx2
-rw-r--r--include/svx/svdotext.hxx2
-rw-r--r--include/svx/svdpntv.hxx6
-rw-r--r--include/svx/xbtmpit.hxx2
-rw-r--r--include/svx/xflftrit.hxx2
-rw-r--r--include/svx/xflhtit.hxx2
-rw-r--r--include/svx/xlndsit.hxx2
-rw-r--r--include/svx/xlnedit.hxx2
-rw-r--r--include/svx/xlnstit.hxx2
15 files changed, 22 insertions, 25 deletions
diff --git a/include/svx/SpellDialogChildWindow.hxx b/include/svx/SpellDialogChildWindow.hxx
index b3d938c15b07..15c0f6868891 100644
--- a/include/svx/SpellDialogChildWindow.hxx
+++ b/include/svx/SpellDialogChildWindow.hxx
@@ -51,8 +51,7 @@ public:
SpellDialogChildWindow (
vcl::Window*pParent,
sal_uInt16 nId,
- SfxBindings* pBindings,
- SfxChildWinInfo* pInfo);
+ SfxBindings* pBindings);
virtual ~SpellDialogChildWindow () override;
protected:
diff --git a/include/svx/fmgridcl.hxx b/include/svx/fmgridcl.hxx
index 78ad042e4571..a47ef033d7a9 100644
--- a/include/svx/fmgridcl.hxx
+++ b/include/svx/fmgridcl.hxx
@@ -112,13 +112,13 @@ public:
void SAL_CALL propertyChange(const css::beans::PropertyChangeEvent& evt);
// css::form::XPositioningListener
- void positioned(const css::lang::EventObject& rEvent);
+ void positioned();
// XBound
bool commit();
// css::form::XInsertListener
- void inserted(const css::lang::EventObject& rEvent);
+ void inserted();
void markColumn(sal_uInt16 nId);
bool isColumnMarked(sal_uInt16 nId) const;
@@ -186,14 +186,12 @@ protected:
bool selectBookmarks(const css::uno::Sequence< css::uno::Any>& _rBookmarks);
/** returns if a column is selected
- @param nColumnId
- The column id.
@param _pColumn
The column to compare with.
@return
<TRUE/> if the column is selected, otherwise <FALSE/>
*/
- bool isColumnSelected(sal_uInt16 nColumnId,DbGridColumn* _pColumn);
+ bool isColumnSelected(DbGridColumn* _pColumn);
};
#endif // INCLUDED_SVX_FMGRIDCL_HXX
diff --git a/include/svx/fontworkgallery.hxx b/include/svx/fontworkgallery.hxx
index 3c2368cdb9c2..5699f1791cfc 100644
--- a/include/svx/fontworkgallery.hxx
+++ b/include/svx/fontworkgallery.hxx
@@ -81,7 +81,7 @@ class SAL_WARN_UNUSED SVX_DLLPUBLIC FontWorkGalleryDialog : public ModalDialog
std::vector< BitmapEx> maFavoritesHorizontal;
public:
- FontWorkGalleryDialog( SdrView* pView, vcl::Window* pParent, sal_uInt16 nSID );
+ FontWorkGalleryDialog( SdrView* pView, vcl::Window* pParent );
virtual ~FontWorkGalleryDialog() override;
virtual void dispose() override;
diff --git a/include/svx/gridctrl.hxx b/include/svx/gridctrl.hxx
index 43a6a12ee059..5a49a5835255 100644
--- a/include/svx/gridctrl.hxx
+++ b/include/svx/gridctrl.hxx
@@ -353,10 +353,10 @@ protected:
/// @throws css::uno::RuntimeException
void DataSourcePropertyChanged(const css::beans::PropertyChangeEvent& evt);
- void FieldValueChanged(sal_uInt16 _nId, const css::beans::PropertyChangeEvent& _evt);
+ void FieldValueChanged(sal_uInt16 _nId);
void FieldListenerDisposing(sal_uInt16 _nId);
- void disposing(sal_uInt16 _nId, const css::lang::EventObject& _rEvt);
+ void disposing(sal_uInt16 _nId);
// own overridables
/// called when the current row changed
@@ -467,7 +467,7 @@ public:
void RowRemoved( long nRow, long nNumRows = 1, bool bDoPaint = true );
void RowInserted( long nRow, long nNumRows = 1, bool bDoPaint = true );
- void RowModified( long nRow, sal_uInt16 nColId = USHRT_MAX );
+ void RowModified( long nRow );
void resetCurrentRow();
diff --git a/include/svx/sdr/table/tablecontroller.hxx b/include/svx/sdr/table/tablecontroller.hxx
index 40011b10f1e9..d08f5abc0ceb 100644
--- a/include/svx/sdr/table/tablecontroller.hxx
+++ b/include/svx/sdr/table/tablecontroller.hxx
@@ -148,7 +148,7 @@ private:
SVX_DLLPRIVATE void EditCell(const CellPos& rPos, vcl::Window* pWindow, TblAction nAction);
SVX_DLLPRIVATE void StopTextEdit();
- SVX_DLLPRIVATE TblAction getKeyboardAction(const KeyEvent& rKEvt, vcl::Window* pWindow);
+ SVX_DLLPRIVATE TblAction getKeyboardAction(const KeyEvent& rKEvt);
SVX_DLLPRIVATE bool executeAction(TblAction nAction, bool bSelect, vcl::Window* pWindow);
SVX_DLLPRIVATE void gotoCell(const CellPos& rCell, bool bSelect, vcl::Window* pWindow, TblAction nAction = TblAction::NONE);
diff --git a/include/svx/svddrgv.hxx b/include/svx/svddrgv.hxx
index 5da66b5eaa90..76228abf3c16 100644
--- a/include/svx/svddrgv.hxx
+++ b/include/svx/svddrgv.hxx
@@ -64,7 +64,7 @@ protected:
virtual void SetMarkHandles(SfxViewShell* pOtherShell) override;
void ShowDragObj();
void HideDragObj();
- bool ImpBegInsObjPoint(bool bIdxZwang, sal_uInt32 nIdx, const Point& rPnt, bool bNewObj, OutputDevice* pOut);
+ bool ImpBegInsObjPoint(bool bIdxZwang, const Point& rPnt, bool bNewObj, OutputDevice* pOut);
protected:
// #i71538# make constructors of SdrView sub-components protected to avoid incomplete incarnations which may get casted to SdrView
@@ -115,7 +115,7 @@ public:
// Interactive insertion of a new point. nIdx=0 => in front of the first point
bool IsInsObjPointPossible() const;
- bool BegInsObjPoint(const Point& rPnt, bool bNewObj) { return ImpBegInsObjPoint(false, 0L, rPnt, bNewObj, nullptr); }
+ bool BegInsObjPoint(const Point& rPnt, bool bNewObj) { return ImpBegInsObjPoint(false, rPnt, bNewObj, nullptr); }
void MovInsObjPoint(const Point& rPnt) { MovDragObj(rPnt); }
bool EndInsObjPoint(SdrCreateCmd eCmd);
bool IsInsObjPoint() const { return mpCurrentSdrDragMethod && mbInsPolyPoint; }
diff --git a/include/svx/svdotable.hxx b/include/svx/svdotable.hxx
index 905b4aa2ea98..29495ab5524b 100644
--- a/include/svx/svdotable.hxx
+++ b/include/svx/svdotable.hxx
@@ -175,7 +175,7 @@ public:
/** At the same time, we set the text in the outliner (if applicable the EditOutliners')
* as well as the PaperSize
*/
- void TakeTextRect( const sdr::table::CellPos& rPos, SdrOutliner& rOutliner, ::tools::Rectangle& rTextRect, bool bNoEditText, ::tools::Rectangle* pAnchorRect=nullptr, bool bLineWidth = true ) const;
+ void TakeTextRect( const sdr::table::CellPos& rPos, SdrOutliner& rOutliner, ::tools::Rectangle& rTextRect, bool bNoEditText, ::tools::Rectangle* pAnchorRect=nullptr ) const;
virtual void TakeTextRect( SdrOutliner& rOutliner, tools::Rectangle& rTextRect, bool bNoEditText, tools::Rectangle* pAnchorRect, bool bLineWidth = true ) const override;
void TakeTextAnchorRect(const sdr::table::CellPos& rPos, ::tools::Rectangle& rAnchorRect ) const;
virtual void TakeTextAnchorRect(::tools::Rectangle& rAnchorRect) const override;
diff --git a/include/svx/svdotext.hxx b/include/svx/svdotext.hxx
index 9f6f383b5344..5b23e70fe25f 100644
--- a/include/svx/svdotext.hxx
+++ b/include/svx/svdotext.hxx
@@ -338,7 +338,7 @@ public:
void ReleaseTextLink();
bool IsLinkedText() const { return pPlusData!=nullptr && GetLinkUserData()!=nullptr; }
bool ReloadLinkedText(bool bForceLoad);
- bool LoadText(const OUString& rFileName, const OUString& rFilterName, rtl_TextEncoding eCharSet);
+ bool LoadText(const OUString& rFileName, rtl_TextEncoding eCharSet);
virtual bool AdjustTextFrameWidthAndHeight(tools::Rectangle& rR, bool bHgt = true, bool bWdt = true) const;
virtual bool NbcAdjustTextFrameWidthAndHeight(bool bHgt = true, bool bWdt = true);
diff --git a/include/svx/svdpntv.hxx b/include/svx/svdpntv.hxx
index 62cf75f7918f..5b58bd4be6e8 100644
--- a/include/svx/svdpntv.hxx
+++ b/include/svx/svdpntv.hxx
@@ -432,8 +432,8 @@ public:
const SfxItemSet& GetDefaultAttr() const { return maDefaultAttr; }
void SetDefaultStyleSheet(SfxStyleSheet* pStyleSheet, bool bDontRemoveHardAttr);
- void SetNotPersistDefaultAttr(const SfxItemSet& rAttr, bool bReplaceAll);
- void MergeNotPersistDefaultAttr(SfxItemSet& rAttr, bool bOnlyHardAttr) const;
+ void SetNotPersistDefaultAttr(const SfxItemSet& rAttr);
+ void MergeNotPersistDefaultAttr(SfxItemSet& rAttr) const;
/// Execute a swap-in of e.g. graphics asynchronously.
/// This does not reload all graphics like Paint does, but kicks off
@@ -486,7 +486,7 @@ public:
/// Must be called by the App when scrolling etc. in order for
/// an active FormularControl to be moved too
void VisAreaChanged(const OutputDevice* pOut);
- void VisAreaChanged(const SdrPageWindow& rWindow);
+ void VisAreaChanged();
bool IsPrintPreview() const { return mbPrintPreview; }
void SetPrintPreview(bool bOn = true) { mbPrintPreview=bOn; }
diff --git a/include/svx/xbtmpit.hxx b/include/svx/xbtmpit.hxx
index c86afdd28ba4..fb9cebdd01b3 100644
--- a/include/svx/xbtmpit.hxx
+++ b/include/svx/xbtmpit.hxx
@@ -45,7 +45,7 @@ public:
static SfxPoolItem* CreateDefault();
XFillBitmapItem() : NameOrIndex(XATTR_FILLBITMAP, -1 ) {}
XFillBitmapItem(const OUString& rName, const GraphicObject& rGraphicObject);
- XFillBitmapItem(SfxItemPool* pPool, const GraphicObject& rGraphicObject);
+ XFillBitmapItem( const GraphicObject& rGraphicObject );
XFillBitmapItem( const XFillBitmapItem& rItem );
XFillBitmapItem( SvStream& rIn, sal_uInt16 nVer );
diff --git a/include/svx/xflftrit.hxx b/include/svx/xflftrit.hxx
index a5b819251d3b..4d3154fa99ab 100644
--- a/include/svx/xflftrit.hxx
+++ b/include/svx/xflftrit.hxx
@@ -38,7 +38,7 @@ public:
static SfxPoolItem* CreateDefault();
XFillFloatTransparenceItem();
XFillFloatTransparenceItem(const OUString& rName, const XGradient& rGradient, bool bEnable = true );
- XFillFloatTransparenceItem(SfxItemPool* pPool, const XGradient& rTheGradient, bool bEnable = true );
+ XFillFloatTransparenceItem( const XGradient& rTheGradient, bool bEnable = true );
XFillFloatTransparenceItem( const XFillFloatTransparenceItem& rItem );
virtual bool operator==( const SfxPoolItem& rItem ) const override;
diff --git a/include/svx/xflhtit.hxx b/include/svx/xflhtit.hxx
index 0d8ce071c852..973de794b24d 100644
--- a/include/svx/xflhtit.hxx
+++ b/include/svx/xflhtit.hxx
@@ -37,7 +37,7 @@ public:
static SfxPoolItem* CreateDefault();
XFillHatchItem() : NameOrIndex(XATTR_FILLHATCH, -1) {}
XFillHatchItem(const OUString& rName, const XHatch& rTheHatch);
- XFillHatchItem(SfxItemPool* pPool, const XHatch& rTheHatch);
+ XFillHatchItem(const XHatch& rTheHatch);
XFillHatchItem(const XFillHatchItem& rItem);
XFillHatchItem(SvStream& rIn);
diff --git a/include/svx/xlndsit.hxx b/include/svx/xlndsit.hxx
index 6d47aa257372..8f783e4cf327 100644
--- a/include/svx/xlndsit.hxx
+++ b/include/svx/xlndsit.hxx
@@ -38,7 +38,7 @@ public:
static SfxPoolItem* CreateDefault();
XLineDashItem() : NameOrIndex(XATTR_LINEDASH, -1) {}
XLineDashItem(const OUString& rName, const XDash& rTheDash);
- XLineDashItem(SfxItemPool* pPool, const XDash& rTheDash);
+ XLineDashItem(const XDash& rTheDash);
XLineDashItem(const XLineDashItem& rItem);
XLineDashItem(SvStream& rIn);
diff --git a/include/svx/xlnedit.hxx b/include/svx/xlnedit.hxx
index 240065f6efdf..1d6449bdd6cb 100644
--- a/include/svx/xlnedit.hxx
+++ b/include/svx/xlnedit.hxx
@@ -37,7 +37,7 @@ public:
static SfxPoolItem* CreateDefault();
XLineEndItem(sal_Int32 nIndex = -1);
XLineEndItem(const OUString& rName, const basegfx::B2DPolyPolygon& rPolyPolygon);
- XLineEndItem(SfxItemPool* pPool, const basegfx::B2DPolyPolygon& rPolyPolygon);
+ XLineEndItem(const basegfx::B2DPolyPolygon& rPolyPolygon);
XLineEndItem(const XLineEndItem& rItem);
XLineEndItem(SvStream& rIn);
diff --git a/include/svx/xlnstit.hxx b/include/svx/xlnstit.hxx
index 4d67374bfceb..a47d2ec5114f 100644
--- a/include/svx/xlnstit.hxx
+++ b/include/svx/xlnstit.hxx
@@ -37,7 +37,7 @@ public:
static SfxPoolItem* CreateDefault();
XLineStartItem(sal_Int32 nIndex = -1);
XLineStartItem(const OUString& rName, const basegfx::B2DPolyPolygon& rPolyPolygon);
- XLineStartItem(SfxItemPool* pPool, const basegfx::B2DPolyPolygon& rPolyPolygon);
+ XLineStartItem(const basegfx::B2DPolyPolygon& rPolyPolygon);
XLineStartItem(const XLineStartItem& rItem);
XLineStartItem(SvStream& rIn);