diff options
Diffstat (limited to 'include/sfx2/groupid.hxx')
-rw-r--r-- | include/sfx2/groupid.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/sfx2/groupid.hxx b/include/sfx2/groupid.hxx index 7829fa8c0298..fd31785ae3b4 100644 --- a/include/sfx2/groupid.hxx +++ b/include/sfx2/groupid.hxx @@ -26,7 +26,8 @@ // !! If you add a new group, please change sfxbasecontroller.cxx and // !! com.sun.star.frame.CommandGroup accordingly! -enum class SfxGroupId { +enum class SfxGroupId +{ NONE = 0, Intern = 32700, Application, @@ -59,14 +60,13 @@ enum class SfxGroupId { // make it hashable for storing in maps namespace std { - template <> - struct hash<SfxGroupId> - { +template <> struct hash<SfxGroupId> +{ std::size_t operator()(const SfxGroupId& k) const { - return std::hash<sal_uInt16>()(static_cast<sal_uInt16>(k)); + return std::hash<sal_uInt16>()(static_cast<sal_uInt16>(k)); } - }; +}; } #endif |