summaryrefslogtreecommitdiff
path: root/include/svx
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2016-09-05 09:35:44 +0200
committerJochen Nitschke <j.nitschke+logerrit@ok.de>2016-09-05 10:18:12 +0000
commit8d3efdfe0cbc21e7bff57f6d265ed6d6cefece7f (patch)
tree002c5fb403535c11194169cb246ab7f256545cee /include/svx
parent7471d39ec6bfa494e5e5066e2942cf3b638a7fb3 (diff)
fix LAST enum members
SdrRepeatFunc doesn't use it. XPropertyListType needs LAST for o3tl enum range. this fixes warning in svx/source/xoutdev/xtable.cxx:359: unknown xproperty type Change-Id: I5c3b7d0fa55c46002240e4f1697b1f21a0e364f4 Reviewed-on: https://gerrit.libreoffice.org/28672 Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'include/svx')
-rw-r--r--include/svx/svdtypes.hxx1
-rw-r--r--include/svx/xtable.hxx2
2 files changed, 1 insertions, 2 deletions
diff --git a/include/svx/svdtypes.hxx b/include/svx/svdtypes.hxx
index bb849c1f6f11..f999a92c91d8 100644
--- a/include/svx/svdtypes.hxx
+++ b/include/svx/svdtypes.hxx
@@ -108,7 +108,6 @@ enum class SdrRepeatFunc {
MoveToBottom,
ReverseOrder,
ImportMtf,
- LAST
};
#endif // INCLUDED_SVX_SVDTYPES_HXX
diff --git a/include/svx/xtable.hxx b/include/svx/xtable.hxx
index 39fc5f763ad9..359ad4318ed6 100644
--- a/include/svx/xtable.hxx
+++ b/include/svx/xtable.hxx
@@ -153,7 +153,7 @@ enum class XPropertyListType {
Gradient,
Bitmap,
Pattern,
- LAST
+ LAST = Pattern
};
typedef rtl::Reference< class XPropertyList > XPropertyListRef;