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 /desktop | |
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 'desktop')
-rw-r--r-- | desktop/source/lib/lokclipboard.cxx | 2 | ||||
-rw-r--r-- | desktop/source/lib/lokclipboard.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/lib/lokclipboard.cxx b/desktop/source/lib/lokclipboard.cxx index 376bcd72d238..fa74fa0513b4 100644 --- a/desktop/source/lib/lokclipboard.cxx +++ b/desktop/source/lib/lokclipboard.cxx @@ -30,7 +30,7 @@ OUString SAL_CALL LOKClipboard::getName() throw (uno::RuntimeException, std::exc return OUString(); } -LOKTransferable::LOKTransferable(const char* pMimeType, const char* pData, size_t nSize) +LOKTransferable::LOKTransferable(const char* pMimeType, const char* pData, std::size_t nSize) : m_aMimeType(pMimeType), m_aSequence(reinterpret_cast<const sal_Int8*>(pData), nSize) { diff --git a/desktop/source/lib/lokclipboard.hxx b/desktop/source/lib/lokclipboard.hxx index a0ab6451e0c0..59b8cdf00ebf 100644 --- a/desktop/source/lib/lokclipboard.hxx +++ b/desktop/source/lib/lokclipboard.hxx @@ -41,7 +41,7 @@ class LOKTransferable : public cppu::WeakImplHelper<css::datatransfer::XTransfer std::vector<css::datatransfer::DataFlavor> getTransferDataFlavorsAsVector(); public: - LOKTransferable(const char* pMimeType, const char* pData, size_t nSize); + LOKTransferable(const char* pMimeType, const char* pData, std::size_t nSize); virtual css::uno::Any SAL_CALL getTransferData(const css::datatransfer::DataFlavor& rFlavor) throw(css::datatransfer::UnsupportedFlavorException, css::io::IOException, css::uno::RuntimeException, std::exception) override; |