diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-04-04 08:57:19 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-04-04 09:11:51 +0000 |
commit | 4e444871a4c9d819c136b383c81b7f7df386a78d (patch) | |
tree | e13952b0da7c2d615380b26d9df1e56dd7d6f20d /include | |
parent | b62e6b011a3c9a340353546b73ff2eda0e793215 (diff) |
Use std::size_t
And include <cstddef> where necessary.
Change-Id: Icc1208528d6a8b04375d55ccbf3cd6ef046b454f
Reviewed-on: https://gerrit.libreoffice.org/23796
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/lokhelper.hxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/sfx2/lokhelper.hxx b/include/sfx2/lokhelper.hxx index 99f2076eeea1..399c1520c328 100644 --- a/include/sfx2/lokhelper.hxx +++ b/include/sfx2/lokhelper.hxx @@ -11,6 +11,7 @@ #define INCLUDED_SFX2_LOKHELPER_HXX #include <sfx2/dllapi.h> +#include <cstddef> class SfxViewShell; @@ -20,13 +21,13 @@ public: /// Create a new view shell from the current view frame. static int createView(); /// Destroy a view shell from the global shell list. - static void destroyView(size_t nId); + static void destroyView(std::size_t nId); /// Set a view shell as current one. - static void setView(size_t nId); + static void setView(std::size_t nId); /// Get the currently active view. - static size_t getView(); + static std::size_t getView(); /// Get the number of views of the current object shell. - static size_t getViews(); + static std::size_t getViews(); }; #endif |