summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2004-02-25 16:09:10 +0000
committerKurt Zenker <kz@openoffice.org>2004-02-25 16:09:10 +0000
commitf3e7cb64cbfbe4edba10ec36524eaf4709b238e8 (patch)
tree2cfbf8b75657e1e4add72fca08edf8856132fca3
parent45c079e0ce137bdc5cc77c1d84799ccdc3e6b18c (diff)
INTEGRATION: CWS layoutmanager (1.2.32); FILE MERGED
2003/10/29 13:41:32 abi 1.2.32.1: inplace activation
-rwxr-xr-xembedserv/source/embed/esdll.cxx15
1 files changed, 13 insertions, 2 deletions
diff --git a/embedserv/source/embed/esdll.cxx b/embedserv/source/embed/esdll.cxx
index 0632663f82aa..2e408d9632f1 100755
--- a/embedserv/source/embed/esdll.cxx
+++ b/embedserv/source/embed/esdll.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: esdll.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: kz $ $Date: 2003-04-10 14:55:57 $
+ * last change: $Author: kz $ $Date: 2004-02-25 17:09:10 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -76,9 +76,20 @@ END_OBJECT_MAP()
/////////////////////////////////////////////////////////////////////////////
// DLL Entry Point
+
+#include "syswinwrapper.hxx"
+#include "docholder.hxx"
+
+
+HINSTANCE DocumentHolder::m_hInstance;
+
extern "C"
BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID /*lpReserved*/)
{
+ DocumentHolder::m_hInstance = hInstance;
+ if (!winwrap::HatchWindowRegister(hInstance))
+ return FALSE;
+
if (dwReason == DLL_PROCESS_ATTACH)
{
_Module.Init(ObjectMap, hInstance, NULL);