sw/source/core/graphic/grfatr.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit e4d7c819f48ba746dd72b873e731c6adbbbeb8b1 Author: Mike Kaganski <mike.kagan...@collabora.com> AuthorDate: Tue Jun 17 18:09:17 2025 +0500 Commit: Mike Kaganski <mike.kagan...@collabora.com> CommitDate: Tue Jun 17 22:28:09 2025 +0200 No need for GetEnumValue here Hopefully, we can eventually drop it completely. Change-Id: I9e04c2d42a04453da18dd9c635e7b6c1b4249d57 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/186617 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com> diff --git a/sw/source/core/graphic/grfatr.cxx b/sw/source/core/graphic/grfatr.cxx index bb1e1e1af34d..4344bad3e149 100644 --- a/sw/source/core/graphic/grfatr.cxx +++ b/sw/source/core/graphic/grfatr.cxx @@ -307,7 +307,7 @@ SwDrawModeGrf* SwDrawModeGrf::Clone( SfxItemPool * ) const bool SwDrawModeGrf::QueryValue( uno::Any& rVal, sal_uInt8 ) const { - drawing::ColorMode eRet = static_cast<drawing::ColorMode>(GetEnumValue()); + drawing::ColorMode eRet = static_cast<drawing::ColorMode>(GetValue()); rVal <<= eRet; return true; }