sc/source/ui/unoobj/fielduno.cxx | 5 +++++ 1 file changed, 5 insertions(+)
New commits: commit 8bca4bf841c64048bfde334cd1d82321baad20df Author: Mike Kaganski <mike.kagan...@collabora.com> AuthorDate: Sat Aug 23 11:10:14 2025 +0200 Commit: Mike Kaganski <mike.kagan...@collabora.com> CommitDate: Sat Aug 23 13:30:46 2025 +0200 Store Format value for later use in ScEditFieldObj::setPropertyValueURL An overlook from commit 48dae1af66b227e72d58935d5719610c957da30d (tdf#168066: implement Format property for Calc's URL field, 2025-08-22) Change-Id: I3132dfb27c5f15dadd3fc23701cca043a49f2dd4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190089 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com> diff --git a/sc/source/ui/unoobj/fielduno.cxx b/sc/source/ui/unoobj/fielduno.cxx index b47e47cc3d36..0adbee4fee03 100644 --- a/sc/source/ui/unoobj/fielduno.cxx +++ b/sc/source/ui/unoobj/fielduno.cxx @@ -675,6 +675,11 @@ void ScEditFieldObj::setPropertyValueURL(const OUString& rName, const css::uno:: if (rVal >>= aStrVal) rData.SetTargetFrame(aStrVal); } + else if (rName == SC_UNONAME_FORMAT) + { + if (sal_Int16 nVal; rVal >>= nVal) + rData.SetFormat(static_cast<SvxURLFormat>(nVal)); + } else throw beans::UnknownPropertyException(rName); }