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

Unused Region macro definitions

In other files in vcl/unx/kde4/, those defines are apparently needed to resolve
a clash between class Region from vcl/region.hxx and typedef Region from
/usr/include/QtGui/qwindowdefs.h.  But in these two files those two clashing
headers appear not to be included both, so the define would be flagged by
-Wunused-macros.

Change-Id: Ib5bb62867dd3b3ea4c0a9f4b461efcecd92bc4b7
üst d684a3ca
......@@ -19,8 +19,6 @@
#include "VCLKDEApplication.hxx"
#define Region QtXRegion
#include <kapplication.h>
#include <klocale.h>
#include <kaboutdata.h>
......@@ -30,8 +28,6 @@
#include <qclipboard.h>
#include <qthread.h>
#undef Region
#include "KDEXLib.hxx"
#include <unx/i18n_im.hxx>
......
......@@ -19,9 +19,7 @@
#include "VCLKDEApplication.hxx"
#define Region QtXRegion
#include <QEvent>
#undef Region
#include "KDESalDisplay.hxx"
......
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