summaryrefslogtreecommitdiff
path: root/winaccessibility/inc/ResIDGenerator.hxx
diff options
context:
space:
mode:
authorPhilipp Hofer <philipp.hofer@protonmail.com>2020-11-12 13:27:36 +0100
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2020-11-18 12:29:18 +0100
commit65717f77c43ca7cbf91e4c158d643a02a181e439 (patch)
treefde79d472210f884b905f6a5187c700eca615c60 /winaccessibility/inc/ResIDGenerator.hxx
parentb9e9ac51a731a1b9515d935fd543218b2ee107c1 (diff)
tdf#123936 Formatting files in module winaccessibility with clang-format
Change-Id: I9d5b9697cb241b306d0614fb563feb5594c19887 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105729 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Diffstat (limited to 'winaccessibility/inc/ResIDGenerator.hxx')
-rw-r--r--winaccessibility/inc/ResIDGenerator.hxx12
1 files changed, 4 insertions, 8 deletions
diff --git a/winaccessibility/inc/ResIDGenerator.hxx b/winaccessibility/inc/ResIDGenerator.hxx
index e5995f65b48d..abd9ec488c83 100644
--- a/winaccessibility/inc/ResIDGenerator.hxx
+++ b/winaccessibility/inc/ResIDGenerator.hxx
@@ -28,21 +28,17 @@
class ResIDGenerator
{
private:
-
long max;
std::deque<long> subList;
public:
-
ResIDGenerator(long maxNum = PRIMARY_RESID)
- : max(maxNum) {}
+ : max(maxNum)
+ {
+ }
~ResIDGenerator();
long GenerateNewResID();
- void SetSub(long number)
- {
- subList.push_back(number);
- };
-
+ void SetSub(long number) { subList.push_back(number); };
};
#endif // INCLUDED_WINACCESSIBILITY_INC_RESIDGENERATOR_HXX