diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-26 16:07:46 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-28 08:08:52 +0200 |
commit | edd0d35590fc368c6c06a9bb5c108aacbc742371 (patch) | |
tree | 467434c8c07ae5291b3347fe326cad12cc08f1ba /sc | |
parent | a3783c0af4bd21eb9c001aadc60c660c06a47779 (diff) |
loplugin:countusersofdefaultparams
Change-Id: I84868b3115c534a8240394283cc3beedf8cb3a80
Reviewed-on: https://gerrit.libreoffice.org/53543
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/filter.hxx | 2 | ||||
-rw-r--r-- | sc/inc/rangeutl.hxx | 2 | ||||
-rw-r--r-- | sc/inc/scabstdlg.hxx | 2 | ||||
-rw-r--r-- | sc/source/core/data/table3.cxx | 4 | ||||
-rw-r--r-- | sc/source/filter/inc/ftools.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/attrdlg/scdlgfact.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/inc/csvtablebox.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/inc/docsh.hxx | 3 | ||||
-rw-r--r-- | sc/source/ui/inc/impex.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/inc/tabvwsh.hxx | 4 |
10 files changed, 12 insertions, 13 deletions
diff --git a/sc/inc/filter.hxx b/sc/inc/filter.hxx index 0af471c6440d..11ef4398a701 100644 --- a/sc/inc/filter.hxx +++ b/sc/inc/filter.hxx @@ -69,7 +69,7 @@ class SAL_DLLPUBLIC_RTTI ScFormatFilterPlugin { const rtl_TextEncoding eSrc ) = 0; virtual ErrCode ScImportRTF( SvStream&, const OUString& rBaseURL, ScDocument*, ScRange& rRange ) = 0; virtual ErrCode ScImportHTML( SvStream&, const OUString& rBaseURL, ScDocument*, ScRange& rRange, double nOutputFactor, - bool bCalcWidthHeight, SvNumberFormatter* pFormatter, bool bConvertDate = true ) = 0; + bool bCalcWidthHeight, SvNumberFormatter* pFormatter, bool bConvertDate ) = 0; // various import helpers virtual ScEEAbsImport *CreateRTFImport( ScDocument* pDoc, const ScRange& rRange ) = 0; diff --git a/sc/inc/rangeutl.hxx b/sc/inc/rangeutl.hxx index db54bc70cab6..68c930221ca7 100644 --- a/sc/inc/rangeutl.hxx +++ b/sc/inc/rangeutl.hxx @@ -55,7 +55,7 @@ public: static bool IsAbsTabArea ( const OUString& rAreaStr, const ScDocument* pDoc, ScArea*** pppAreas, - sal_uInt16* pAreaCount = nullptr, + sal_uInt16* pAreaCount, bool bAcceptCellRef = false, ScAddress::Details const & rDetails = ScAddress::detailsOOOa1 ); diff --git a/sc/inc/scabstdlg.hxx b/sc/inc/scabstdlg.hxx index 3821a8f8f907..dc4e89043bf6 100644 --- a/sc/inc/scabstdlg.hxx +++ b/sc/inc/scabstdlg.hxx @@ -518,7 +518,7 @@ public: virtual VclPtr<AbstractScImportOptionsDlg> CreateScImportOptionsDlg ( bool bAscii, const ScImportOptions* pOptions, const OUString* pStrTitle, - bool bOnlyDbtoolsEncodings = false, + bool bOnlyDbtoolsEncodings, bool bImport = true ) = 0; virtual VclPtr<SfxAbstractTabDialog> CreateScAttrDlg( vcl::Window* pParent, diff --git a/sc/source/core/data/table3.cxx b/sc/source/core/data/table3.cxx index 3e94e174e8b3..51b13475abf8 100644 --- a/sc/source/core/data/table3.cxx +++ b/sc/source/core/data/table3.cxx @@ -2386,7 +2386,7 @@ public: std::pair<bool,bool> compareByValue( const ScRefCellValue& rCell, SCCOL nCol, SCROW nRow, const ScQueryEntry& rEntry, const ScQueryEntry::Item& rItem, - const ScInterpreterContext* pContext = nullptr) + const ScInterpreterContext* pContext) { bool bOk = false; bool bTestEqual = false; @@ -2474,7 +2474,7 @@ public: std::pair<bool,bool> compareByString( ScRefCellValue& rCell, SCROW nRow, const ScQueryEntry& rEntry, const ScQueryEntry::Item& rItem, - const ScInterpreterContext* pContext = nullptr) + const ScInterpreterContext* pContext) { bool bOk = false; bool bTestEqual = false; diff --git a/sc/source/filter/inc/ftools.hxx b/sc/source/filter/inc/ftools.hxx index 13fb359831ea..cae5241fe1e3 100644 --- a/sc/source/filter/inc/ftools.hxx +++ b/sc/source/filter/inc/ftools.hxx @@ -275,7 +275,7 @@ public: virtual ErrCode ScImportRTF( SvStream&, const OUString& rBaseURL, ScDocument*, ScRange& rRange ) override; virtual ErrCode ScImportHTML( SvStream&, const OUString& rBaseURL, ScDocument*, ScRange& rRange, double nOutputFactor, bool bCalcWidthHeight, - SvNumberFormatter* pFormatter, bool bConvertDate = true ) override; + SvNumberFormatter* pFormatter, bool bConvertDate ) override; virtual ScEEAbsImport *CreateRTFImport( ScDocument* pDoc, const ScRange& rRange ) override; virtual ScEEAbsImport *CreateHTMLImport( ScDocument* pDocP, const OUString& rBaseURL, const ScRange& rRange ) override; diff --git a/sc/source/ui/attrdlg/scdlgfact.hxx b/sc/source/ui/attrdlg/scdlgfact.hxx index 3d37a2bbdff2..3b1d5334b08b 100644 --- a/sc/source/ui/attrdlg/scdlgfact.hxx +++ b/sc/source/ui/attrdlg/scdlgfact.hxx @@ -548,7 +548,7 @@ public: virtual VclPtr<AbstractScImportOptionsDlg> CreateScImportOptionsDlg ( bool bAscii, const ScImportOptions* pOptions, const OUString* pStrTitle, - bool bOnlyDbtoolsEncodings = false, + bool bOnlyDbtoolsEncodings, bool bImport = true ) override; virtual VclPtr<SfxAbstractTabDialog> CreateScAttrDlg( vcl::Window* pParent, const SfxItemSet* pCellAttrs ) override; diff --git a/sc/source/ui/inc/csvtablebox.hxx b/sc/source/ui/inc/csvtablebox.hxx index 2f799f7b5aaa..b508243f26b7 100644 --- a/sc/source/ui/inc/csvtablebox.hxx +++ b/sc/source/ui/inc/csvtablebox.hxx @@ -101,7 +101,7 @@ public: /** Fills all cells of all lines with the passed texts (Unicode strings). */ void SetUniStrings( const OUString* pTextLines, const OUString& rSepChars, - sal_Unicode cTextSep, bool bMergeSep, bool bRemoveSpace = false ); + sal_Unicode cTextSep, bool bMergeSep, bool bRemoveSpace ); // column settings -------------------------------------------------------- public: diff --git a/sc/source/ui/inc/docsh.hxx b/sc/source/ui/inc/docsh.hxx index bad57292ce9e..8e1b02aeb41f 100644 --- a/sc/source/ui/inc/docsh.hxx +++ b/sc/source/ui/inc/docsh.hxx @@ -196,8 +196,7 @@ public: virtual bool DoSaveCompleted( SfxMedium * pNewStor=nullptr, bool bRegisterRecent=true ) override; // SfxObjectShell virtual bool QuerySlotExecutable( sal_uInt16 nSlotId ) override; - virtual void Draw( OutputDevice *, const JobSetup & rSetup, - sal_uInt16 nAspect = ASPECT_CONTENT ) override; + virtual void Draw( OutputDevice *, const JobSetup & rSetup, sal_uInt16 nAspect ) override; virtual void SetVisArea( const tools::Rectangle & rVisArea ) override; diff --git a/sc/source/ui/inc/impex.hxx b/sc/source/ui/inc/impex.hxx index c41fb83fafa2..cf3310ffb2c2 100644 --- a/sc/source/ui/inc/impex.hxx +++ b/sc/source/ui/inc/impex.hxx @@ -107,7 +107,7 @@ public: static bool IsFormatSupported( SotClipboardFormatId nFormat ); static const sal_Unicode* ScanNextFieldFromString( const sal_Unicode* p, OUString& rField, sal_Unicode cStr, const sal_Unicode* pSeps, - bool bMergeSeps, bool& rbIsQuoted, bool& rbOverflowCell, bool bRemoveSpace = false ); + bool bMergeSeps, bool& rbIsQuoted, bool& rbOverflowCell, bool bRemoveSpace ); static void WriteUnicodeOrByteString( SvStream& rStrm, const OUString& rString, bool bZero = false ); static void WriteUnicodeOrByteEndl( SvStream& rStrm ); diff --git a/sc/source/ui/inc/tabvwsh.hxx b/sc/source/ui/inc/tabvwsh.hxx index 126811185faf..8a897123a89c 100644 --- a/sc/source/ui/inc/tabvwsh.hxx +++ b/sc/source/ui/inc/tabvwsh.hxx @@ -387,8 +387,8 @@ public: /// See SfxViewShell::NotifyCursor(). void NotifyCursor(SfxViewShell* pViewShell) const override; /// Emits a LOK_CALLBACK_INVALIDATE_HEADER for all views whose current tab is equal to nCurrentTabIndex - static void notifyAllViewsHeaderInvalidation(HeaderType eHeaderType, SCTAB nCurrentTabIndex = -1); - static void notifyAllViewsHeaderInvalidation(bool Columns, SCTAB nCurrentTabIndex = -1); + static void notifyAllViewsHeaderInvalidation(HeaderType eHeaderType, SCTAB nCurrentTabIndex); + static void notifyAllViewsHeaderInvalidation(bool Columns, SCTAB nCurrentTabIndex); static bool isAnyEditViewInRange(bool bColumns, SCCOLROW nStart, SCCOLROW nEnd); css::uno::Reference<css::drawing::XShapes> getSelectedXShapes(); }; |