svx/source/form/fmsrcimp.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 9fac817100fcdd0563b740ddd498b88b4f623605 Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Fri Jan 24 10:15:44 2020 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Fri Jan 24 10:54:00 2020 +0100 this wants to be UNO_QUERY_THROW based on the comment above it. It has been this way since commit fd069bee7e57ad529c3c0974559fd2d84ec3151a Date: Mon Sep 18 16:07:07 2000 +0000 initial import Change-Id: I53fe66432639482018c57c04fcd6e7a4645a00cb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87324 Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> Tested-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/svx/source/form/fmsrcimp.cxx b/svx/source/form/fmsrcimp.cxx index 379649a65f6e..ffec88e8706a 100644 --- a/svx/source/form/fmsrcimp.cxx +++ b/svx/source/form/fmsrcimp.cxx @@ -268,7 +268,7 @@ void FmSearchEngine::BuildAndInsertFieldInfo(const Reference< css::container::XI // From this I now know that it supports the DatabaseRecord service (I hope). // For the FormatKey and the type I need the PropertySet. - Reference< css::beans::XPropertySet > xProperties(xCurrentField, UNO_QUERY); + Reference< css::beans::XPropertySet > xProperties(xCurrentField, UNO_QUERY_THROW); // build the FieldInfo for that FieldInfo fiCurrent; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits