From e61fe745d12055ee3915a957714772eeb46fdcd3 Mon Sep 17 00:00:00 2001 From: abdulwd Date: Tue, 27 Dec 2016 12:22:43 +0530 Subject: [PATCH] tdf#97228 Move include file include/vcl/BitmapProcessor.hxx to vcl/inc/ Adapt users, all in vcl, accordingly. Change-Id: I4531840091da73fa8fc29175407fa8a737deac18 Reviewed-on: https://gerrit.libreoffice.org/32442 Reviewed-by: Tor Lillqvist Tested-by: Tor Lillqvist --- {include/vcl => vcl/inc}/BitmapProcessor.hxx | 6 +++--- vcl/source/bitmap/BitmapProcessor.cxx | 3 ++- vcl/source/image/Image.cxx | 2 +- vcl/source/image/ImageArrayData.cxx | 2 +- vcl/source/image/ImplImageTree.cxx | 3 ++- 5 files changed, 9 insertions(+), 7 deletions(-) rename {include/vcl => vcl/inc}/BitmapProcessor.hxx (83%) diff --git a/include/vcl/BitmapProcessor.hxx b/vcl/inc/BitmapProcessor.hxx similarity index 83% rename from include/vcl/BitmapProcessor.hxx rename to vcl/inc/BitmapProcessor.hxx index 0f0f13869d3f..8c07188ba19b 100644 --- a/include/vcl/BitmapProcessor.hxx +++ b/vcl/inc/BitmapProcessor.hxx @@ -7,8 +7,8 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_VCL_BITMAP_PROCESSOR_HXX -#define INCLUDED_VCL_BITMAP_PROCESSOR_HXX +#ifndef VCL_INC_BITMAP_PROCESSOR_HXX +#define VCL_INC_BITMAP_PROCESSOR_HXX #include @@ -20,6 +20,6 @@ public: static void colorizeImage(BitmapEx& rBitmapEx, Color aColor); }; -#endif // INCLUDED_VCL_BITMAP_PROCESSOR_HXX +#endif // VCL_INC_BITMAP_PROCESSOR_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/vcl/source/bitmap/BitmapProcessor.cxx b/vcl/source/bitmap/BitmapProcessor.cxx index b3cdf86783d0..371d71523de8 100644 --- a/vcl/source/bitmap/BitmapProcessor.cxx +++ b/vcl/source/bitmap/BitmapProcessor.cxx @@ -8,10 +8,11 @@ * */ -#include #include #include +#include "BitmapProcessor.hxx" + BitmapEx BitmapProcessor::createLightImage(const BitmapEx& rBitmapEx) { const Size aSize(rBitmapEx.GetSizePixel()); diff --git a/vcl/source/image/Image.cxx b/vcl/source/image/Image.cxx index 51dcca4ed94e..e4dde10e4d5c 100644 --- a/vcl/source/image/Image.cxx +++ b/vcl/source/image/Image.cxx @@ -34,7 +34,7 @@ #include #include -#include +#include "BitmapProcessor.hxx" #if OSL_DEBUG_LEVEL > 0 #include diff --git a/vcl/source/image/ImageArrayData.cxx b/vcl/source/image/ImageArrayData.cxx index 543543804a70..e1854d2aa55a 100644 --- a/vcl/source/image/ImageArrayData.cxx +++ b/vcl/source/image/ImageArrayData.cxx @@ -35,7 +35,7 @@ #include #endif -#include +#include "BitmapProcessor.hxx" ImageAryData::ImageAryData( const ImageAryData& rData ) : maName( rData.maName ), diff --git a/vcl/source/image/ImplImageTree.cxx b/vcl/source/image/ImplImageTree.cxx index 8e34ff6cb56b..a8127a85a0a8 100644 --- a/vcl/source/image/ImplImageTree.cxx +++ b/vcl/source/image/ImplImageTree.cxx @@ -45,10 +45,11 @@ #include #include -#include #include #include +#include "BitmapProcessor.hxx" + bool ImageRequestParameters::convertToDarkTheme() { static bool bIconsForDarkTheme = !!getenv("VCL_ICONS_FOR_DARK_THEME");