From 17c467a66d799bda88d6cdb84b7fecbbd7d1fdf5 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 10 Mar 2020 18:40:58 +0200 Subject: tdf#131088 Automatic Control Focus not working regression from commit a361231b1363d072d737e9b1d411b71aa9550d84 Date: Fri May 10 10:13:12 2019 +0200 fix wrong SET/QUERY flags passed to uno::Reference Change-Id: Id0dd46c3d40f8acab980147c4c7f64911bc30d22 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90293 Tested-by: Jenkins Reviewed-by: Noel Grandin --- svx/source/form/fmvwimp.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svx/source/form/fmvwimp.cxx') diff --git a/svx/source/form/fmvwimp.cxx b/svx/source/form/fmvwimp.cxx index 5f78a4a71204..000d27c2c951 100644 --- a/svx/source/form/fmvwimp.cxx +++ b/svx/source/form/fmvwimp.cxx @@ -862,7 +862,7 @@ namespace continue; Reference< XChild > xModel( pFormObject->GetUnoControlModel(), UNO_QUERY_THROW ); - Reference< XInterface > xModelParent( xModel->getParent(), UNO_SET_THROW ); + Reference< XInterface > xModelParent( xModel->getParent(), UNO_QUERY ); if ( xNormalizedForm.get() != xModelParent.get() ) continue; -- cgit