diff options
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; |