summaryrefslogtreecommitdiff
path: root/dtrans/source/win32/mtaole
diff options
context:
space:
mode:
authorTino Rachui <tra@openoffice.org>2001-03-19 12:03:00 +0000
committerTino Rachui <tra@openoffice.org>2001-03-19 12:03:00 +0000
commitb97f7daa1003c93eb546c17d2fc3790277d02956 (patch)
tree618a72fae1b461b7d493fa76002fb7817ee89261 /dtrans/source/win32/mtaole
parentfab5a6d72b7c6940a0bb60315354f2161a78db1a (diff)
*** empty log message ***
Diffstat (limited to 'dtrans/source/win32/mtaole')
-rw-r--r--dtrans/source/win32/mtaole/MtaOleClipb.cxx17
1 files changed, 9 insertions, 8 deletions
diff --git a/dtrans/source/win32/mtaole/MtaOleClipb.cxx b/dtrans/source/win32/mtaole/MtaOleClipb.cxx
index 6b104ec91ff8..8d11cb4c13b2 100644
--- a/dtrans/source/win32/mtaole/MtaOleClipb.cxx
+++ b/dtrans/source/win32/mtaole/MtaOleClipb.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: MtaOleClipb.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: tra $ $Date: 2001-03-19 09:12:22 $
+ * last change: $Author: tra $ $Date: 2001-03-19 13:01:35 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -90,7 +90,7 @@ using osl::Condition;
// defines
//----------------------------------------------------------------
-#define HIDDEN_CB_WNDCLS_NAME L"MtaOleReqWnd_920896680C9449"
+#define HIDDEN_CB_WNDCLS_NAME "MtaOleReqWnd_920896680C9449"
#define CLIPSERVICE_DLL_NAME "sysdtrans.dll"
//--------------------------------------------------------
@@ -633,8 +633,9 @@ LRESULT CALLBACK CMtaOleClipboard::mtaOleReqWndProc( HWND hWnd, UINT uMsg, WPARA
void CMtaOleClipboard::createMtaOleReqWnd( )
{
- WNDCLASSEXW wcex;
- sal_Unicode szWndClsName[] = HIDDEN_CB_WNDCLS_NAME;
+ WNDCLASSEXA wcex;
+ //sal_Unicode szWndClsName[] = HIDDEN_CB_WNDCLS_NAME;
+ char szWndClsName[] = HIDDEN_CB_WNDCLS_NAME;
HINSTANCE hInst = GetModuleHandleA( CLIPSERVICE_DLL_NAME );
OSL_ENSURE( NULL != hInst, "The name of the clipboard service dll must have changed" );
@@ -646,10 +647,10 @@ void CMtaOleClipboard::createMtaOleReqWnd( )
wcex.hInstance = hInst;
wcex.lpszClassName = szWndClsName;
- ATOM atom = RegisterClassExW( &wcex );
+ ATOM atom = RegisterClassExA( &wcex );
if ( 0 != atom )
- m_hwndMtaOleReqWnd = CreateWindowExW(
- 0, szWndClsName, TEXT(""), 0, 0, 0, 0, 0, NULL, NULL, hInst, NULL );
+ m_hwndMtaOleReqWnd = CreateWindowExA(
+ 0, szWndClsName,"", 0, 0, 0, 0, 0, NULL, NULL, hInst, NULL );
}
//--------------------------------------------------------------------