[Libreoffice-commits] core.git: vcl/inc vcl/source

Gaurav Dhingra gauravdhingra.gxyd at gmail.com
Sun Jan 8 21:10:27 UTC 2017


 vcl/inc/scrwnd.hxx           |   85 +++++++++++++++++++++++++++++++++++++++++++
 vcl/source/app/svdata.cxx    |    2 -
 vcl/source/window/scrwnd.hxx |   85 -------------------------------------------
 3 files changed, 86 insertions(+), 86 deletions(-)

New commits:
commit 38e3dc80f1896a97e8b1249c97ed82f29a31ac70
Author: Gaurav Dhingra <gauravdhingra.gxyd at gmail.com>
Date:   Sun Jan 8 22:56:29 2017 +0530

    Get rid of #include "../foo/bar.hxx" type includes
    
    Change-Id: I18e2094c1d28b6e0d860e474e33bbf8642ba78fd
    Reviewed-on: https://gerrit.libreoffice.org/32845
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>

diff --git a/vcl/source/window/scrwnd.hxx b/vcl/inc/scrwnd.hxx
similarity index 95%
rename from vcl/source/window/scrwnd.hxx
rename to vcl/inc/scrwnd.hxx
index 3f1c211..be8445e 100644
--- a/vcl/source/window/scrwnd.hxx
+++ b/vcl/inc/scrwnd.hxx
@@ -17,8 +17,8 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_VCL_SOURCE_WINDOW_SCRWND_HXX
-#define INCLUDED_VCL_SOURCE_WINDOW_SCRWND_HXX
+#ifndef INCLUDED_VCL_INC_SCRWND_HXX
+#define INCLUDED_VCL_INC_SCRWND_HXX
 
 #include <vcl/floatwin.hxx>
 #include <vcl/bitmap.hxx>
@@ -80,6 +80,6 @@ public:
     void                ImplSetWheelMode( WheelMode nWheelMode );
 };
 
-#endif // INCLUDED_VCL_SOURCE_WINDOW_SCRWND_HXX
+#endif // INCLUDED_VCL_INC_SCRWND_HXX
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/source/app/svdata.cxx b/vcl/source/app/svdata.cxx
index f8f1e3d..d7a0715 100644
--- a/vcl/source/app/svdata.cxx
+++ b/vcl/source/app/svdata.cxx
@@ -46,7 +46,7 @@
 #include "salsys.hxx"
 #include "svids.hrc"
 #include "helpwin.hxx"
-#include "../window/scrwnd.hxx"
+#include "scrwnd.hxx"
 
 #include "com/sun/star/accessibility/MSAAService.hpp"
 


More information about the Libreoffice-commits mailing list