[Libreoffice-commits] core.git: chart2/source toolkit/source
Andrea Gelmini (via logerrit)
logerrit at kemper.freedesktop.org
Tue Sep 1 17:55:42 UTC 2020
chart2/source/controller/uitest/uiobject.cxx | 6 +++---
toolkit/source/controls/unocontrolcontainer.cxx | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
New commits:
commit 62ca189dbc9d21a11fd638245c3c2abd438d39ac
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Mon Aug 31 14:41:23 2020 +0200
Commit: Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Tue Sep 1 19:54:59 2020 +0200
Fix typo in code
It passed "make check" on Linux
Change-Id: I5beec4b326b7f59103de374dff8169718defc8ea
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101779
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
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;
}
}
More information about the Libreoffice-commits
mailing list