summaryrefslogtreecommitdiff
path: root/include/svl/itemiter.hxx
diff options
context:
space:
mode:
authorPhilipp Hofer <philipp.hofer@protonmail.com>2020-11-12 13:03:16 +0100
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2020-11-21 13:19:17 +0100
commit01baeab99890e5650b3dabc15f8d900490a5a133 (patch)
tree64a1b30b20a53262605312fff4d035876fc7c811 /include/svl/itemiter.hxx
parent0108cd51faf942b3fc3a292522d4b2f421f1cf45 (diff)
tdf#123936 Formatting files in module include with clang-format
Change-Id: I0507dd797cd5a35e0ae14f4b69ee4e172d08a71a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105681 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Jenkins
Diffstat (limited to 'include/svl/itemiter.hxx')
-rw-r--r--include/svl/itemiter.hxx11
1 files changed, 5 insertions, 6 deletions
diff --git a/include/svl/itemiter.hxx b/include/svl/itemiter.hxx
index 3d690c98890d..c6d82e41b621 100644
--- a/include/svl/itemiter.hxx
+++ b/include/svl/itemiter.hxx
@@ -26,13 +26,13 @@ class SfxPoolItem;
class SVL_DLLPUBLIC SfxItemIter
{
- const SfxItemSet& m_rSet;
+ const SfxItemSet& m_rSet;
sal_uInt16 m_nStart;
sal_uInt16 m_nEnd;
sal_uInt16 m_nCurrent;
public:
- SfxItemIter( const SfxItemSet& rSet );
+ SfxItemIter(const SfxItemSet& rSet);
~SfxItemIter();
/// get item, or null if no items
@@ -42,15 +42,14 @@ public:
}
const SfxPoolItem* NextItem() { return (m_nCurrent < m_nEnd) ? ImplNextItem() : nullptr; }
- bool IsAtEnd() const { return m_nCurrent == m_nEnd; }
+ bool IsAtEnd() const { return m_nCurrent == m_nEnd; }
- sal_uInt16 GetCurPos() const { return m_nCurrent; }
+ sal_uInt16 GetCurPos() const { return m_nCurrent; }
sal_uInt16 GetFirstPos() const { return m_nStart; }
- sal_uInt16 GetLastPos() const { return m_nEnd; }
+ sal_uInt16 GetLastPos() const { return m_nEnd; }
private:
const SfxPoolItem* ImplNextItem();
-
};
#endif