[Libreoffice-commits] core.git: 2 commits - editeng/source extensions/source filter/source forms/source formula/source hwpfilter/source i18npool/source l10ntools/inc lotuswordpro/source offapi/com rsc/inc
Noel Grandin
noel.grandin at collabora.co.uk
Fri Nov 11 10:12:55 UTC 2016
editeng/source/editeng/editdoc.hxx | 2 +-
extensions/source/bibliography/bibbeam.cxx | 2 +-
extensions/source/bibliography/bibshortcuthandler.hxx | 4 ++--
extensions/source/bibliography/bibview.hxx | 2 +-
extensions/source/propctrlr/usercontrol.hxx | 2 +-
filter/source/flash/swfexporter.hxx | 4 ++--
filter/source/flash/swfwriter.hxx | 2 +-
filter/source/msfilter/eschesdo.hxx | 2 +-
forms/source/component/Columns.hxx | 2 +-
formula/source/ui/dlg/structpg.hxx | 2 +-
hwpfilter/source/hwpreader.cxx | 14 +++++++-------
hwpfilter/source/hwpreader.hxx | 6 +++---
i18npool/source/search/levdis.hxx | 2 +-
l10ntools/inc/po.hxx | 4 ++--
lotuswordpro/source/filter/lwpfribtext.hxx | 2 +-
lotuswordpro/source/filter/xfilter/xffloatframe.hxx | 2 +-
lotuswordpro/source/filter/xfilter/xfpagemaster.hxx | 8 ++++----
offapi/com/sun/star/xml/sax/XFastContextHandler.idl | 8 ++++----
rsc/inc/rsccont.hxx | 4 ++--
19 files changed, 37 insertions(+), 37 deletions(-)
New commits:
commit b06854accccecd34d92a8e792d40aac8e7a86a64
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date: Fri Nov 11 11:34:40 2016 +0200
fix spelling XFastAttrbitueList->XFastAttributeList
Change-Id: I618cadba909acbe935217026af7da496894dbd5e
diff --git a/offapi/com/sun/star/xml/sax/XFastContextHandler.idl b/offapi/com/sun/star/xml/sax/XFastContextHandler.idl
index 3acc135..8abe44a 100644
--- a/offapi/com/sun/star/xml/sax/XFastContextHandler.idl
+++ b/offapi/com/sun/star/xml/sax/XFastContextHandler.idl
@@ -53,7 +53,7 @@ interface XFastContextHandler: com::sun::star::uno::XInterface
<b>or</b> operation.
@param Attribs
- Contains a XFastAttrbitueList to access the attributes
+ Contains a XFastAttributeList to access the attributes
from the element.
*/
@@ -68,7 +68,7 @@ interface XFastContextHandler: com::sun::star::uno::XInterface
@param Name
contains the elements local name.
@param Attribs
- Contains a XFastAttrbitueList to access the attributes
+ Contains a XFastAttributeList to access the attributes
from the element.
*/
void startUnknownElement( [in] string Namespace, [in] string Name, [in] XFastAttributeList Attribs )
@@ -102,7 +102,7 @@ interface XFastContextHandler: com::sun::star::uno::XInterface
namespace combined with an arithmetic <b>or</b> operation.
@param Attribs
- Contains a XFastAttrbitueList to access the attributes
+ Contains a XFastAttributeList to access the attributes
from the element.
*/
XFastContextHandler createFastChildContext( [in] long Element, [in] XFastAttributeList Attribs )
@@ -116,7 +116,7 @@ interface XFastContextHandler: com::sun::star::uno::XInterface
@param Name
contains the elements local name.
@param Attribs
- Contains a XFastAttrbitueList to access the attributes
+ Contains a XFastAttributeList to access the attributes
the element.
*/
XFastContextHandler createUnknownChildContext( [in] string Namespace, [in] string Name, [in] XFastAttributeList Attribs )
commit 1ba4bb6397e5be8f30c79371a330077829c74742
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date: Fri Nov 11 11:33:26 2016 +0200
loplugin:countusersofdefaultparams in editeng..rsc
Change-Id: I8a8d13faf228cbc934ae21d6763d92d370eb42ec
diff --git a/editeng/source/editeng/editdoc.hxx b/editeng/source/editeng/editdoc.hxx
index 182d09f..2013258 100644
--- a/editeng/source/editeng/editdoc.hxx
+++ b/editeng/source/editeng/editdoc.hxx
@@ -196,7 +196,7 @@ public:
CharAttribList();
~CharAttribList();
- void dumpAsXml(struct _xmlTextWriter* pWriter = nullptr) const;
+ void dumpAsXml(struct _xmlTextWriter* pWriter) const;
void DeleteEmptyAttribs( SfxItemPool& rItemPool );
diff --git a/extensions/source/bibliography/bibbeam.cxx b/extensions/source/bibliography/bibbeam.cxx
index a3e7e53..b0dd0c0 100644
--- a/extensions/source/bibliography/bibbeam.cxx
+++ b/extensions/source/bibliography/bibbeam.cxx
@@ -84,7 +84,7 @@ namespace bib
public:
- BibGridwin(vcl::Window* pParent, WinBits nStyle = WB_3DLOOK );
+ BibGridwin(vcl::Window* pParent, WinBits nStyle );
virtual ~BibGridwin() override;
virtual void dispose() override;
diff --git a/extensions/source/bibliography/bibshortcuthandler.hxx b/extensions/source/bibliography/bibshortcuthandler.hxx
index 12e28eb..1e9099d 100644
--- a/extensions/source/bibliography/bibshortcuthandler.hxx
+++ b/extensions/source/bibliography/bibshortcuthandler.hxx
@@ -55,14 +55,14 @@ inline vcl::Window* BibShortCutHandler::GetWindow()
class BibWindow : public vcl::Window, public BibShortCutHandler
{
public:
- BibWindow( vcl::Window* pParent,WinBits nStyle = WB_3DLOOK);
+ BibWindow( vcl::Window* pParent, WinBits nStyle);
virtual ~BibWindow() override;
};
class BibSplitWindow : public SplitWindow, public BibShortCutHandler
{
public:
- BibSplitWindow( vcl::Window* pParent,WinBits nStyle = WB_3DLOOK);
+ BibSplitWindow( vcl::Window* pParent, WinBits nStyle);
};
#endif
diff --git a/extensions/source/bibliography/bibview.hxx b/extensions/source/bibliography/bibview.hxx
index 6b1e974..25b579a 100644
--- a/extensions/source/bibliography/bibview.hxx
+++ b/extensions/source/bibliography/bibview.hxx
@@ -70,7 +70,7 @@ namespace bib
virtual void Resize() override;
public:
- BibView( vcl::Window* _pParent, BibDataManager* _pDatMan, WinBits nStyle = WB_3DLOOK );
+ BibView( vcl::Window* _pParent, BibDataManager* _pDatMan, WinBits nStyle );
virtual ~BibView() override;
virtual void dispose() override;
diff --git a/extensions/source/propctrlr/usercontrol.hxx b/extensions/source/propctrlr/usercontrol.hxx
index 4a5719a..64daff1 100644
--- a/extensions/source/propctrlr/usercontrol.hxx
+++ b/extensions/source/propctrlr/usercontrol.hxx
@@ -102,7 +102,7 @@ namespace pcr
sal_Int32 m_nLastDecimalDigits;
public:
- OFormattedNumericControl( vcl::Window* pParent, WinBits nWinStyle = WB_TABSTOP);
+ OFormattedNumericControl( vcl::Window* pParent, WinBits nWinStyle);
// XPropertyControl
virtual css::uno::Any SAL_CALL getValue() throw (css::uno::RuntimeException, std::exception) override;
diff --git a/filter/source/flash/swfexporter.hxx b/filter/source/flash/swfexporter.hxx
index f65ad8e..beca040 100644
--- a/filter/source/flash/swfexporter.hxx
+++ b/filter/source/flash/swfexporter.hxx
@@ -122,8 +122,8 @@ public:
const css::uno::Reference< css::drawing::XShapes >& rxSelectedShapes,
const css::uno::Reference< css::drawing::XDrawPage >& rxSelectedDrawPage,
- sal_Int32 nJPEGCompressMode = -1,
- bool bExportOLEAsJPEG = false);
+ sal_Int32 nJPEGCompressMode,
+ bool bExportOLEAsJPEG);
~FlashExporter();
void Flush();
diff --git a/filter/source/flash/swfwriter.hxx b/filter/source/flash/swfwriter.hxx
index 002a6e6..0cbcb01 100644
--- a/filter/source/flash/swfwriter.hxx
+++ b/filter/source/flash/swfwriter.hxx
@@ -247,7 +247,7 @@ public:
An invisible shape with the size of the document is placed at depth 1
and it clips all shapes on depth 2 and 3.
*/
- Writer( sal_Int32 nDocWidthInput, sal_Int32 nDocHeightInput, sal_Int32 nDocWidth, sal_Int32 nDocHeight, sal_Int32 nJPEGcompressMode = -1 );
+ Writer( sal_Int32 nDocWidthInput, sal_Int32 nDocHeightInput, sal_Int32 nDocWidth, sal_Int32 nDocHeight, sal_Int32 nJPEGcompressMode );
~Writer();
void storeTo( css::uno::Reference< css::io::XOutputStream > &xOutStream );
diff --git a/filter/source/msfilter/eschesdo.hxx b/filter/source/msfilter/eschesdo.hxx
index 18bfece..16815a7 100644
--- a/filter/source/msfilter/eschesdo.hxx
+++ b/filter/source/msfilter/eschesdo.hxx
@@ -52,7 +52,7 @@ class ImplEESdrObject
public:
css::uno::Reference< css::beans::XPropertySet > mXPropSet;
- ImplEESdrObject( ImplEESdrWriter& rEx, const SdrObject& rObj, bool bOOXML = false );
+ ImplEESdrObject( ImplEESdrWriter& rEx, const SdrObject& rObj, bool bOOXML );
ImplEESdrObject( ImplEESdrWriter& rEx, const css::uno::Reference< css::drawing::XShape >& rShape );
~ImplEESdrObject();
diff --git a/forms/source/component/Columns.hxx b/forms/source/component/Columns.hxx
index 014300f..ec52109 100644
--- a/forms/source/component/Columns.hxx
+++ b/forms/source/component/Columns.hxx
@@ -62,7 +62,7 @@ protected:
// [properties]
public:
- OGridColumn(const css::uno::Reference<css::uno::XComponentContext>& _rContext, const OUString& _sModelName = OUString());
+ OGridColumn(const css::uno::Reference<css::uno::XComponentContext>& _rContext, const OUString& _sModelName);
explicit OGridColumn(const OGridColumn* _pOriginal );
virtual ~OGridColumn() override;
diff --git a/formula/source/ui/dlg/structpg.hxx b/formula/source/ui/dlg/structpg.hxx
index f15d72a..d14b770 100644
--- a/formula/source/ui/dlg/structpg.hxx
+++ b/formula/source/ui/dlg/structpg.hxx
@@ -53,7 +53,7 @@ public:
const Image& rEntryImg,
SvTreeListEntry* pParent,
sal_uLong nPos,
- IFormulaToken* pToken = nullptr );
+ IFormulaToken* pToken );
void SetActiveFlag(bool bFlag);
bool GetActiveFlag() { return bActiveFlag;}
diff --git a/hwpfilter/source/hwpreader.cxx b/hwpfilter/source/hwpreader.cxx
index e02301a..0234873 100644
--- a/hwpfilter/source/hwpreader.cxx
+++ b/hwpfilter/source/hwpreader.cxx
@@ -4171,7 +4171,7 @@ void HwpReader::makePictureDRAW(HWPDrawingObject *drawobj, Picture * hbox)
//parsePara(pPara);
while(pPara)
{
- make_text_p1( pPara );
+ make_text_p1( pPara, false );
pPara = pPara->Next();
}
}
@@ -4219,7 +4219,7 @@ void HwpReader::makePictureDRAW(HWPDrawingObject *drawobj, Picture * hbox)
//parsePara(pPara);
while(pPara)
{
- make_text_p1( pPara );
+ make_text_p1( pPara, false );
pPara = pPara->Next();
}
}
@@ -4329,7 +4329,7 @@ void HwpReader::makePictureDRAW(HWPDrawingObject *drawobj, Picture * hbox)
//parsePara(pPara);
while(pPara)
{
- make_text_p1( pPara );
+ make_text_p1( pPara, false );
pPara = pPara->Next();
}
}
@@ -4445,7 +4445,7 @@ void HwpReader::makePictureDRAW(HWPDrawingObject *drawobj, Picture * hbox)
HWPPara *pPara = drawobj->property.pPara;
while(pPara)
{
- make_text_p1( pPara );
+ make_text_p1( pPara, false );
pPara = pPara->Next();
}
}
@@ -4510,7 +4510,7 @@ void HwpReader::makePictureDRAW(HWPDrawingObject *drawobj, Picture * hbox)
// parsePara(pPara);
while(pPara)
{
- make_text_p1( pPara );
+ make_text_p1( pPara, false );
pPara = pPara->Next();
}
}
@@ -4528,7 +4528,7 @@ void HwpReader::makePictureDRAW(HWPDrawingObject *drawobj, Picture * hbox)
//parsePara(pPara);
while(pPara)
{
- make_text_p1( pPara );
+ make_text_p1( pPara, false );
pPara = pPara->Next();
}
}
@@ -4570,7 +4570,7 @@ void HwpReader::makePictureDRAW(HWPDrawingObject *drawobj, Picture * hbox)
//parsePara(pPara);
while(pPara)
{
- make_text_p1( pPara );
+ make_text_p1( pPara, false );
pPara = pPara->Next();
}
diff --git a/hwpfilter/source/hwpreader.hxx b/hwpfilter/source/hwpreader.hxx
index 73d4378..fa0a243 100644
--- a/hwpfilter/source/hwpreader.hxx
+++ b/hwpfilter/source/hwpreader.hxx
@@ -107,9 +107,9 @@ private:
/* -------- Paragraph Parsing --------- */
void parsePara(HWPPara *para);
- void make_text_p0(HWPPara *para, bool bParaStart = false);
- void make_text_p1(HWPPara *para, bool bParaStart = false);
- void make_text_p3(HWPPara *para, bool bParaStart = false);
+ void make_text_p0(HWPPara *para, bool bParaStart);
+ void make_text_p1(HWPPara *para, bool bParaStart);
+ void make_text_p3(HWPPara *para, bool bParaStart);
/* -------- rDocument->characters(x) --------- */
void makeChars(hchar_string & rStr);
diff --git a/i18npool/source/search/levdis.hxx b/i18npool/source/search/levdis.hxx
index ec82df0..cd12628 100644
--- a/i18npool/source/search/levdis.hxx
+++ b/i18npool/source/search/levdis.hxx
@@ -168,7 +168,7 @@ public:
@param bRelaxed the mathematically incorrect method is default (TRUE)
*/
WLevDistance( const sal_Unicode* cPattern, int nOtherX, int nShorterY,
- int nLongerZ, bool bRelaxed = true );
+ int nLongerZ, bool bRelaxed );
WLevDistance( const WLevDistance& rWLD );
~WLevDistance();
diff --git a/l10ntools/inc/po.hxx b/l10ntools/inc/po.hxx
index ce39259..ce1443d 100644
--- a/l10ntools/inc/po.hxx
+++ b/l10ntools/inc/po.hxx
@@ -46,7 +46,7 @@ public:
PoEntry();
PoEntry( const OString& rSourceFile, const OString& rResType, const OString& rGroupId,
const OString& rLocalId, const OString& rHelpText, const OString& rText,
- const TYPE eType = TTEXT );
+ const TYPE eType );
~PoEntry();
PoEntry( const PoEntry& rPo );
@@ -105,7 +105,7 @@ public:
enum OpenMode { TRUNC, APP };
PoOfstream();
- PoOfstream(const OString& rFileName, OpenMode aMode = TRUNC );
+ PoOfstream(const OString& rFileName, OpenMode aMode );
~PoOfstream();
PoOfstream(const PoOfstream&) = delete;
PoOfstream& operator=(const PoOfstream&) = delete;
diff --git a/lotuswordpro/source/filter/lwpfribtext.hxx b/lotuswordpro/source/filter/lwpfribtext.hxx
index 138ef9a..92c9d11 100644
--- a/lotuswordpro/source/filter/lwpfribtext.hxx
+++ b/lotuswordpro/source/filter/lwpfribtext.hxx
@@ -66,7 +66,7 @@
class LwpFribText : public LwpFrib
{
public:
- LwpFribText( LwpPara* pPara, bool bNoUnicode=false);
+ LwpFribText( LwpPara* pPara, bool bNoUnicode);
virtual ~LwpFribText() override {}
void Read(LwpObjectStream* pObjStrm, sal_uInt16 len) override;
void XFConvert(XFContentContainer* pXFPara,LwpStory* pStory);
diff --git a/lotuswordpro/source/filter/xfilter/xffloatframe.hxx b/lotuswordpro/source/filter/xfilter/xffloatframe.hxx
index eaa43bf..0931c6d 100644
--- a/lotuswordpro/source/filter/xfilter/xffloatframe.hxx
+++ b/lotuswordpro/source/filter/xfilter/xffloatframe.hxx
@@ -75,7 +75,7 @@ public:
/**
* @descr output range: [start,end], not [start,end).
*/
- XFFloatFrame(sal_Int32 start, sal_Int32 end, bool all=false);
+ XFFloatFrame(sal_Int32 start, sal_Int32 end, bool all);
public:
void ToXml(IXFStream *pStrm) override;
diff --git a/lotuswordpro/source/filter/xfilter/xfpagemaster.hxx b/lotuswordpro/source/filter/xfilter/xfpagemaster.hxx
index a6e9fb5..845d781 100644
--- a/lotuswordpro/source/filter/xfilter/xfpagemaster.hxx
+++ b/lotuswordpro/source/filter/xfilter/xfpagemaster.hxx
@@ -85,7 +85,7 @@ public:
void SetPageHeight(double height);
- void SetMargins(double left, double right, double top=-1, double bottom=-1);
+ void SetMargins(double left, double right, double top, double bottom);
void SetPageUsage(enumXFPageUsage usage);
@@ -108,9 +108,9 @@ public:
void SetFootNoteSeparator(enumXFAlignType align,
double width,
sal_Int32 lengthPercent,
- double spaceAbove = 0.1,
- double spaceBelow = 0.1,
- XFColor color=XFColor(0,0,0)
+ double spaceAbove,
+ double spaceBelow,
+ XFColor color
);
virtual enumXFStyle GetStyleFamily() override;
diff --git a/rsc/inc/rsccont.hxx b/rsc/inc/rsccont.hxx
index d7f58d4..07f29fd 100644
--- a/rsc/inc/rsccont.hxx
+++ b/rsc/inc/rsccont.hxx
@@ -55,8 +55,8 @@ protected:
RscTypCont * pTC, sal_uInt32, bool bExtra );
public:
RscBaseCont( Atom nId, sal_uInt32 nTypId,
- RscTop * pSuper = nullptr,
- bool bNoId = true );
+ RscTop * pSuper,
+ bool bNoId );
virtual ~RscBaseCont() override;
virtual RSCCLASS_TYPE GetClassType() const override;
void SetTypeClass( RscTop * pClass, RscTop * pClass1 = nullptr )
More information about the Libreoffice-commits
mailing list