workaround for LO namespace pollution breaking KDE4 fpicker build
This commit is contained in:
@@ -56,7 +56,10 @@
|
|||||||
#define Region QtXRegion
|
#define Region QtXRegion
|
||||||
|
|
||||||
//kde has an enum that uses this...OO does too
|
//kde has an enum that uses this...OO does too
|
||||||
|
#define LO_SETTINGS_MOUSE SETTINGS_MOUSE
|
||||||
#undef SETTINGS_MOUSE
|
#undef SETTINGS_MOUSE
|
||||||
|
#define LO_SETTINGS_LOCALE SETTINGS_LOCALE
|
||||||
|
#undef SETTINGS_LOCALE
|
||||||
|
|
||||||
#include <kfiledialog.h>
|
#include <kfiledialog.h>
|
||||||
#include <kwindowsystem.h>
|
#include <kwindowsystem.h>
|
||||||
@@ -70,6 +73,11 @@
|
|||||||
|
|
||||||
#undef Region
|
#undef Region
|
||||||
|
|
||||||
|
#define SETTINGS_MOUSE LO_SETTINGS_MOUSE
|
||||||
|
#undef LO_SETTINGS_MOUSE
|
||||||
|
#define SETTINGS_LOCALE LO_SETTINGS_LOCALE
|
||||||
|
#undef LO_SETTINGS_LOCALE
|
||||||
|
|
||||||
using namespace ::com::sun::star;
|
using namespace ::com::sun::star;
|
||||||
|
|
||||||
using namespace ::com::sun::star::ui::dialogs;
|
using namespace ::com::sun::star::ui::dialogs;
|
||||||
|
Reference in New Issue
Block a user