summaryrefslogtreecommitdiff
path: root/svx/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-02-06 13:51:47 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-07 06:01:27 +0000
commitd91c81e4335ccf6a383d1d66d789f2478c92bc7a (patch)
treeb83dfcaca42fddd5a6128a049e45b1f09046d82c /svx/inc
parentc57cbcea9a4434eddba31d185e738cc7e3fbd73c (diff)
convert GalleryBrowserTravel to scoped enum
and drop unused GALLERYBROWSERTRAVEL_CURRENT value Change-Id: Id91824cbe024d4b5109ee0755b518164837bc6a6 Reviewed-on: https://gerrit.libreoffice.org/33965 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/inc')
-rw-r--r--svx/inc/galbrws2.hxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/svx/inc/galbrws2.hxx b/svx/inc/galbrws2.hxx
index e7168f03f97f..3db2b5a37203 100644
--- a/svx/inc/galbrws2.hxx
+++ b/svx/inc/galbrws2.hxx
@@ -44,13 +44,9 @@ enum GalleryBrowserMode
};
-enum GalleryBrowserTravel
+enum class GalleryBrowserTravel
{
- GALLERYBROWSERTRAVEL_CURRENT = 0,
- GALLERYBROWSERTRAVEL_FIRST = 1,
- GALLERYBROWSERTRAVEL_LAST = 2,
- GALLERYBROWSERTRAVEL_PREVIOUS = 3,
- GALLERYBROWSERTRAVEL_NEXT = 4
+ First, Last, Previous, Next
};
enum class GalleryItemFlags {