Kaydet (Commit) d91b76bc authored tarafından Tor Lillqvist's avatar Tor Lillqvist

vcl/inc/unx/Xproto.h seems pointless

Change-Id: I22405b5d3416be28e677d7a383e8101bd6f15559
üst 1382dad9
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_VCL_UNX_INC_XPROTO_H
#define INCLUDED_VCL_UNX_INC_XPROTO_H
#include "sal/config.h"
#include <tools/prex.h>
#if defined __GNUC__
#pragma GCC system_header
#elif defined __SUNPRO_CC
#pragma disable_warn
#endif
#include <X11/Xproto.h>
#if defined __SUNPRO_CC
#pragma enable_warn
#endif
#include <tools/postx.h>
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -39,10 +39,13 @@ ...@@ -39,10 +39,13 @@
#include <sys/time.h> #include <sys/time.h>
#endif #endif
#include <tools/prex.h>
#include <X11/Xproto.h>
#include <tools/postx.h>
#include <osl/process.h> #include <osl/process.h>
#include <osl/mutex.hxx> #include <osl/mutex.hxx>
#include "unx/Xproto.h"
#include "unx/saldisp.hxx" #include "unx/saldisp.hxx"
#include "unx/saldata.hxx" #include "unx/saldata.hxx"
#include "unx/salframe.h" #include "unx/salframe.h"
......
...@@ -26,15 +26,16 @@ ...@@ -26,15 +26,16 @@
#include <sys/types.h> #include <sys/types.h>
#endif #endif
#include <tools/prex.h>
#include <X11/Xproto.h>
#include <tools/postx.h>
#include <osl/endian.h> #include <osl/endian.h>
#include <vcl/bitmap.hxx> #include <vcl/bitmap.hxx>
#include <vcl/salbtype.hxx> #include <vcl/salbtype.hxx>
#include <com/sun/star/beans/XFastPropertySet.hpp> #include <com/sun/star/beans/XFastPropertySet.hpp>
#include <tools/prex.h>
#include "unx/Xproto.h"
#include <tools/postx.h>
#include <unx/salunx.h> #include <unx/salunx.h>
#include <unx/saldata.hxx> #include <unx/saldata.hxx>
#include <unx/saldisp.hxx> #include <unx/saldisp.hxx>
......
...@@ -17,6 +17,16 @@ ...@@ -17,6 +17,16 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
#include <config_graphite.h>
#include <vector>
#include <queue>
#include <set>
#include <tools/prex.h>
#include <X11/Xproto.h>
#include <tools/postx.h>
#include "tools/debug.hxx" #include "tools/debug.hxx"
#include "basegfx/polygon/b2dpolygon.hxx" #include "basegfx/polygon/b2dpolygon.hxx"
...@@ -32,7 +42,6 @@ ...@@ -32,7 +42,6 @@
#include "vcl/jobdata.hxx" #include "vcl/jobdata.hxx"
#include "unx/Xproto.h"
#include "unx/salunx.h" #include "unx/salunx.h"
#include "unx/saldata.hxx" #include "unx/saldata.hxx"
#include "unx/saldisp.hxx" #include "unx/saldisp.hxx"
...@@ -45,12 +54,6 @@ ...@@ -45,12 +54,6 @@
#include "xrender_peer.hxx" #include "xrender_peer.hxx"
#include "region.h" #include "region.h"
#include <vector>
#include <queue>
#include <set>
#include <config_graphite.h>
#define STATIC_POINTS 64 #define STATIC_POINTS 64
class SalPolyLine class SalPolyLine
......
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