include/svtools/valueset.hxx | 4 ---- svtools/source/control/valueset.cxx | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-)
New commits: commit 22beba9c9ff17292ee956985fd3eea208231d6af Author: Michael Weghorn <[email protected]> AuthorDate: Wed Dec 31 01:46:20 2025 +0100 Commit: Michael Weghorn <[email protected]> CommitDate: Thu Jan 1 14:40:20 2026 +0100 svtools: Drop ValueSet::GetEdgeBlending This is only used inside of the class itself, so there is no need to have a public getter. Change-Id: I6fe75bfc1c233521c422010556c86562f275b32b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196344 Tested-by: Jenkins Reviewed-by: Michael Weghorn <[email protected]> diff --git a/include/svtools/valueset.hxx b/include/svtools/valueset.hxx index cafdc2c41e67..640c7552c1f6 100644 --- a/include/svtools/valueset.hxx +++ b/include/svtools/valueset.hxx @@ -383,10 +383,6 @@ public: maDoubleClickHdl = rLink; } - bool GetEdgeBlending() const - { - return mbEdgeBlending; - } void SetEdgeBlending(bool bNew); void SaveValue() diff --git a/svtools/source/control/valueset.cxx b/svtools/source/control/valueset.cxx index af9dd8bd1c6b..ebe041f6d10b 100644 --- a/svtools/source/control/valueset.cxx +++ b/svtools/source/control/valueset.cxx @@ -1491,7 +1491,7 @@ void ValueSet::ImplFormatItem(vcl::RenderContext const & rRenderContext, ValueSe } } - const sal_uInt16 nEdgeBlendingPercent(GetEdgeBlending() ? rStyleSettings.GetEdgeBlending() : 0); + const sal_uInt16 nEdgeBlendingPercent = mbEdgeBlending ? rStyleSettings.GetEdgeBlending() : 0; if (nEdgeBlendingPercent) {
