diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-11-23 11:08:56 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-11-23 12:28:49 +0100 |
commit | a9c8ac3632bcc3499cb0e6fe1b4a358ecb4a41b6 (patch) | |
tree | c5bd847d8eb5367d5b059462fa1a873387a4dbdf /forms | |
parent | fa54bca695f6d17e871e43db75f06a63aec7b739 (diff) |
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 <noel.grandin@collabora.co.uk>
Diffstat (limited to 'forms')
-rw-r--r-- | forms/source/component/ListBox.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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: |