include/vcl/outdev.hxx | 4 ++-- vcl/source/outdev/fill.cxx | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-)
New commits: commit 13263005dc415b29a82ad12d452c313439668c3d Author: Chris Sherlock <chris.sherloc...@gmail.com> AuthorDate: Thu Sep 2 06:39:54 2021 +1000 Commit: Mike Kaganski <mike.kagan...@collabora.com> CommitDate: Thu Sep 2 17:31:10 2021 +0200 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.kagan...@collabora.com> 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() {