diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-05-28 13:18:41 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-05-29 09:40:12 +0200 |
commit | 31b0be0f21479323408e128f2e8a1a795e037e74 (patch) | |
tree | 97f4d31113dc06084758042cd6e87f73c5c5a43e /comphelper | |
parent | f1ce5c3e7e621334be29df0fa425803ce77afb28 (diff) |
improve pahole script and pack a few classes
(*) fix: I was substracting the padding space instead of adding it
when calculating how much free space we had to improve.
(*) sort input data, so we process structs located in the same DSO
together, which reduces GDB's memory usage
(*) handle another error condition, where gdbs output is sufficiently
mixed up that we miss the end of commands terminator
Change-Id: Ic4bb92b736f38a2b3d90e4a14485152b7f869b43
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95041
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/container/enumhelper.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/comphelper/source/container/enumhelper.cxx b/comphelper/source/container/enumhelper.cxx index 6c05c89d3cd7..edcb03c669cc 100644 --- a/comphelper/source/container/enumhelper.cxx +++ b/comphelper/source/container/enumhelper.cxx @@ -27,8 +27,8 @@ namespace comphelper OEnumerationByName::OEnumerationByName(const css::uno::Reference<css::container::XNameAccess>& _rxAccess) :m_aNames(_rxAccess->getElementNames()) - ,m_nPos(0) ,m_xAccess(_rxAccess) + ,m_nPos(0) ,m_bListening(false) { impl_startDisposeListening(); @@ -38,8 +38,8 @@ OEnumerationByName::OEnumerationByName(const css::uno::Reference<css::container: OEnumerationByName::OEnumerationByName(const css::uno::Reference<css::container::XNameAccess>& _rxAccess, const css::uno::Sequence< OUString >& _aNames ) :m_aNames(_aNames) - ,m_nPos(0) ,m_xAccess(_rxAccess) + ,m_nPos(0) ,m_bListening(false) { impl_startDisposeListening(); |