summaryrefslogtreecommitdiff
path: root/xmloff/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-16 10:17:37 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-03-16 11:35:38 +0000
commit78f0d15893c56d7368ddd7ded4e70f2a3bb9d2f4 (patch)
tree2dc9a366e0854d852a17ef32ee819b00a6b61778 /xmloff/inc
parent732476f2e3c10edf1776171605d8ce6c6b22338f (diff)
loplugin:constantparam in xmloff/
Change-Id: I376f1d4ac65de584f9caa6ba8e25e43216374112 Reviewed-on: https://gerrit.libreoffice.org/23295 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'xmloff/inc')
-rw-r--r--xmloff/inc/XMLBase64Export.hxx1
-rw-r--r--xmloff/inc/XMLPercentOrMeasurePropertyHandler.hxx2
-rw-r--r--xmloff/inc/txtflde.hxx4
3 files changed, 2 insertions, 5 deletions
diff --git a/xmloff/inc/XMLBase64Export.hxx b/xmloff/inc/XMLBase64Export.hxx
index f3cbac27651d..a33c00b2296d 100644
--- a/xmloff/inc/XMLBase64Export.hxx
+++ b/xmloff/inc/XMLBase64Export.hxx
@@ -39,7 +39,6 @@ public:
bool exportXML( const css::uno::Reference < css::io::XInputStream > & rIn );
bool exportElement( const css::uno::Reference < css::io::XInputStream > & rIn,
- sal_uInt16 nNamespace,
enum ::xmloff::token::XMLTokenEnum eName );
bool exportOfficeBinaryDataElement(
const css::uno::Reference < css::io::XInputStream > & rIn );
diff --git a/xmloff/inc/XMLPercentOrMeasurePropertyHandler.hxx b/xmloff/inc/XMLPercentOrMeasurePropertyHandler.hxx
index b293accfca6f..152d8669149b 100644
--- a/xmloff/inc/XMLPercentOrMeasurePropertyHandler.hxx
+++ b/xmloff/inc/XMLPercentOrMeasurePropertyHandler.hxx
@@ -30,7 +30,7 @@ class XMLPercentOrMeasurePropertyHandler : public XMLPropertyHandler
private:
bool mbPercent;
public:
- XMLPercentOrMeasurePropertyHandler( bool bPercent );
+ XMLPercentOrMeasurePropertyHandler();
virtual ~XMLPercentOrMeasurePropertyHandler ();
virtual bool importXML(
diff --git a/xmloff/inc/txtflde.hxx b/xmloff/inc/txtflde.hxx
index 20025a0113f9..168214358386 100644
--- a/xmloff/inc/txtflde.hxx
+++ b/xmloff/inc/txtflde.hxx
@@ -287,7 +287,6 @@ protected:
void ProcessString(
enum ::xmloff::token::XMLTokenEnum eXmlName, /// attribute token (namespace text)
enum ::xmloff::token::XMLTokenEnum eValue, /// attribute token
- bool bOmitEmpty = false, /// omit attribute, if value is empty
sal_uInt16 nPrefix = XML_NAMESPACE_TEXT); /// attribute name prefix
/// export a string attribute, omit if default
@@ -336,8 +335,7 @@ protected:
enum ::xmloff::token::XMLTokenEnum eXMLName, /// attribute token
sal_Int32 nMinutes, /// date/time value in minutes
bool bIsDate, /// export as date?
- bool bIsDuration, /// export as duration?
- bool bOmitDurationIfZero); /// omit zero-length durations
+ bool bIsDuration); /// export as duration?
/// export times, dates and durations according to ISO 8601
void ProcessDateTime(