summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-12-11 14:55:21 +0200
committerTor Lillqvist <tml@collabora.com>2015-12-11 15:53:35 +0200
commitc95a6adceb4e5de8b5a73156eb4e8ee21d59899c (patch)
treebc34c22d0e89f75805ad20742c3d8242048803c5
parentfe445df126ff0be771494dfef3aec09ca82f8aef (diff)
No need for a separate <vcl/combobox.h>
Change-Id: Iebf7b44e78fc28c20bdf0cbea84dbfd730b04016
-rw-r--r--basctl/inc/pch/precompiled_basctl.hxx1
-rw-r--r--chart2/inc/pch/precompiled_chartcontroller.hxx1
-rw-r--r--cui/inc/pch/precompiled_cui.hxx1
-rw-r--r--editeng/inc/pch/precompiled_editeng.hxx1
-rw-r--r--include/vcl/combobox.h31
-rw-r--r--include/vcl/combobox.hxx7
-rw-r--r--reportdesign/inc/pch/precompiled_rpt.hxx1
-rw-r--r--reportdesign/inc/pch/precompiled_rptui.hxx1
-rw-r--r--sc/inc/pch/precompiled_sc.hxx1
-rw-r--r--sd/inc/pch/precompiled_sd.hxx1
-rw-r--r--sd/inc/pch/precompiled_sdui.hxx1
-rw-r--r--svtools/inc/pch/precompiled_svt.hxx1
-rw-r--r--svx/inc/pch/precompiled_svxcore.hxx1
-rw-r--r--sw/inc/pch/precompiled_msword.hxx1
-rw-r--r--sw/inc/pch/precompiled_swui.hxx1
-rw-r--r--sw/inc/pch/precompiled_vbaswobj.hxx1
-rw-r--r--vcl/inc/pch/precompiled_vcl.hxx2
17 files changed, 6 insertions, 48 deletions
diff --git a/basctl/inc/pch/precompiled_basctl.hxx b/basctl/inc/pch/precompiled_basctl.hxx
index b6da33ebce83..6376ff57203c 100644
--- a/basctl/inc/pch/precompiled_basctl.hxx
+++ b/basctl/inc/pch/precompiled_basctl.hxx
@@ -124,7 +124,6 @@
#include <vcl/cairo.hxx>
#include <vcl/checksum.hxx>
#include <vcl/cmdevt.hxx>
-#include <vcl/combobox.h>
#include <vcl/combobox.hxx>
#include <vcl/ctrl.hxx>
#include <vcl/cursor.hxx>
diff --git a/chart2/inc/pch/precompiled_chartcontroller.hxx b/chart2/inc/pch/precompiled_chartcontroller.hxx
index 7c2bea89b403..953a2eca6550 100644
--- a/chart2/inc/pch/precompiled_chartcontroller.hxx
+++ b/chart2/inc/pch/precompiled_chartcontroller.hxx
@@ -114,7 +114,6 @@
#include <vcl/button.hxx>
#include <vcl/cairo.hxx>
#include <vcl/checksum.hxx>
-#include <vcl/combobox.h>
#include <vcl/combobox.hxx>
#include <vcl/ctrl.hxx>
#include <vcl/devicecoordinate.hxx>
diff --git a/cui/inc/pch/precompiled_cui.hxx b/cui/inc/pch/precompiled_cui.hxx
index c1d76b2af59e..685fa6fe0cf7 100644
--- a/cui/inc/pch/precompiled_cui.hxx
+++ b/cui/inc/pch/precompiled_cui.hxx
@@ -123,7 +123,6 @@
#include <vcl/cairo.hxx>
#include <vcl/checksum.hxx>
#include <vcl/cmdevt.hxx>
-#include <vcl/combobox.h>
#include <vcl/combobox.hxx>
#include <vcl/ctrl.hxx>
#include <vcl/cursor.hxx>
diff --git a/editeng/inc/pch/precompiled_editeng.hxx b/editeng/inc/pch/precompiled_editeng.hxx
index 6ea416f5b5da..3a4ca16039de 100644
--- a/editeng/inc/pch/precompiled_editeng.hxx
+++ b/editeng/inc/pch/precompiled_editeng.hxx
@@ -94,7 +94,6 @@
#include <vcl/bitmap.hxx>
#include <vcl/bitmapex.hxx>
#include <vcl/checksum.hxx>
-#include <vcl/combobox.h>
#include <vcl/combobox.hxx>
#include <vcl/ctrl.hxx>
#include <vcl/dialog.hxx>
diff --git a/include/vcl/combobox.h b/include/vcl/combobox.h
deleted file mode 100644
index d51b670aeba2..000000000000
--- a/include/vcl/combobox.h
+++ /dev/null
@@ -1,31 +0,0 @@
-/* -*- 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_COMBOBOX_H
-#define INCLUDED_VCL_COMBOBOX_H
-
-#include <vcl/lstbox.h>
-
-#define COMBOBOX_APPEND (SAL_MAX_INT32)
-#define COMBOBOX_ENTRY_NOTFOUND (SAL_MAX_INT32)
-#define COMBOBOX_MAX_ENTRIES (SAL_MAX_INT32 - 1)
-
-#endif // INCLUDED_VCL_COMBOBOX_H
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/vcl/combobox.hxx b/include/vcl/combobox.hxx
index a215eaff190e..42c012c24e68 100644
--- a/include/vcl/combobox.hxx
+++ b/include/vcl/combobox.hxx
@@ -21,11 +21,14 @@
#define INCLUDED_VCL_COMBOBOX_HXX
#include <vcl/dllapi.h>
-#include <vcl/combobox.h>
#include <vcl/edit.hxx>
+#include <vcl/lstbox.h>
-class UserDrawEvent;
+#define COMBOBOX_APPEND (SAL_MAX_INT32)
+#define COMBOBOX_ENTRY_NOTFOUND (SAL_MAX_INT32)
+#define COMBOBOX_MAX_ENTRIES (SAL_MAX_INT32 - 1)
+class UserDrawEvent;
class ImplListBoxFloatingWindow;
class ImplListBox;
class ImplBtn;
diff --git a/reportdesign/inc/pch/precompiled_rpt.hxx b/reportdesign/inc/pch/precompiled_rpt.hxx
index 8851302997b5..1ad651bc7133 100644
--- a/reportdesign/inc/pch/precompiled_rpt.hxx
+++ b/reportdesign/inc/pch/precompiled_rpt.hxx
@@ -119,7 +119,6 @@
#include <vcl/cairo.hxx>
#include <vcl/checksum.hxx>
#include <vcl/cmdevt.hxx>
-#include <vcl/combobox.h>
#include <vcl/combobox.hxx>
#include <vcl/ctrl.hxx>
#include <vcl/cursor.hxx>
diff --git a/reportdesign/inc/pch/precompiled_rptui.hxx b/reportdesign/inc/pch/precompiled_rptui.hxx
index cc70eb1129d0..8c50f3bde173 100644
--- a/reportdesign/inc/pch/precompiled_rptui.hxx
+++ b/reportdesign/inc/pch/precompiled_rptui.hxx
@@ -124,7 +124,6 @@
#include <vcl/cairo.hxx>
#include <vcl/checksum.hxx>
#include <vcl/cmdevt.hxx>
-#include <vcl/combobox.h>
#include <vcl/combobox.hxx>
#include <vcl/ctrl.hxx>
#include <vcl/cursor.hxx>
diff --git a/sc/inc/pch/precompiled_sc.hxx b/sc/inc/pch/precompiled_sc.hxx
index b50cff4c089c..3422d8819fda 100644
--- a/sc/inc/pch/precompiled_sc.hxx
+++ b/sc/inc/pch/precompiled_sc.hxx
@@ -128,7 +128,6 @@
#include <vcl/button.hxx>
#include <vcl/checksum.hxx>
#include <vcl/cmdevt.hxx>
-#include <vcl/combobox.h>
#include <vcl/combobox.hxx>
#include <vcl/ctrl.hxx>
#include <vcl/cursor.hxx>
diff --git a/sd/inc/pch/precompiled_sd.hxx b/sd/inc/pch/precompiled_sd.hxx
index a24a582925bf..d06db465cd91 100644
--- a/sd/inc/pch/precompiled_sd.hxx
+++ b/sd/inc/pch/precompiled_sd.hxx
@@ -87,7 +87,6 @@
#include <vcl/builderfactory.hxx>
#include <vcl/button.hxx>
#include <vcl/checksum.hxx>
-#include <vcl/combobox.h>
#include <vcl/combobox.hxx>
#include <vcl/ctrl.hxx>
#include <vcl/dialog.hxx>
diff --git a/sd/inc/pch/precompiled_sdui.hxx b/sd/inc/pch/precompiled_sdui.hxx
index f8fbba2442d0..016d86ef61f0 100644
--- a/sd/inc/pch/precompiled_sdui.hxx
+++ b/sd/inc/pch/precompiled_sdui.hxx
@@ -121,7 +121,6 @@
#include <vcl/cairo.hxx>
#include <vcl/checksum.hxx>
#include <vcl/cmdevt.hxx>
-#include <vcl/combobox.h>
#include <vcl/combobox.hxx>
#include <vcl/ctrl.hxx>
#include <vcl/cursor.hxx>
diff --git a/svtools/inc/pch/precompiled_svt.hxx b/svtools/inc/pch/precompiled_svt.hxx
index b7c9b0d9c89f..7c2ee3d435aa 100644
--- a/svtools/inc/pch/precompiled_svt.hxx
+++ b/svtools/inc/pch/precompiled_svt.hxx
@@ -104,7 +104,6 @@
#include <vcl/builderfactory.hxx>
#include <vcl/button.hxx>
#include <vcl/cmdevt.hxx>
-#include <vcl/combobox.h>
#include <vcl/combobox.hxx>
#include <vcl/ctrl.hxx>
#include <vcl/decoview.hxx>
diff --git a/svx/inc/pch/precompiled_svxcore.hxx b/svx/inc/pch/precompiled_svxcore.hxx
index ac6c37707398..e6406bef630a 100644
--- a/svx/inc/pch/precompiled_svxcore.hxx
+++ b/svx/inc/pch/precompiled_svxcore.hxx
@@ -112,7 +112,6 @@
#include <vcl/button.hxx>
#include <vcl/checksum.hxx>
#include <vcl/cmdevt.hxx>
-#include <vcl/combobox.h>
#include <vcl/combobox.hxx>
#include <vcl/ctrl.hxx>
#include <vcl/dialog.hxx>
diff --git a/sw/inc/pch/precompiled_msword.hxx b/sw/inc/pch/precompiled_msword.hxx
index 916fcdf70c41..e16dcb489294 100644
--- a/sw/inc/pch/precompiled_msword.hxx
+++ b/sw/inc/pch/precompiled_msword.hxx
@@ -125,7 +125,6 @@
#include <vcl/cairo.hxx>
#include <vcl/checksum.hxx>
#include <vcl/cmdevt.hxx>
-#include <vcl/combobox.h>
#include <vcl/combobox.hxx>
#include <vcl/ctrl.hxx>
#include <vcl/cursor.hxx>
diff --git a/sw/inc/pch/precompiled_swui.hxx b/sw/inc/pch/precompiled_swui.hxx
index 9e8992858b35..4d40b3445d87 100644
--- a/sw/inc/pch/precompiled_swui.hxx
+++ b/sw/inc/pch/precompiled_swui.hxx
@@ -123,7 +123,6 @@
#include <vcl/cairo.hxx>
#include <vcl/checksum.hxx>
#include <vcl/cmdevt.hxx>
-#include <vcl/combobox.h>
#include <vcl/combobox.hxx>
#include <vcl/ctrl.hxx>
#include <vcl/cursor.hxx>
diff --git a/sw/inc/pch/precompiled_vbaswobj.hxx b/sw/inc/pch/precompiled_vbaswobj.hxx
index 08c3161b5234..5c0c9d77ef0b 100644
--- a/sw/inc/pch/precompiled_vbaswobj.hxx
+++ b/sw/inc/pch/precompiled_vbaswobj.hxx
@@ -120,7 +120,6 @@
#include <vcl/cairo.hxx>
#include <vcl/checksum.hxx>
#include <vcl/cmdevt.hxx>
-#include <vcl/combobox.h>
#include <vcl/combobox.hxx>
#include <vcl/ctrl.hxx>
#include <vcl/cursor.hxx>
diff --git a/vcl/inc/pch/precompiled_vcl.hxx b/vcl/inc/pch/precompiled_vcl.hxx
index 1bb0f2faa259..b72489eb5ddc 100644
--- a/vcl/inc/pch/precompiled_vcl.hxx
+++ b/vcl/inc/pch/precompiled_vcl.hxx
@@ -133,7 +133,7 @@
#include <vcl/bmpacc.hxx>
#include <vcl/button.hxx>
#include <vcl/canvastools.hxx>
-#include <vcl/combobox.h>
+#include <vcl/combobox.hxx>
#include <vcl/configsettings.hxx>
#include <vcl/ctrl.hxx>
#include <vcl/cursor.hxx>