Kaydet (Commit) f53615de authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Don't wrongly redefine SystemMenuData

...with a long instead of a HMENU on WNT, so with a wrong size for 64-bit WNT.
(And just ignore the comment that TRIES TO SHOUT AT ME!!!!!!!!!!!!!!!)

Change-Id: Id02ef4d8a3818b58def067e8b52f29bac8676fe9
Reviewed-on: https://gerrit.libreoffice.org/20043Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst 78214c98
......@@ -66,6 +66,7 @@
#include <unotools/localfilehelper.hxx>
#include <toolkit/helper/vclunohelper.hxx>
#include <vcl/svapp.hxx>
#include <vcl/sysdata.hxx>
#include <vcl/window.hxx>
#include <vcl/menu.hxx>
#include <vcl/settings.hxx>
......@@ -80,16 +81,6 @@
#include <boost/noncopyable.hpp>
#include <tools/urlobj.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 STRICT!!!!!!!!!!!!!!!
struct SystemMenuData
{
unsigned long nSize;
long hMenu;
};
using namespace ::cppu;
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment