summaryrefslogtreecommitdiffstats
path: root/forms/source/component/clickableimage.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-06-13 17:50:10 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-06-13 17:54:27 +0200
commit86c89322ea925dc2ba732090688b28e61b245aea (patch)
tree50ba38fc946705e50a842f1ceee7f9a8d6c4ace4 /forms/source/component/clickableimage.cxx
parentloplugin:staticcall (diff)
downloadcore-86c89322ea925dc2ba732090688b28e61b245aea.tar.gz
core-86c89322ea925dc2ba732090688b28e61b245aea.zip
loplugin:staticcall
Change-Id: I3c43c34e66772ce7e42b42be04e0591f2e78ec01
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 );
}