[Libreoffice-commits] .: dbaccess/source reportdesign/source

Matteo Casalin mcasalin at kemper.freedesktop.org
Mon Jan 30 13:42:55 PST 2012


 dbaccess/source/ui/control/VertSplitView.cxx |    1 +
 dbaccess/source/ui/inc/QueryTextView.hxx     |    1 -
 dbaccess/source/ui/inc/VertSplitView.hxx     |    4 +++-
 reportdesign/source/ui/inc/ReportWindow.hxx  |    2 --
 4 files changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 648f6ac7c51656a21cd2df29eec21f9610b4657f
Author: Matteo Casalin <matteo.casalin at poste.it>
Date:   Wed Jan 25 00:23:05 2012 +0100

    Do not forward declare Splitter or include its header file if unneeded

diff --git a/dbaccess/source/ui/control/VertSplitView.cxx b/dbaccess/source/ui/control/VertSplitView.cxx
index e04aafe..c1f7384 100644
--- a/dbaccess/source/ui/control/VertSplitView.cxx
+++ b/dbaccess/source/ui/control/VertSplitView.cxx
@@ -29,6 +29,7 @@
 #include "VertSplitView.hxx"
 
 #include <tools/debug.hxx>
+#include <vcl/split.hxx>
 
 #define SPLITTER_WIDTH  80
 
diff --git a/dbaccess/source/ui/inc/QueryTextView.hxx b/dbaccess/source/ui/inc/QueryTextView.hxx
index d541e97..03670be 100644
--- a/dbaccess/source/ui/inc/QueryTextView.hxx
+++ b/dbaccess/source/ui/inc/QueryTextView.hxx
@@ -31,7 +31,6 @@
 #include "queryview.hxx"
 #include "querycontainerwindow.hxx"
 
-class Splitter;
 namespace dbaui
 {
     class OSqlEdit;
diff --git a/dbaccess/source/ui/inc/VertSplitView.hxx b/dbaccess/source/ui/inc/VertSplitView.hxx
index b9d52b3..e25c6d4 100644
--- a/dbaccess/source/ui/inc/VertSplitView.hxx
+++ b/dbaccess/source/ui/inc/VertSplitView.hxx
@@ -28,7 +28,9 @@
 #ifndef DBAUI_VERTSPLITVIEW_HXX
 #define DBAUI_VERTSPLITVIEW_HXX
 
-#include <vcl/split.hxx>
+#include <vcl/window.hxx>
+
+class Splitter;
 
 namespace dbaui
 {
diff --git a/reportdesign/source/ui/inc/ReportWindow.hxx b/reportdesign/source/ui/inc/ReportWindow.hxx
index 27200bd..87d549b 100644
--- a/reportdesign/source/ui/inc/ReportWindow.hxx
+++ b/reportdesign/source/ui/inc/ReportWindow.hxx
@@ -42,8 +42,6 @@
 #include <MarkedSection.hxx>
 #include "ViewsWindow.hxx"
 
-class Splitter;
-
 namespace rptui
 {
     class ODesignView;


More information about the Libreoffice-commits mailing list