summaryrefslogtreecommitdiff
path: root/forms/source/component/clickableimage.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/component/clickableimage.cxx')
-rw-r--r--forms/source/component/clickableimage.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/component/clickableimage.cxx b/forms/source/component/clickableimage.cxx
index cb482d543478..6e3aa8fb7d3e 100644
--- a/forms/source/component/clickableimage.cxx
+++ b/forms/source/component/clickableimage.cxx
@@ -215,7 +215,7 @@ namespace frm
return;
// which button type?
- xSet = xSet.query( xComp );
+ xSet.set(xComp, css::uno::UNO_QUERY);
if ( !xSet.is() )
return;
xSet->getPropertyValue(PROPERTY_BUTTONTYPE) >>= eButtonType;
@@ -407,7 +407,7 @@ namespace frm
Reference< XChild > xChild( getModel(), UNO_QUERY );
Reference< XSubmit > xParentSubmission;
if ( xChild.is() )
- xParentSubmission = xParentSubmission.query( xChild->getParent() );
+ xParentSubmission.set(xChild->getParent(), css::uno::UNO_QUERY);
if ( xParentSubmission.is() )
xParentSubmission->submit( this, _rEvent );
}