summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chart2/source/controller/uitest/uiobject.cxx6
-rw-r--r--toolkit/source/controls/unocontrolcontainer.cxx6
2 files changed, 6 insertions, 6 deletions
diff --git a/chart2/source/controller/uitest/uiobject.cxx b/chart2/source/controller/uitest/uiobject.cxx
index e850573b97f2..651c407565d7 100644
--- a/chart2/source/controller/uitest/uiobject.cxx
+++ b/chart2/source/controller/uitest/uiobject.cxx
@@ -150,15 +150,15 @@ namespace {
void recursiveAdd(chart::ObjectIdentifier const & rID, std::set<OUString>& rChildren, const chart::ObjectHierarchy& rHierarchy)
{
- std::vector<chart::ObjectIdentifier> aChildIndentifiers = rHierarchy.getChildren(rID);
- std::transform(aChildIndentifiers.begin(), aChildIndentifiers.end(), std::inserter(rChildren, rChildren.begin()),
+ std::vector<chart::ObjectIdentifier> aChildIdentifiers = rHierarchy.getChildren(rID);
+ std::transform(aChildIdentifiers.begin(), aChildIdentifiers.end(), std::inserter(rChildren, rChildren.begin()),
[](const chart::ObjectIdentifier& rObject)
{
return rObject.getObjectCID();
}
);
- for (const chart::ObjectIdentifier& ID: aChildIndentifiers)
+ for (const chart::ObjectIdentifier& ID: aChildIdentifiers)
recursiveAdd(ID, rChildren, rHierarchy);
}
diff --git a/toolkit/source/controls/unocontrolcontainer.cxx b/toolkit/source/controls/unocontrolcontainer.cxx
index 552b9ee52af8..b1d0454fc492 100644
--- a/toolkit/source/controls/unocontrolcontainer.cxx
+++ b/toolkit/source/controls/unocontrolcontainer.cxx
@@ -184,11 +184,11 @@ void UnoControlHolderList::getControls( uno::Sequence< uno::Reference< awt::XCon
void UnoControlHolderList::getIdentifiers( uno::Sequence< sal_Int32 >& _out_rIdentifiers ) const
{
_out_rIdentifiers.realloc( maControls.size() );
- sal_Int32* pIndentifiers = _out_rIdentifiers.getArray();
+ sal_Int32* pIdentifiers = _out_rIdentifiers.getArray();
for (const auto& rEntry : maControls)
{
- *pIndentifiers = rEntry.first;
- ++pIndentifiers;
+ *pIdentifiers = rEntry.first;
+ ++pIdentifiers;
}
}