diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2021-09-02 06:39:54 +1000 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2021-09-02 17:31:10 +0200 |
commit | 13263005dc415b29a82ad12d452c313439668c3d (patch) | |
tree | 0182ccc1f1e63ae10d759028c6cc44007160f95a | |
parent | 846fcc03b89a7131f565de95396757c8e0da1dfd (diff) |
vcl: make GetFillColor() and IsFillColor() inline class functions
Change-Id: I5f80765658f1c1679f56df59d4b8212caa9d1357
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121486
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
-rw-r--r-- | include/vcl/outdev.hxx | 4 | ||||
-rw-r--r-- | vcl/source/outdev/fill.cxx | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx index e2a4b4d190d1..a68655c073c8 100644 --- a/include/vcl/outdev.hxx +++ b/include/vcl/outdev.hxx @@ -507,8 +507,8 @@ public: void SetFillColor(); void SetFillColor( const Color& rColor ); - const Color& GetFillColor() const; - bool IsFillColor() const; + const Color& GetFillColor() const { return maFillColor; } + bool IsFillColor() const { return mbFillColor; } void SetBackground(); void SetBackground( const Wallpaper& rBackground ); diff --git a/vcl/source/outdev/fill.cxx b/vcl/source/outdev/fill.cxx index ea00990cbece..bbe6270632dc 100644 --- a/vcl/source/outdev/fill.cxx +++ b/vcl/source/outdev/fill.cxx @@ -26,10 +26,6 @@ #include <drawmode.hxx> #include <salgdi.hxx> -Color const& OutputDevice::GetFillColor() const { return maFillColor; } - -bool OutputDevice::IsFillColor() const { return mbFillColor; } - void OutputDevice::SetFillColor() { |