summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-07 17:16:26 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-08 08:08:35 +0200
commita209172669e7a2de6065486e385e4e3007b74bd2 (patch)
tree4a7e008cf700fb23ecc6e4cd44de1c6a08a9b7e7 /include
parent2675cbf042130f24fe7ea299b85b8f5f4794a667 (diff)
loplugin:constantparam
Change-Id: Ib92aba17c46a4ada75c2a0630f281759d995f32e Reviewed-on: https://gerrit.libreoffice.org/40843 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/editeng/editobj.hxx7
-rw-r--r--include/filter/msfilter/msdffimp.hxx3
-rw-r--r--include/filter/msfilter/svdfppt.hxx3
-rw-r--r--include/sfx2/mailmodelapi.hxx5
-rw-r--r--include/svtools/imapobj.hxx8
-rw-r--r--include/svtools/table/tablerenderer.hxx5
-rw-r--r--include/xmloff/txtparae.hxx1
7 files changed, 10 insertions, 22 deletions
diff --git a/include/editeng/editobj.hxx b/include/editeng/editobj.hxx
index 33a32ec9f222..520cf5b482f8 100644
--- a/include/editeng/editobj.hxx
+++ b/include/editeng/editobj.hxx
@@ -131,12 +131,9 @@ public:
bool operator==( const EditTextObject& rCompare ) const;
- /** Compare possibly ignoring SfxItemPool pointer.
- @param bComparePool
- if <FALSE/> ignore SfxItemPool pointer,
- if <TRUE/> compare also SfxItemPool pointer (identical to operator==())
+ /** Compare, ignoring SfxItemPool pointer.
*/
- bool Equals( const EditTextObject& rCompare, bool bComparePool ) const;
+ bool Equals( const EditTextObject& rCompare ) const;
// #i102062#
bool isWrongListEqual(const EditTextObject& rCompare) const;
diff --git a/include/filter/msfilter/msdffimp.hxx b/include/filter/msfilter/msdffimp.hxx
index 265b2c915dd5..82fb3751a3ed 100644
--- a/include/filter/msfilter/msdffimp.hxx
+++ b/include/filter/msfilter/msdffimp.hxx
@@ -475,8 +475,7 @@ protected:
const Graphic& rGraf,
const tools::Rectangle& rBoundRect,
const tools::Rectangle& rVisArea,
- const int _nCalledByGroup,
- sal_Int64 nAspect ) const;
+ const int _nCalledByGroup ) const;
static css::uno::Reference < css::embed::XEmbeddedObject > CheckForConvertToSOObj(
sal_uInt32 nConvertFlags, SotStorage& rSrcStg,
const css::uno::Reference < css::embed::XStorage >& xDestStg,
diff --git a/include/filter/msfilter/svdfppt.hxx b/include/filter/msfilter/svdfppt.hxx
index 2fc15a4e7b6b..558a0396daa4 100644
--- a/include/filter/msfilter/svdfppt.hxx
+++ b/include/filter/msfilter/svdfppt.hxx
@@ -581,8 +581,7 @@ protected:
const Graphic& rGraf,
const tools::Rectangle& rBoundRect,
const tools::Rectangle& rVisArea,
- const int _nCalledByGroup,
- sal_Int64 nAspect
+ const int _nCalledByGroup
) const override;
SvMemoryStream* ImportExOleObjStg( sal_uInt32 nPersistPtr, sal_uInt32& nOleId ) const;
SdrPage* MakeBlancPage(bool bMaster) const;
diff --git a/include/sfx2/mailmodelapi.hxx b/include/sfx2/mailmodelapi.hxx
index bcf04760dde3..5c16060d7934 100644
--- a/include/sfx2/mailmodelapi.hxx
+++ b/include/sfx2/mailmodelapi.hxx
@@ -78,16 +78,13 @@ public:
/** attaches a document to the current attachment list, can be called more than once.
* at the moment there will be a dialog for export executed for every model which is going to be attached.
*
- * \param sDocumentType
- The doc type to export. PDF will be at the moment only a direct export (no dialog).
* \param xModel
The current model to attach
* \param sAttachmentTitle
The title which will be used as attachment title
* \return @see error code
*/
- SendMailResult AttachDocument( const OUString& sDocumentType,
- const css::uno::Reference< css::uno::XInterface >& xFrameOrModel,
+ SendMailResult AttachDocument( const css::uno::Reference< css::uno::XInterface >& xFrameOrModel,
const OUString& sAttachmentTitle );
SendMailResult SaveAndSend( const css::uno::Reference< css::frame::XFrame >& xFrame,
diff --git a/include/svtools/imapobj.hxx b/include/svtools/imapobj.hxx
index f5d83ccaeb01..9c79dbc0152c 100644
--- a/include/svtools/imapobj.hxx
+++ b/include/svtools/imapobj.hxx
@@ -70,9 +70,9 @@ protected:
// helper methods
static void AppendCERNCoords(OStringBuffer& rBuf, const Point& rPoint100);
- void AppendCERNURL(OStringBuffer& rBuf, const OUString& rBaseURL) const;
+ void AppendCERNURL(OStringBuffer& rBuf) const;
static void AppendNCSACoords(OStringBuffer& rBuf, const Point& rPoint100);
- void AppendNCSAURL(OStringBuffer&rBuf, const OUString& rBaseURL) const;
+ void AppendNCSAURL(OStringBuffer&rBuf) const;
public:
@@ -90,8 +90,8 @@ public:
virtual sal_uInt16 GetType() const = 0;
virtual bool IsHit( const Point& rPoint ) const = 0;
- void Write ( SvStream& rOStm, const OUString& rBaseURL ) const;
- void Read( SvStream& rIStm, const OUString& rBaseURL );
+ void Write ( SvStream& rOStm ) const;
+ void Read( SvStream& rIStm );
const OUString& GetURL() const { return aURL; }
void SetURL( const OUString& rURL ) { aURL = rURL; }
diff --git a/include/svtools/table/tablerenderer.hxx b/include/svtools/table/tablerenderer.hxx
index 9d7ebd95d808..fa75952e94e4 100644
--- a/include/svtools/table/tablerenderer.hxx
+++ b/include/svtools/table/tablerenderer.hxx
@@ -95,9 +95,6 @@ namespace svt { namespace table
@param _bActive
<TRUE/> if and only if the column whose column is to be painted
contains the active cell.
- @param _bSelected
- <TRUE/> if and only if the column whose column is to be painted
- is selected currently.
@param _rDevice
denotes the device to paint onto
@param _rArea
@@ -105,7 +102,7 @@ namespace svt { namespace table
@param _rStyle
the style to be used for drawing
*/
- virtual void PaintColumnHeader( ColPos _nCol, bool _bActive, bool _bSelected,
+ virtual void PaintColumnHeader( ColPos _nCol, bool _bActive,
OutputDevice& _rDevice, const tools::Rectangle& _rArea,
const StyleSettings& _rStyle ) = 0;
diff --git a/include/xmloff/txtparae.hxx b/include/xmloff/txtparae.hxx
index 1c534f82b5cc..c62a25d0b6f3 100644
--- a/include/xmloff/txtparae.hxx
+++ b/include/xmloff/txtparae.hxx
@@ -282,7 +282,6 @@ protected:
bool bProgress,
bool bExportParagraph = true,
const css::uno::Reference< css::beans::XPropertySet > *pRangePropSet = nullptr,
- bool bExportLevels = true,
TextPNS eExtensionNS = TextPNS::ODF);
void exportParagraph(
const css::uno::Reference< css::text::XTextContent > & rTextContent,