diff options
Diffstat (limited to 'vcl/win/dtrans/MtaOleClipb.hxx')
-rw-r--r-- | vcl/win/dtrans/MtaOleClipb.hxx | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/vcl/win/dtrans/MtaOleClipb.hxx b/vcl/win/dtrans/MtaOleClipb.hxx index c406f81aafd3..a76b85e3b059 100644 --- a/vcl/win/dtrans/MtaOleClipb.hxx +++ b/vcl/win/dtrans/MtaOleClipb.hxx @@ -75,15 +75,15 @@ private: LRESULT onClipboardUpdate(); static LRESULT CALLBACK mtaOleReqWndProc( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam ); - static unsigned int WINAPI oleThreadProc( LPVOID pParam ); + static DWORD WINAPI oleThreadProc( _In_ LPVOID pParam ); - static unsigned int WINAPI clipboardChangedNotifierThreadProc( LPVOID pParam ); + static DWORD WINAPI clipboardChangedNotifierThreadProc( _In_ LPVOID pParam ); bool WaitForThreadReady( ) const; private: HANDLE m_hOleThread; - unsigned m_uOleThreadId; + DWORD m_uOleThreadId; HANDLE m_hEvtThrdReady; HWND m_hwndMtaOleReqWnd; HANDLE m_hEvtWndDisposed; @@ -103,12 +103,8 @@ private: static CMtaOleClipboard* s_theMtaOleClipboardInst; -// not allowed -private: - CMtaOleClipboard( const CMtaOleClipboard& ); - CMtaOleClipboard& operator=( const CMtaOleClipboard& ); - - friend LRESULT CALLBACK mtaOleReqWndProc( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam ); + CMtaOleClipboard( const CMtaOleClipboard& ) = delete; + CMtaOleClipboard& operator=( const CMtaOleClipboard& ) = delete; }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |