From a9c8ac3632bcc3499cb0e6fe1b4a358ecb4a41b6 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 23 Nov 2021 11:08:56 +0200 Subject: remove ORowSetValue implicit conversion methods in favour of the existing get*() methods. The get*() methods 0 or false or empty in the case of "null", which is exactly the same behaviour as the conversion methods. These implicit conversion methods cause lookup problems when combined with some upcoming OUString changes. And the code looks cleaner this way too, and has less magic when calling methods. Change-Id: Ieb4756bf693e83b996a32667fc1b955f89193496 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125690 Tested-by: Jenkins Reviewed-by: Noel Grandin --- forms/source/component/ListBox.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'forms') diff --git a/forms/source/component/ListBox.cxx b/forms/source/component/ListBox.cxx index 1e9bcf2fc544..12cd2be5f887 100644 --- a/forms/source/component/ListBox.cxx +++ b/forms/source/component/ListBox.cxx @@ -98,7 +98,7 @@ namespace frm void operator()( const ORowSetValue& _append ) { - m_string += _append; + m_string += _append.getString(); } private: -- cgit