diff options
author | Alexander Wilms <f.alexander.wilms@gmail.com> | 2014-02-25 18:22:33 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-26 10:20:05 -0600 |
commit | 75bbbf964b7976cc02d5ba054760bf93cb2e76c9 (patch) | |
tree | a20660b861414f454d9ae8ff7b554bc1667e3bdb /dtrans/test/win32/dnd/dndTest.cxx | |
parent | 5faf5492741abfd013ae677b1ec2fc06276d8644 (diff) |
Remove visual noise from dtrans
Change-Id: Ic460e514ac078a69cd86381b9b5cf779eb97971b
Reviewed-on: https://gerrit.libreoffice.org/8254
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'dtrans/test/win32/dnd/dndTest.cxx')
-rw-r--r-- | dtrans/test/win32/dnd/dndTest.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/dtrans/test/win32/dnd/dndTest.cxx b/dtrans/test/win32/dnd/dndTest.cxx index f78d6ef77f78..084555eb2122 100644 --- a/dtrans/test/win32/dnd/dndTest.cxx +++ b/dtrans/test/win32/dnd/dndTest.cxx @@ -49,7 +49,6 @@ using namespace com::sun::star::uno; using namespace com::sun::star::datatransfer::dnd; using namespace com::sun::star::datatransfer::dnd::DNDConstants; - #define WM_CREATE_MTA_WND HRESULT doTest(); @@ -66,7 +65,6 @@ int main( int argc, char *argv[ ], char *envp[ ] ) return -1; } - _Module.Init( ObjectMap, GetModuleHandle( NULL)); if( FAILED(hr=doTest())) @@ -74,7 +72,6 @@ int main( int argc, char *argv[ ], char *envp[ ] ) _com_error err( hr); } - _Module.Term(); CoUninitialize(); return 0; @@ -93,7 +90,6 @@ HRESULT doTest() WaitForSingleObject( evt, INFINITE); CloseHandle(evt); - HRESULT hr= S_OK; RECT pos1={0,0,300,200}; AWindow win(_T("DnD starting in Ole STA"), threadIdMTA, pos1); @@ -108,7 +104,6 @@ HRESULT doTest() RECT pos4={ 300, 205, 600, 405}; AWindow win24( _T("DnD starting in Ole MTA"), threadIdMTA, pos4, true, true); - MSG msg; while( GetMessage(&msg, (HWND)NULL, 0, 0) ) { @@ -179,7 +174,6 @@ DWORD WINAPI MTAFunc( void* threadData) DispatchMessage( &msg); } - CoUninitialize(); return 0; } |