summaryrefslogtreecommitdiffstats
path: root/include/svx/unoapi.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-11-21 11:45:50 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-21 12:09:09 +0000
commitbeb8cfcf32f855a0fb638caef4782d9d867e3102 (patch)
tree23b5a2376ecacc2977c3ce5f3a2be182abb05b3b /include/svx/unoapi.hxx
parentcppcanvas, oox: add missing #include <osl/endian.h> (diff)
downloadcore-beb8cfcf32f855a0fb638caef4782d9d867e3102.tar.gz
core-beb8cfcf32f855a0fb638caef4782d9d867e3102.zip
convert inventorId to scoped enum
SW_DRAWLAYER had the same value as SC_DRAWLAYER, so I merged it into the ScOrSwDraw enum constant Change-Id: I5c45d378c00364d11cc960c9e48a6e3f10928724 Reviewed-on: https://gerrit.libreoffice.org/31037 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx/unoapi.hxx')
-rw-r--r--include/svx/unoapi.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/svx/unoapi.hxx b/include/svx/unoapi.hxx
index 6afd9c137c44..35e7098ee051 100644
--- a/include/svx/unoapi.hxx
+++ b/include/svx/unoapi.hxx
@@ -33,12 +33,13 @@ class SdrObject;
class SdrPage;
class SvxNumBulletItem;
class SfxItemPool;
+enum class SdrInventor : sal_uInt32;
/**
* Creates a StarOffice API wrapper with the given type and inventor
* Deprecated: This will be replaced with a function returning XShape.
*/
-SVX_DLLPUBLIC SvxShape* CreateSvxShapeByTypeAndInventor(sal_uInt16 nType, sal_uInt32 nInventor, OUString const & referer)
+SVX_DLLPUBLIC SvxShape* CreateSvxShapeByTypeAndInventor(sal_uInt16 nType, SdrInventor nInventor, OUString const & referer)
throw (css::uno::RuntimeException, std::exception);
/** Returns a StarOffice API wrapper for the given SdrObject */