diff options
author | Noel Grandin <noel@peralex.com> | 2016-02-25 13:59:56 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-02-25 14:18:54 +0200 |
commit | 535aa95014b4f30ba5f06a563c35db6c98cca9d9 (patch) | |
tree | ed5373234b317b750ab766965e43ab8bbb39a28f /include/xmloff/xmlexp.hxx | |
parent | d375cafef68e8be9d0d35cbb535b8481a3913ace (diff) |
loplugin:unuseddefaultparams in xmloff/
Change-Id: Ia504a4e96a4ebc8404fe6881e0f77fba29cd00ae
Diffstat (limited to 'include/xmloff/xmlexp.hxx')
-rw-r--r-- | include/xmloff/xmlexp.hxx | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/include/xmloff/xmlexp.hxx b/include/xmloff/xmlexp.hxx index a6e97f7659bf..599e3dd6fe39 100644 --- a/include/xmloff/xmlexp.hxx +++ b/include/xmloff/xmlexp.hxx @@ -328,12 +328,10 @@ public: be added, as well.</p> @param i_rNamespace the namespace to be declared - @param i_rPreferredPrefix (opt.) preferred prefix for the namespace @returns the actual prefix that the namespace is associated with */ - OUString EnsureNamespace(OUString const & i_rNamespace, - OUString const & i_rPreferredPrefix = OUString("gen") ); + OUString EnsureNamespace(OUString const & i_rNamespace ); // Check if common attribute list is empty. #ifndef DBG_UTIL @@ -374,17 +372,9 @@ public: @param bWriteEmpty Whether to write empty *:language and *:country attribute values in case of an empty locale (denoting system). - - @param eClass - default, XML_LANGUAGE: XML_SCRIPT, XML_COUNTRY, XML_RFC_LANGUAGE_TAG - XML_LANGUAGE_ASIAN: XML_SCRIPT_ASIAN, XML_COUNTRY_ASIAN, XML_RFC_LANGUAGE_TAG_ASIAN - also switches nPrefix XML_NAMESPACE_FO to XML_NAMESPACE_STYLE - XML_LANGUAGE_COMPLEX: XML_SCRIPT_COMPLEX, XML_COUNTRY_COMPLEX, XML_RFC_LANGUAGE_TAG_COMPLEX - also switches nPrefix XML_NAMESPACE_FO to XML_NAMESPACE_STYLE */ void AddLanguageTagAttributes( sal_uInt16 nPrefix, sal_uInt16 nPrefixRfc, - const css::lang::Locale& rLocale, bool bWriteEmpty, - enum ::xmloff::token::XMLTokenEnum eClass = ::xmloff::token::XML_LANGUAGE ); + const css::lang::Locale& rLocale, bool bWriteEmpty); /** Same as AddLanguageTagAttributes() but with LanguageTag parameter instead of Locale. |