diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-10-07 22:01:45 +1100 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-10-08 04:48:46 +0200 |
commit | 4d94541a7b88b76d856e30dba7f8a3de48260eda (patch) | |
tree | 1e23707309a73cf0b11db25adfc2d4d4fe980e97 /vcl | |
parent | 74b47af9885ba4c59195fedc1e0510b8b056a025 (diff) |
Make Color a forward declaration
Change-Id: Ib28833555661b119de8e967b05e3c8691fca826a
Reviewed-on: https://gerrit.libreoffice.org/43227
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/inc/impfont.hxx | 1 | ||||
-rw-r--r-- | vcl/inc/opengl/program.hxx | 3 | ||||
-rw-r--r-- | vcl/inc/unx/fc_fontoptions.hxx | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/vcl/inc/impfont.hxx b/vcl/inc/impfont.hxx index 654dc0c7429b..b9b8fb4654e4 100644 --- a/vcl/inc/impfont.hxx +++ b/vcl/inc/impfont.hxx @@ -21,6 +21,7 @@ #define INCLUDED_VCL_INC_IMPFONT_HXX #include <rtl/ustring.hxx> +#include <tools/color.hxx> #include <i18nlangtag/languagetag.hxx> #include <vcl/vclenum.hxx> diff --git a/vcl/inc/opengl/program.hxx b/vcl/inc/opengl/program.hxx index da2be164866f..fabd07ae1a1e 100644 --- a/vcl/inc/opengl/program.hxx +++ b/vcl/inc/opengl/program.hxx @@ -18,11 +18,12 @@ #include <basegfx/point/b2dpoint.hxx> #include <rtl/ustring.hxx> -#include <tools/color.hxx> #include <opengl/texture.hxx> #include <unordered_map> +class Color; + enum class TextureShaderType { Normal = 0, diff --git a/vcl/inc/unx/fc_fontoptions.hxx b/vcl/inc/unx/fc_fontoptions.hxx index 109120f9f69a..9cbb1cce172b 100644 --- a/vcl/inc/unx/fc_fontoptions.hxx +++ b/vcl/inc/unx/fc_fontoptions.hxx @@ -22,7 +22,6 @@ #include <rtl/ustring.hxx> #include <tools/gen.hxx> -#include <tools/color.hxx> #include <vcl/dllapi.h> #include <vcl/vclenum.hxx> #include <vcl/fntstyle.hxx> |