Noel Grandin
a0032a2dc2
improve o3tl::enumarray const-ness
...
Change-Id: I7b0d10b024edf604a7dea0e3b1399073f4bcba92
Reviewed-on: https://gerrit.libreoffice.org/43773
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk >
2017-10-25 16:42:08 +02:00
Noel Grandin
fe0bba96ac
Convert VclPackType to scoped enum
...
Change-Id: I5bcc4f8686c1ce5bf7def948ce50837fa542786f
Reviewed-on: https://gerrit.libreoffice.org/25394
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2016-05-24 13:07:03 +00:00
David Tardon
de26372420
remove unneeded sal/config.h
...
Change-Id: I7c8f06574053706f925df773aefc32407312c4dd
2016-01-29 14:11:25 +01:00
Stephan Bergmann
96fea1a05d
Make enumarray_iterator adhere to iterator requirements
...
...or else using it with GCC 6 libstdc++ std::find causes compilation failures
Change-Id: I95e674922348f72fab6da8f049b2b4fcbdc74d07
2016-01-19 10:46:13 +01:00
Andrea Gelmini
64d624b651
Fix typos
...
Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86
Reviewed-on: https://gerrit.libreoffice.org/21209
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com >
2016-01-10 14:17:20 +00:00
Stephan Bergmann
ba45d25420
Replace "SAL_FINAL" with "final" in LIBO_INTERNAL_ONLY code
...
Change-Id: Ifa5ba21308e32df44571fa2941370f2f11179580
2015-10-12 17:52:30 +02:00
Stephan Bergmann
d01810b745
enumarray_iterator should not have a deleted copy assignment op
...
Change-Id: I1e5f8dcfe0801eca10622eefab43b674b6b3e956
2015-04-29 11:15:11 +02:00
Noel Grandin
6bb742b9cb
convert STR_EVENT constants to scoped enum
...
- also add needed infrastructure to o3tl::enumarray so we can use
std::find on it
- move the Impl inside the .cxx file, no need to expose it in the header
Change-Id: I7758a6175849f46723d97b1e657f846524c3b7cd
2015-04-29 10:41:40 +02:00
Noel Grandin
35163715ea
loplugin:staticmethods
...
Change-Id: Ie348778ea666c24e95e048386547f301083a0017
2015-04-09 10:13:18 +02:00
Noel Grandin
4906c24387
convert SvtModuleOptions::EFactory to enum class
...
and fix issues in iterating through o3tl::enumarray
Change-Id: Ia59ef9be44d8c92c2e406fa71aa92269578e26e3
2015-04-07 13:05:34 +02:00
Stephan Bergmann
44b3e56bb4
Change INetProtocol to scoped enumeration
...
...and fix o3tl::enumarray::operator [] const overload
Change-Id: I749b1b9d68686b03a97074253478d9d2d9d32b0b
2015-04-02 16:30:34 +02:00
Stephan Bergmann
0b4965bcd7
Model o3tl::enumarray after std::array to allow aggregate initialization
...
...though that requires switching of C++ -Wmissing-braces for Clang and for old
GCC (new GCC already dropped it from C++ -Wall, see
<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25137#c17 >).
Change-Id: I92acc4c529d634c4190e0ee4b65d1fbe5b1b521f
2015-04-02 16:30:33 +02:00
Noel Grandin
4b66829390
convert BOX_LINE and BOXINFO_LINE to enum class
...
since their usage is intertwined.
Also introduce new o3tl utilities enumrange and enumarray to make
working with scoped enums a little simpler.
Change-Id: I2e1cc65dd7c638e59f17d96dfae504747cad6533
2015-04-01 09:36:19 +02:00