summaryrefslogtreecommitdiff
path: root/xmloff/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-02-25 11:33:33 +0200
committerNoel Grandin <noel@peralex.com>2016-02-25 11:42:35 +0200
commit4fbf95deba87ed28ee8eb8442477832e46ba76c6 (patch)
tree2a1628497cc891de6ede5f5b33613e6e4deb63ef /xmloff/inc
parentf66d734bcd994cb5fc2f38a8d9018e13385cd10c (diff)
new loplugin:unuseddefaultparams
Change-Id: I2c3e7d66be9e3883ea2801ff394948cc580d1e44
Diffstat (limited to 'xmloff/inc')
-rw-r--r--xmloff/inc/txtflde.hxx25
1 files changed, 8 insertions, 17 deletions
diff --git a/xmloff/inc/txtflde.hxx b/xmloff/inc/txtflde.hxx
index 3b50ba4ccd9d..53ddb9ee015e 100644
--- a/xmloff/inc/txtflde.hxx
+++ b/xmloff/inc/txtflde.hxx
@@ -229,9 +229,7 @@ protected:
/// export an element with string content
void ExportElement(enum ::xmloff::token::XMLTokenEnum eElement, /// element token
- const OUString& sContent, /// element content
- bool bAddSpace = false); /// add blanks around
- /// element?
+ const OUString& sContent); /// element content
/// export a macro (as used in the macro field)
void ExportMacro( const css::uno::Reference< css::beans::XPropertySet> & rPropSet,
@@ -278,16 +276,14 @@ protected:
void ProcessString(
enum ::xmloff::token::XMLTokenEnum eXmlName, /// attribute token (namespace text)
const OUString& sValue, /// attribute value
- const OUString& sDefault, /// default value; omit if equal
- sal_uInt16 nPrefix = XML_NAMESPACE_TEXT); /// attribute name prefix
+ const OUString& sDefault); /// default value; omit if equal
/// export a string attribute, omit if default
void ProcessString(
enum ::xmloff::token::XMLTokenEnum eXmlName, /// attribute token (namespace text)
sal_uInt16 nValuePrefix,
const OUString& sValue, /// attribute value
- const OUString& sDefault, /// default value; omit if equal
- sal_uInt16 nPrefix = XML_NAMESPACE_TEXT); /// attribute name prefix
+ const OUString& sDefault); /// default value; omit if equal
/// export a string attribute
void ProcessString(
@@ -300,8 +296,7 @@ protected:
void ProcessString(
enum ::xmloff::token::XMLTokenEnum eXmlName, /// attribute token (namespace text)
enum ::xmloff::token::XMLTokenEnum eValue, /// attribute value token
- enum ::xmloff::token::XMLTokenEnum eDefault, /// default value token
- sal_uInt16 nPrefix = XML_NAMESPACE_TEXT); /// attribute name prefix
+ enum ::xmloff::token::XMLTokenEnum eDefault); /// default value token
/// export a string as a sequence of paragraphs
void ProcessParagraphSequence(
@@ -314,8 +309,7 @@ protected:
/// export display attribute (value, formula, none)
void ProcessDisplay(bool bIsVisible, /// is visible?
- bool bIsCommand, /// is show command/show name?
- bool bDefault = true); /// omit, if default
+ bool bIsCommand); /// is show command/show name?
/// export all data-style related attributes
void ProcessValueAndType(
@@ -345,21 +339,18 @@ protected:
sal_Int32 nMinutes, /// date/time value in minutes
bool bIsDate, /// export as date?
bool bIsDuration, /// export as duration?
- bool bOmitDurationIfZero, /// omit zero-length durations
- sal_uInt16 nPrefix = XML_NAMESPACE_TEXT); /// attribute name prefix
+ bool bOmitDurationIfZero); /// omit zero-length durations
/// export times, dates and durations according to ISO 8601
void ProcessDateTime(
enum ::xmloff::token::XMLTokenEnum eXMLName, /// attribute token
const css::util::DateTime& rTime, /// date/time value
- bool bIsDate, /// export as date (rather than date/time)?
- sal_uInt16 nPrefix = XML_NAMESPACE_TEXT); /// attribute name prefix
+ bool bIsDate); /// export as date (rather than date/time)?
/// export time or dateTime
void ProcessTimeOrDateTime(
enum ::xmloff::token::XMLTokenEnum eXMLName, /// attribute token
- const css::util::DateTime& rTime, /// date/time value
- sal_uInt16 nPrefix = XML_NAMESPACE_TEXT); /// attribute name prefix
+ const css::util::DateTime& rTime); /// date/time value
/// export all attributes for bibliography data fields
void ProcessBibliographyData(