[Libreoffice-commits] core.git: sc/qa scripting/source sc/source

Noel Grandin noel.grandin at collabora.co.uk
Mon Oct 31 10:03:51 UTC 2016


 sc/qa/unit/helper/csv_handler.hxx         |    2 +-
 sc/source/core/inc/cellkeytranslator.hxx  |    2 +-
 sc/source/core/tool/address.cxx           |    6 +++---
 sc/source/core/tool/cellkeytranslator.cxx |    2 +-
 sc/source/core/tool/compiler.cxx          |    2 +-
 sc/source/filter/excel/xecontent.cxx      |    4 ++--
 sc/source/filter/inc/drawingfragment.hxx  |    2 +-
 sc/source/filter/inc/stylesbuffer.hxx     |    8 ++++----
 sc/source/filter/inc/workbookhelper.hxx   |    2 +-
 sc/source/filter/inc/xcl97rec.hxx         |    2 +-
 sc/source/filter/inc/xechart.hxx          |    2 +-
 sc/source/filter/inc/xerecord.hxx         |    2 +-
 sc/source/filter/inc/xestyle.hxx          |    2 +-
 sc/source/filter/oox/stylesbuffer.cxx     |    2 +-
 sc/source/filter/starcalc/collect.hxx     |    2 +-
 sc/source/filter/xml/xmlstyle.hxx         |    2 +-
 sc/source/ui/inc/anyrefdg.hxx             |    4 ++--
 sc/source/ui/inc/corodlg.hxx              |    4 ++--
 sc/source/ui/inc/delcldlg.hxx             |    2 +-
 sc/source/ui/inc/delcodlg.hxx             |    2 +-
 sc/source/ui/inc/groupdlg.hxx             |    2 +-
 sc/source/ui/inc/inscldlg.hxx             |    4 ++--
 sc/source/ui/inc/inscodlg.hxx             |    8 ++++----
 sc/source/ui/inc/mtrindlg.hxx             |   14 +++++++-------
 sc/source/ui/inc/namepast.hxx             |    2 +-
 sc/source/ui/inc/redcom.hxx               |    2 +-
 sc/source/ui/inc/scendlg.hxx              |    2 +-
 sc/source/ui/inc/scuiimoptdlg.hxx         |   14 +++++++-------
 sc/source/ui/inc/undocell.hxx             |    4 ++--
 sc/source/ui/view/gridwin.cxx             |    2 +-
 scripting/source/basprov/baslibnode.hxx   |    2 +-
 scripting/source/basprov/basmethnode.hxx  |    2 +-
 scripting/source/basprov/basmodnode.hxx   |    2 +-
 33 files changed, 58 insertions(+), 58 deletions(-)

New commits:
commit 442eacc4e186db3cc941f7cba28ac1692d601ea2
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date:   Mon Oct 31 10:11:25 2016 +0200

    loplugin:countusersofdefaultparams in sc(part1)
    
    Change-Id: Ia2b0174654fad536ee23f6174a0b38b1843a4aa5
    Reviewed-on: https://gerrit.libreoffice.org/30427
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
    Tested-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/sc/qa/unit/helper/csv_handler.hxx b/sc/qa/unit/helper/csv_handler.hxx
index 54a0ec4..090de9c 100644
--- a/sc/qa/unit/helper/csv_handler.hxx
+++ b/sc/qa/unit/helper/csv_handler.hxx
@@ -83,7 +83,7 @@ OString createErrorMessage(SCCOL nCol, SCROW nRow, SCTAB nTab, double aExpected,
 class csv_handler
 {
 public:
-    csv_handler(ScDocument* pDoc, SCTAB nTab, StringType eType = StringValue):
+    csv_handler(ScDocument* pDoc, SCTAB nTab, StringType eType):
             mpDoc(pDoc),
             mnCol(0),
             mnRow(0),
diff --git a/sc/source/core/inc/cellkeytranslator.hxx b/sc/source/core/inc/cellkeytranslator.hxx
index f7a8230..655b9aa 100644
--- a/sc/source/core/inc/cellkeytranslator.hxx
+++ b/sc/source/core/inc/cellkeytranslator.hxx
@@ -63,7 +63,7 @@ typedef std::unordered_map< OUString, ::std::list<ScCellKeyword>, OUStringHash >
 class ScCellKeywordTranslator
 {
 public:
-    static void transKeyword(OUString& rName, const css::lang::Locale* pLocale, OpCode eOpCode = ocNone);
+    static void transKeyword(OUString& rName, const css::lang::Locale* pLocale, OpCode eOpCode);
     ~ScCellKeywordTranslator();
 
 private:
diff --git a/sc/source/core/tool/address.cxx b/sc/source/core/tool/address.cxx
index 4e41852..2636f34 100644
--- a/sc/source/core/tool/address.cxx
+++ b/sc/source/core/tool/address.cxx
@@ -1446,9 +1446,9 @@ static ScRefFlags lcl_ScAddress_Parse_OOo( const sal_Unicode* p, ScDocument* pDo
 static ScRefFlags lcl_ScAddress_Parse ( const sal_Unicode* p, ScDocument* pDoc, ScAddress& rAddr,
                                         const ScAddress::Details& rDetails,
                                         ScAddress::ExternalInfo* pExtInfo,
-                                        const uno::Sequence<sheet::ExternalLinkInfo>* pExternalLinks = nullptr,
-                                        sal_Int32* pSheetEndPos = nullptr,
-                                        const OUString* pErrRef = nullptr )
+                                        const uno::Sequence<sheet::ExternalLinkInfo>* pExternalLinks,
+                                        sal_Int32* pSheetEndPos,
+                                        const OUString* pErrRef )
 {
     if( !*p )
         return ScRefFlags::ZERO;
diff --git a/sc/source/core/tool/cellkeytranslator.cxx b/sc/source/core/tool/cellkeytranslator.cxx
index b1d0122..013e640 100644
--- a/sc/source/core/tool/cellkeytranslator.cxx
+++ b/sc/source/core/tool/cellkeytranslator.cxx
@@ -76,7 +76,7 @@ ScCellKeyword::ScCellKeyword(const sal_Char* pName, OpCode eOpCode, const lang::
 ::std::unique_ptr<ScCellKeywordTranslator> ScCellKeywordTranslator::spInstance;
 
 static void lclMatchKeyword(OUString& rName, const ScCellKeywordHashMap& aMap,
-                            OpCode eOpCode, const lang::Locale* pLocale = nullptr)
+                            OpCode eOpCode, const lang::Locale* pLocale)
 {
     ScCellKeywordHashMap::const_iterator itrEnd = aMap.end();
     ScCellKeywordHashMap::const_iterator itr = aMap.find(rName);
diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx
index 847fa5e..8b88455 100644
--- a/sc/source/core/tool/compiler.cxx
+++ b/sc/source/core/tool/compiler.cxx
@@ -480,7 +480,7 @@ static bool lcl_parseExternalName(
         OUString& rName,
         const sal_Unicode cSep,
         const ScDocument* pDoc,
-        const uno::Sequence<sheet::ExternalLinkInfo>* pExternalLinks = nullptr )
+        const uno::Sequence<sheet::ExternalLinkInfo>* pExternalLinks )
 {
     /* TODO: future versions will have to support sheet-local names too, thus
      * return a possible sheet name as well. */
diff --git a/sc/source/filter/excel/xecontent.cxx b/sc/source/filter/excel/xecontent.cxx
index 9f2c364..7771e92 100644
--- a/sc/source/filter/excel/xecontent.cxx
+++ b/sc/source/filter/excel/xecontent.cxx
@@ -61,7 +61,7 @@ struct XclExpHashEntry
 {
     const XclExpString* mpString;       /// Pointer to the string (no ownership).
     sal_uInt32          mnSstIndex;     /// The SST index of this string.
-    inline explicit     XclExpHashEntry( const XclExpString* pString = nullptr, sal_uInt32 nSstIndex = 0 ) :
+    inline explicit     XclExpHashEntry( const XclExpString* pString, sal_uInt32 nSstIndex ) :
                             mpString( pString ), mnSstIndex( nSstIndex ) {}
 };
 
@@ -568,7 +568,7 @@ void XclExpLabelranges::Save( XclExpStream& rStrm )
 class XclExpCFImpl : protected XclExpRoot
 {
 public:
-    explicit            XclExpCFImpl( const XclExpRoot& rRoot, const ScCondFormatEntry& rFormatEntry, sal_Int32 nPriority = 0 );
+    explicit            XclExpCFImpl( const XclExpRoot& rRoot, const ScCondFormatEntry& rFormatEntry, sal_Int32 nPriority );
 
     /** Writes the body of the CF record. */
     void                WriteBody( XclExpStream& rStrm );
diff --git a/sc/source/filter/inc/drawingfragment.hxx b/sc/source/filter/inc/drawingfragment.hxx
index 09115c1..6c52a4e 100644
--- a/sc/source/filter/inc/drawingfragment.hxx
+++ b/sc/source/filter/inc/drawingfragment.hxx
@@ -61,7 +61,7 @@ public:
     explicit            Shape(
                             const WorksheetHelper& rHelper,
                             const AttributeList& rAttribs,
-                            const sal_Char* pcServiceName = nullptr );
+                            const sal_Char* pcServiceName );
 
 protected:
     virtual void        finalizeXShape(
diff --git a/sc/source/filter/inc/stylesbuffer.hxx b/sc/source/filter/inc/stylesbuffer.hxx
index 820dda0..d284fbc 100644
--- a/sc/source/filter/inc/stylesbuffer.hxx
+++ b/sc/source/filter/inc/stylesbuffer.hxx
@@ -864,12 +864,12 @@ public:
     /** Creates the style sheet described by the DXF with the passed identifier. */
     OUString     createDxfStyle( sal_Int32 nDxfId ) const;
 
-    void                writeFontToItemSet( SfxItemSet& rItemSet, sal_Int32 nFontId, bool bSkipPoolDefs = false ) const;
-    sal_uLong           writeNumFmtToItemSet( SfxItemSet& rItemSet, sal_Int32 nNumFmtId, bool bSkipPoolDefs = false ) const;
+    void                writeFontToItemSet( SfxItemSet& rItemSet, sal_Int32 nFontId, bool bSkipPoolDefs ) const;
+    sal_uLong           writeNumFmtToItemSet( SfxItemSet& rItemSet, sal_Int32 nNumFmtId, bool bSkipPoolDefs ) const;
     /** Writes the specified number format to the passed property map. */
-    void                writeBorderToItemSet( SfxItemSet& rItemSet, sal_Int32 nBorderId, bool bSkipPoolDefs = false ) const;
+    void                writeBorderToItemSet( SfxItemSet& rItemSet, sal_Int32 nBorderId, bool bSkipPoolDefs ) const;
     /** Writes the fill attributes of the specified fill data to the passed property map. */
-    void                writeFillToItemSet( SfxItemSet& rItemSet, sal_Int32 nFillId, bool bSkipPoolDefs = false ) const;
+    void                writeFillToItemSet( SfxItemSet& rItemSet, sal_Int32 nFillId, bool bSkipPoolDefs ) const;
 
     /** Writes the cell formatting attributes of the specified XF to the passed property set. */
     void                writeCellXfToDoc( ScDocumentImport& rDoc, const css::table::CellRangeAddress& rRange, sal_Int32 nXfId ) const;
diff --git a/sc/source/filter/inc/workbookhelper.hxx b/sc/source/filter/inc/workbookhelper.hxx
index 13f0b1c..c694e99 100644
--- a/sc/source/filter/inc/workbookhelper.hxx
+++ b/sc/source/filter/inc/workbookhelper.hxx
@@ -180,7 +180,7 @@ public:
                             OUString& orName,
                             const css::uno::Sequence< css::sheet::FormulaToken>& rTokens,
                             sal_Int32 nIndex,
-                            sal_Int32 nNameFlags, sal_Int32 nTab = -1 ) const;
+                            sal_Int32 nNameFlags, sal_Int32 nTab ) const;
 
     /** Creates and returns a database range on-the-fly in the Calc document.
         The range will not be buffered in the global table buffer.
diff --git a/sc/source/filter/inc/xcl97rec.hxx b/sc/source/filter/inc/xcl97rec.hxx
index 0c8dc96..955fd01 100644
--- a/sc/source/filter/inc/xcl97rec.hxx
+++ b/sc/source/filter/inc/xcl97rec.hxx
@@ -199,7 +199,7 @@ class SdrTextObj;
 class XclTxo : public ExcRecord
 {
 public:
-                                XclTxo( const OUString& rString, sal_uInt16 nFontIx = EXC_FONT_APP );
+                                XclTxo( const OUString& rString, sal_uInt16 nFontIx );
                                 XclTxo( const XclExpRoot& rRoot, const SdrTextObj& rEditObj );
                                 XclTxo( const XclExpRoot& rRoot, const EditTextObject& rEditObj, SdrObject* pCaption );
 
diff --git a/sc/source/filter/inc/xechart.hxx b/sc/source/filter/inc/xechart.hxx
index 365256c..a5b43c1 100644
--- a/sc/source/filter/inc/xechart.hxx
+++ b/sc/source/filter/inc/xechart.hxx
@@ -190,7 +190,7 @@ class XclExpChFutureRecordBase : public XclExpFutureRecord, protected XclExpChRo
 {
 public:
     explicit            XclExpChFutureRecordBase( const XclExpChRoot& rRoot,
-                            XclFutureRecType eRecType, sal_uInt16 nRecId, std::size_t nRecSize = 0 );
+                            XclFutureRecType eRecType, sal_uInt16 nRecId, std::size_t nRecSize );
 
     /** Writes missing CHFRBLOCKBEGIN records and this record. */
     virtual void        Save( XclExpStream& rStrm ) override;
diff --git a/sc/source/filter/inc/xerecord.hxx b/sc/source/filter/inc/xerecord.hxx
index 69b7bbf..5bff610 100644
--- a/sc/source/filter/inc/xerecord.hxx
+++ b/sc/source/filter/inc/xerecord.hxx
@@ -274,7 +274,7 @@ class XclExpFutureRecord : public XclExpRecord
 {
 public:
     explicit            XclExpFutureRecord( XclFutureRecType eRecType,
-                            sal_uInt16 nRecId, std::size_t nRecSize = 0 );
+                            sal_uInt16 nRecId, std::size_t nRecSize );
 
     /** Writes the extended record header and calls WriteBody(). */
     virtual void        Save( XclExpStream& rStrm ) override;
diff --git a/sc/source/filter/inc/xestyle.hxx b/sc/source/filter/inc/xestyle.hxx
index 9335dc5..364f372 100644
--- a/sc/source/filter/inc/xestyle.hxx
+++ b/sc/source/filter/inc/xestyle.hxx
@@ -546,7 +546,7 @@ class XclExpStyle : public XclExpRecord
 {
 public:
     explicit            XclExpStyle( sal_uInt32 nXFId, const OUString& rStyleName );
-    explicit            XclExpStyle( sal_uInt32 nXFId, sal_uInt8 nStyleId, sal_uInt8 nLevel = EXC_STYLE_NOLEVEL );
+    explicit            XclExpStyle( sal_uInt32 nXFId, sal_uInt8 nStyleId, sal_uInt8 nLevel );
 
     /** Returns true, if this record represents an Excel built-in style. */
     inline bool         IsBuiltIn() const { return mnStyleId != EXC_STYLE_USERDEF; }
diff --git a/sc/source/filter/oox/stylesbuffer.cxx b/sc/source/filter/oox/stylesbuffer.cxx
index a00b0d5..ea98677 100644
--- a/sc/source/filter/oox/stylesbuffer.cxx
+++ b/sc/source/filter/oox/stylesbuffer.cxx
@@ -2043,7 +2043,7 @@ void Xf::applyPatternToAttrList( AttrList& rAttrs, SCROW nRow1, SCROW nRow2, sal
     if ( nNumFmtId >= 0 )
     {
         ScPatternAttr aNumPat(rDoc.GetPool());
-        mnScNumFmt = getStyles().writeNumFmtToItemSet( aNumPat.GetItemSet(), nNumFmtId );
+        mnScNumFmt = getStyles().writeNumFmtToItemSet( aNumPat.GetItemSet(), nNumFmtId, false );
         rPat.GetItemSet().Put(aNumPat.GetItemSet());
     }
 
diff --git a/sc/source/filter/starcalc/collect.hxx b/sc/source/filter/starcalc/collect.hxx
index 349788c..92457bb 100644
--- a/sc/source/filter/starcalc/collect.hxx
+++ b/sc/source/filter/starcalc/collect.hxx
@@ -38,7 +38,7 @@ protected:
     sal_uInt16          nDelta;
     ScDataObject**     pItems;
 public:
-    ScCollection(sal_uInt16 nLim = 4, sal_uInt16 nDel = 4);
+    ScCollection(sal_uInt16 nLim, sal_uInt16 nDel);
     ScCollection(const ScCollection& rCollection);
     virtual                 ~ScCollection() override;
 
diff --git a/sc/source/filter/xml/xmlstyle.hxx b/sc/source/filter/xml/xmlstyle.hxx
index c02b4c4..c3eab15 100644
--- a/sc/source/filter/xml/xmlstyle.hxx
+++ b/sc/source/filter/xml/xmlstyle.hxx
@@ -217,7 +217,7 @@ public:
     ScXMLStyleExport(
         SvXMLExport& rExp,
         const OUString& rPoolStyleName,
-        SvXMLAutoStylePoolP *pAutoStyleP=nullptr );
+        SvXMLAutoStylePoolP *pAutoStyleP );
     virtual ~ScXMLStyleExport() override;
 };
 
diff --git a/sc/source/ui/inc/anyrefdg.hxx b/sc/source/ui/inc/anyrefdg.hxx
index da218c6..963036a 100644
--- a/sc/source/ui/inc/anyrefdg.hxx
+++ b/sc/source/ui/inc/anyrefdg.hxx
@@ -175,10 +175,10 @@ private:
         TParentWindow* pParent, const OUString& rID, const OUString& rUIXMLDescription );
 
     template<class TParentWindow, class TResId, class TArg>
-    ScRefHdlrImplBase( TParentWindow* pParent, TResId nResId, const TArg &rArg, SfxBindings *pB = nullptr );
+    ScRefHdlrImplBase( TParentWindow* pParent, TResId nResId, const TArg &rArg, SfxBindings *pB );
 
     template<class TParentWindow, class TArg>
-    ScRefHdlrImplBase( TParentWindow* pParent, const OUString& rID, const OUString& rUIXMLDescription, const TArg &rArg, SfxBindings *pB = nullptr );
+    ScRefHdlrImplBase( TParentWindow* pParent, const OUString& rID, const OUString& rUIXMLDescription, const TArg &rArg, SfxBindings *pB );
 
     virtual ~ScRefHdlrImplBase() override;
 
diff --git a/sc/source/ui/inc/corodlg.hxx b/sc/source/ui/inc/corodlg.hxx
index a7d1854..f9f876f 100644
--- a/sc/source/ui/inc/corodlg.hxx
+++ b/sc/source/ui/inc/corodlg.hxx
@@ -27,8 +27,8 @@ class ScColRowLabelDlg : public ModalDialog
 {
 public:
     ScColRowLabelDlg(vcl::Window* pParent,
-                     bool bCol = false,
-                     bool bRow = false)
+                     bool bCol,
+                     bool bRow)
         : ModalDialog(pParent, "ChangeSourceDialog",
         "modules/scalc/ui/changesourcedialog.ui")
     {
diff --git a/sc/source/ui/inc/delcldlg.hxx b/sc/source/ui/inc/delcldlg.hxx
index 5064958..d2c3ac3 100644
--- a/sc/source/ui/inc/delcldlg.hxx
+++ b/sc/source/ui/inc/delcldlg.hxx
@@ -35,7 +35,7 @@ private:
     VclPtr<RadioButton> m_pBtnDelCols;
 
 public:
-    ScDeleteCellDlg(vcl::Window* pParent, bool bDisallowCellMove = false);
+    ScDeleteCellDlg(vcl::Window* pParent, bool bDisallowCellMove);
     virtual ~ScDeleteCellDlg() override;
     virtual void dispose() override;
 
diff --git a/sc/source/ui/inc/delcodlg.hxx b/sc/source/ui/inc/delcodlg.hxx
index f2122ea..6b3eda8 100644
--- a/sc/source/ui/inc/delcodlg.hxx
+++ b/sc/source/ui/inc/delcodlg.hxx
@@ -47,7 +47,7 @@ private:
 
 public:
             ScDeleteContentsDlg( vcl::Window* pParent,
-                                 InsertDeleteFlags nCheckDefaults = InsertDeleteFlags::NONE );
+                                 InsertDeleteFlags nCheckDefaults );
             virtual ~ScDeleteContentsDlg() override;
     virtual void dispose() override;
     void    DisableObjects();
diff --git a/sc/source/ui/inc/groupdlg.hxx b/sc/source/ui/inc/groupdlg.hxx
index fda8367..47cc587 100644
--- a/sc/source/ui/inc/groupdlg.hxx
+++ b/sc/source/ui/inc/groupdlg.hxx
@@ -27,7 +27,7 @@
 class ScGroupDlg : public ModalDialog
 {
 public:
-    ScGroupDlg(vcl::Window* pParent, bool bUnGroup = false, bool bRows = true);
+    ScGroupDlg(vcl::Window* pParent, bool bUnGroup, bool bRows);
     virtual ~ScGroupDlg() override;
     virtual void dispose() override;
     bool GetColsChecked() const;
diff --git a/sc/source/ui/inc/inscldlg.hxx b/sc/source/ui/inc/inscldlg.hxx
index 53e7f04..1cd229d 100644
--- a/sc/source/ui/inc/inscldlg.hxx
+++ b/sc/source/ui/inc/inscldlg.hxx
@@ -35,8 +35,8 @@ private:
     VclPtr<RadioButton> m_pBtnInsCol;
 
 public:
-            ScInsertCellDlg( vcl::Window* pParent,bool bDisallowCellMove = false );
-            virtual ~ScInsertCellDlg() override;
+            ScInsertCellDlg( vcl::Window* pParent, bool bDisallowCellMove );
+    virtual ~ScInsertCellDlg() override;
     virtual void dispose() override;
 
     InsCellCmd GetInsCellCmd() const;
diff --git a/sc/source/ui/inc/inscodlg.hxx b/sc/source/ui/inc/inscodlg.hxx
index 24897a7..0927360 100644
--- a/sc/source/ui/inc/inscodlg.hxx
+++ b/sc/source/ui/inc/inscodlg.hxx
@@ -30,10 +30,10 @@
 class ScInsertContentsDlg : public ModalDialog
 {
 public:
-            ScInsertContentsDlg( vcl::Window*          pParent,
-                                 InsertDeleteFlags nCheckDefaults = InsertDeleteFlags::NONE,
-                                 const OUString*  pStrTitle = nullptr );
-            virtual ~ScInsertContentsDlg() override;
+            ScInsertContentsDlg( vcl::Window*      pParent,
+                                 InsertDeleteFlags nCheckDefaults,
+                                 const OUString*   pStrTitle );
+    virtual ~ScInsertContentsDlg() override;
     virtual void dispose() override;
 
     InsertDeleteFlags GetInsContentsCmdBits() const;
diff --git a/sc/source/ui/inc/mtrindlg.hxx b/sc/source/ui/inc/mtrindlg.hxx
index f681506..9fd3c23 100644
--- a/sc/source/ui/inc/mtrindlg.hxx
+++ b/sc/source/ui/inc/mtrindlg.hxx
@@ -28,16 +28,16 @@
 class ScMetricInputDlg : public ModalDialog
 {
 public:
-    ScMetricInputDlg( vcl::Window*        pParent,
+    ScMetricInputDlg( vcl::Window*   pParent,
                       const OString& sDialogName,
                       long           nCurrent,
                       long           nDefault,
-                      FieldUnit      eFUnit    = FUNIT_MM,
-                      sal_uInt16     nDecimals = 2,
-                      long           nMaximum  = 1000,
-                      long           nMinimum  = 0,
-                      long           nFirst    = 1,
-                      long           nLast     = 100 );
+                      FieldUnit      eFUnit,
+                      sal_uInt16     nDecimals,
+                      long           nMaximum,
+                      long           nMinimum,
+                      long           nFirst,
+                      long           nLast );
     virtual ~ScMetricInputDlg() override;
     virtual void dispose() override;
 
diff --git a/sc/source/ui/inc/namepast.hxx b/sc/source/ui/inc/namepast.hxx
index 4ae4fa1..b43b34a 100644
--- a/sc/source/ui/inc/namepast.hxx
+++ b/sc/source/ui/inc/namepast.hxx
@@ -49,7 +49,7 @@ private:
     std::map<OUString, std::unique_ptr<ScRangeName>> m_RangeMap;
 
 public:
-    ScNamePasteDlg( vcl::Window * pParent, ScDocShell* pShell, bool bInsList=true );
+    ScNamePasteDlg( vcl::Window * pParent, ScDocShell* pShell, bool bInsList );
 
     virtual ~ScNamePasteDlg() override;
     virtual void dispose() override;
diff --git a/sc/source/ui/inc/redcom.hxx b/sc/source/ui/inc/redcom.hxx
index ec9edc7..e444378 100644
--- a/sc/source/ui/inc/redcom.hxx
+++ b/sc/source/ui/inc/redcom.hxx
@@ -48,7 +48,7 @@ protected:
 public:
 
     ScRedComDialog( vcl::Window* pParent, const SfxItemSet& rCoreSet,
-                    ScDocShell *pShell, ScChangeAction *pAction, bool bPrevNext = false);
+                    ScDocShell *pShell, ScChangeAction *pAction, bool bPrevNext);
     ~ScRedComDialog();
 
     void Execute();
diff --git a/sc/source/ui/inc/scendlg.hxx b/sc/source/ui/inc/scendlg.hxx
index 08bac45..e20073c 100644
--- a/sc/source/ui/inc/scendlg.hxx
+++ b/sc/source/ui/inc/scendlg.hxx
@@ -32,7 +32,7 @@ enum class ScScenarioFlags;
 class ScNewScenarioDlg : public ModalDialog
 {
 public:
-    ScNewScenarioDlg(vcl::Window* pParent, const OUString& rName, bool bEdit = false, bool bSheetProtected = false);
+    ScNewScenarioDlg(vcl::Window* pParent, const OUString& rName, bool bEdit, bool bSheetProtected);
     virtual ~ScNewScenarioDlg() override;
     virtual void dispose() override;
     void SetScenarioData( const OUString& rName, const OUString& rComment,
diff --git a/sc/source/ui/inc/scuiimoptdlg.hxx b/sc/source/ui/inc/scuiimoptdlg.hxx
index 91a5928..02b842f 100644
--- a/sc/source/ui/inc/scuiimoptdlg.hxx
+++ b/sc/source/ui/inc/scuiimoptdlg.hxx
@@ -28,13 +28,13 @@ class ScDelimiterTable;
 class ScImportOptionsDlg : public ModalDialog
 {
 public:
-    ScImportOptionsDlg( vcl::Window*                 pParent,
-                        bool                    bAscii = true,
-                        const ScImportOptions*  pOptions = nullptr,
-                        const OUString*         pStrTitle = nullptr,
-                        bool                    bMultiByte = false,
-                        bool                    bOnlyDbtoolsEncodings = false,
-                        bool                    bImport = true );
+    ScImportOptionsDlg( vcl::Window*            pParent,
+                        bool                    bAscii,
+                        const ScImportOptions*  pOptions,
+                        const OUString*         pStrTitle,
+                        bool                    bMultiByte,
+                        bool                    bOnlyDbtoolsEncodings,
+                        bool                    bImport );
 
     virtual ~ScImportOptionsDlg() override;
     virtual void dispose() override;
diff --git a/sc/source/ui/inc/undocell.hxx b/sc/source/ui/inc/undocell.hxx
index 4c725dc..2eca5ee 100644
--- a/sc/source/ui/inc/undocell.hxx
+++ b/sc/source/ui/inc/undocell.hxx
@@ -94,7 +94,7 @@ public:
 
     ScUndoEnterData(
         ScDocShell* pNewDocShell, const ScAddress& rPos,
-        ValuesType& rOldValues, const OUString& rNewStr, EditTextObject* pObj = nullptr );
+        ValuesType& rOldValues, const OUString& rNewStr, EditTextObject* pObj );
 
     virtual ~ScUndoEnterData() override;
 
@@ -331,7 +331,7 @@ class ScUndoRangeNames: public ScSimpleUndo
 public:
                     //use nTab = -1 for global range names
                     ScUndoRangeNames( ScDocShell* pNewDocShell,
-                                        ScRangeName* pOld, ScRangeName* pNew , SCTAB nTab = -1);
+                                      ScRangeName* pOld, ScRangeName* pNew , SCTAB nTab);
     virtual         ~ScUndoRangeNames() override;
 
     virtual void    Undo() override;
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index 48506a8..ce36e13 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -326,7 +326,7 @@ void ScFilterListBox::SelectHdl()
 class ScFilterFloatingWindow : public FloatingWindow
 {
 public:
-    ScFilterFloatingWindow( vcl::Window* pParent, WinBits nStyle = WB_STDFLOATWIN );
+    ScFilterFloatingWindow( vcl::Window* pParent, WinBits nStyle );
     virtual ~ScFilterFloatingWindow() override;
     virtual void dispose() override;
 };
diff --git a/scripting/source/basprov/baslibnode.hxx b/scripting/source/basprov/baslibnode.hxx
index 98f1a753..1f7bd0e 100644
--- a/scripting/source/basprov/baslibnode.hxx
+++ b/scripting/source/basprov/baslibnode.hxx
@@ -56,7 +56,7 @@ namespace basprov
         const OUString& sScriptingContext,
             BasicManager* pBasicManager,
             const css::uno::Reference< css::script::XLibraryContainer >& xLibContainer,
-            const OUString& sLibName, bool isAppScript=true );
+            const OUString& sLibName, bool isAppScript );
         virtual ~BasicLibraryNodeImpl() override;
 
         // XBrowseNode
diff --git a/scripting/source/basprov/basmethnode.hxx b/scripting/source/basprov/basmethnode.hxx
index 41c45a2..5afb2ae7 100644
--- a/scripting/source/basprov/basmethnode.hxx
+++ b/scripting/source/basprov/basmethnode.hxx
@@ -71,7 +71,7 @@ namespace basprov
     public:
         BasicMethodNodeImpl( const css::uno::Reference< css::uno::XComponentContext >& rxContext,
             const OUString& sScriptingContext,
-            SbMethod* pMethod, bool isAppScript = true );
+            SbMethod* pMethod, bool isAppScript );
         virtual ~BasicMethodNodeImpl() override;
 
         // XInterface
diff --git a/scripting/source/basprov/basmodnode.hxx b/scripting/source/basprov/basmodnode.hxx
index 1be19e2..122337b 100644
--- a/scripting/source/basprov/basmodnode.hxx
+++ b/scripting/source/basprov/basmodnode.hxx
@@ -50,7 +50,7 @@ namespace basprov
     public:
         BasicModuleNodeImpl( const css::uno::Reference< css::uno::XComponentContext >& rxContext,
             const OUString& sScriptingContext,
-            SbModule* pModule, bool isAppScript = true );
+            SbModule* pModule, bool isAppScript );
         virtual ~BasicModuleNodeImpl() override;
 
         // XBrowseNode


More information about the Libreoffice-commits mailing list