summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2020-03-10 18:40:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-03-11 10:52:28 +0100
commit05166fa824b09c6fa094b3596ebe9de2d7b9fe92 (patch)
tree1970497b2895fb1c3765157ea11026ec711abf65
parentff59cba2922f0f7e1c45e01c3f08616f6771f057 (diff)
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 <noel.grandin@collabora.co.uk> (cherry picked from commit 17c467a66d799bda88d6cdb84b7fecbbd7d1fdf5) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90277
-rw-r--r--svx/source/form/fmvwimp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/form/fmvwimp.cxx b/svx/source/form/fmvwimp.cxx
index cc6bcef46f65..147eb1801db2 100644
--- a/svx/source/form/fmvwimp.cxx
+++ b/svx/source/form/fmvwimp.cxx
@@ -869,7 +869,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;