summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-10 13:48:02 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-08-12 06:54:08 +0000
commit500a3be0ea9184fc2823d704acf4037f70c6721e (patch)
tree9ceff28559b0b56c58c44313894589e564496a6b /xmloff
parent8806a86c9d1ba63259ea79dd1c955ef970ab1989 (diff)
loplugin:countusersofdefaultparams in vcl..xmlsecurity
Change-Id: I538596a99e632178d928ff7e66ad45c71b73c6fd Reviewed-on: https://gerrit.libreoffice.org/28018 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/inc/txtflde.hxx2
-rw-r--r--xmloff/inc/txtlists.hxx2
-rw-r--r--xmloff/source/chart/SchXMLTools.hxx2
-rw-r--r--xmloff/source/transform/TransformerBase.hxx4
4 files changed, 5 insertions, 5 deletions
diff --git a/xmloff/inc/txtflde.hxx b/xmloff/inc/txtflde.hxx
index 515191b2646f..595de0a277cf 100644
--- a/xmloff/inc/txtflde.hxx
+++ b/xmloff/inc/txtflde.hxx
@@ -326,7 +326,7 @@ protected:
enum ::xmloff::token::XMLTokenEnum eXMLName, /// attribute token
double dValue, /// date/time value
bool bIsDate, /// export as date (rather than date/time)?
- bool bIsDuration = false, /// export as duration
+ bool bIsDuration, /// export as duration
bool bOmitDurationIfZero = true, /// omit zero-length durat.
sal_uInt16 nPrefix = XML_NAMESPACE_TEXT); /// attribute name prefix
diff --git a/xmloff/inc/txtlists.hxx b/xmloff/inc/txtlists.hxx
index d1c2eded4933..68b9a61dade1 100644
--- a/xmloff/inc/txtlists.hxx
+++ b/xmloff/inc/txtlists.hxx
@@ -44,7 +44,7 @@ class XMLTextListsHelper
/// list stack for importing:
/// push a list context on the list context stack
- void PushListContext(XMLTextListBlockContext *i_pListBlock = nullptr);
+ void PushListContext(XMLTextListBlockContext *i_pListBlock);
void PushListContext(XMLNumberedParaContext *i_pNumberedParagraph);
/// pop the list context stack
void PopListContext();
diff --git a/xmloff/source/chart/SchXMLTools.hxx b/xmloff/source/chart/SchXMLTools.hxx
index 456cf67e75f9..c8b888d00ed7 100644
--- a/xmloff/source/chart/SchXMLTools.hxx
+++ b/xmloff/source/chart/SchXMLTools.hxx
@@ -123,7 +123,7 @@ namespace SchXMLTools
bool getXMLRangePropertyFromDataSequence(
const css::uno::Reference< css::chart2::data::XDataSequence > & xDataSequence,
OUString & rOutXMLRange,
- bool bClearProp = false );
+ bool bClearProp );
css::uno::Reference< css::chart2::data::XDataProvider > getDataProviderFromParent( const css::uno::Reference< css::chart2::XChartDocument >& xChartDoc );
diff --git a/xmloff/source/transform/TransformerBase.hxx b/xmloff/source/transform/TransformerBase.hxx
index 4dbb03cbcfc7..045d7683ce02 100644
--- a/xmloff/source/transform/TransformerBase.hxx
+++ b/xmloff/source/transform/TransformerBase.hxx
@@ -153,9 +153,9 @@ public:
sal_uInt16 nPrefixOnly=0xffffU ) const;
bool ConvertURIToOASIS( OUString& rURI,
- bool bSupportPackage=false ) const;
+ bool bSupportPackage ) const;
bool ConvertURIToOOo( OUString& rURI,
- bool bSupportPackage=false ) const;
+ bool bSupportPackage ) const;
/** renames the given rOutAttributeValue if one of the parameters contains a
matching token in its lower 16 bits. The value is converted to the