summaryrefslogtreecommitdiff
path: root/include/oox/helper/containerhelper.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-02 16:39:41 +0200
committerNoel Grandin <noel@peralex.com>2016-03-03 08:11:02 +0200
commit2b7215e6fa12cd947bdbbe195909642a850cfd69 (patch)
treedadafac588440a970fe5de3106388f6f8276b775 /include/oox/helper/containerhelper.hxx
parentfecfd9c4987229c7fb335c6c6ba847e2ec30d40d (diff)
loplugin:unuseddefaultparams in oox
Change-Id: If05662102e161d3dd56bbb6ed3964e63ba853cf9
Diffstat (limited to 'include/oox/helper/containerhelper.hxx')
-rw-r--r--include/oox/helper/containerhelper.hxx19
1 files changed, 6 insertions, 13 deletions
diff --git a/include/oox/helper/containerhelper.hxx b/include/oox/helper/containerhelper.hxx
index 66d098f869ce..6fc6bd7eb6af 100644
--- a/include/oox/helper/containerhelper.hxx
+++ b/include/oox/helper/containerhelper.hxx
@@ -150,8 +150,7 @@ public:
static OUString getUnusedName(
const css::uno::Reference< css::container::XNameAccess >& rxNameAccess,
const OUString& rSuggestedName,
- sal_Unicode cSeparator,
- sal_Int32 nFirstIndexToAppend = 1 );
+ sal_Unicode cSeparator );
/** Inserts an object into a name container.
@@ -167,8 +166,7 @@ public:
static bool insertByName(
const css::uno::Reference< css::container::XNameContainer >& rxNameContainer,
const OUString& rName,
- const css::uno::Any& rObject,
- bool bReplaceOldExisting = true );
+ const css::uno::Any& rObject );
/** Inserts an object into a name container.
@@ -184,13 +182,9 @@ public:
@param rObject The object to be inserted.
- @param bRenameOldExisting Specifies behaviour if an object with the
- suggested name already exists. If false (default), the new object
- will be inserted with a name not yet extant in the container (this
- is done by appending a numerical index to the suggested name). If
- true, the existing object will be removed and inserted with an
- unused name, and the new object will be inserted with the suggested
- name.
+ The new object
+ will be inserted with a name not yet extant in the container (this
+ is done by appending a numerical index to the suggested name).
@return The final name the object is inserted with. Will always be
equal to the suggested name, if parameter bRenameOldExisting is
@@ -200,8 +194,7 @@ public:
const css::uno::Reference< css::container::XNameContainer >& rxNameContainer,
const OUString& rSuggestedName,
sal_Unicode cSeparator,
- const css::uno::Any& rObject,
- bool bRenameOldExisting = false );
+ const css::uno::Any& rObject );
// std::vector and std::map element access --------------------------------