diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2009-05-25 13:05:01 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2009-05-25 13:05:01 +0000 |
commit | 662f03082d3652aa48a218d603dc36ede3da78f4 (patch) | |
tree | b586280c8c7129684586ec8ef7f355e2d7d855cd /framework/source/uielement/menubarmanager.cxx | |
parent | e0977506cf29889bcbcd1e95f03bc212d5ec171a (diff) |
#i10000#: partly undo changes from canvascrairo01 (build problems due to redifinition of HINSTANCE)
Diffstat (limited to 'framework/source/uielement/menubarmanager.cxx')
-rw-r--r-- | framework/source/uielement/menubarmanager.cxx | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/framework/source/uielement/menubarmanager.cxx b/framework/source/uielement/menubarmanager.cxx index 142844f08670..54e77596970b 100644 --- a/framework/source/uielement/menubarmanager.cxx +++ b/framework/source/uielement/menubarmanager.cxx @@ -101,12 +101,15 @@ #include <uielement/menubarmerger.hxx> #include <dispatch/uieventloghelper.hxx> -#ifdef WNT -#include <tools/prewin.h> -#include <windows.h> -#include <tools/postwin.h> -#endif -#include <vcl/sysdata.hxx> +// Be careful removing this "bad" construct. There are serious problems +// with #define STRICT and including windows.h. Changing this needs some +// redesign on other projects, too. Especially sal/main.h which defines +// HINSTANCE depending on STRCIT!!!!!!!!!!!!!!! +struct SystemMenuData +{ + unsigned long nSize; + long hMenu; +}; //_________________________________________________________________________________________________________________ // namespace |