summaryrefslogtreecommitdiff
path: root/toolkit/source/controls/roadmapcontrol.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-06-13 17:52:40 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-06-13 17:54:35 +0200
commitd656138b12bd67777f18adc14bd6941136a4a7a1 (patch)
treebd681aad9940d584a3b629ed35e8ad184b30b268 /toolkit/source/controls/roadmapcontrol.cxx
parent887b3a35628b349e7934f2ae7c220a1cc17c3e63 (diff)
loplugin:staticcall
Change-Id: I9e643bd43e6e0f027a7e17b2d5d867c0cb452052
Diffstat (limited to 'toolkit/source/controls/roadmapcontrol.cxx')
-rw-r--r--toolkit/source/controls/roadmapcontrol.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/controls/roadmapcontrol.cxx b/toolkit/source/controls/roadmapcontrol.cxx
index ab0c4467d139..b5eb6a7a8aa9 100644
--- a/toolkit/source/controls/roadmapcontrol.cxx
+++ b/toolkit/source/controls/roadmapcontrol.cxx
@@ -377,7 +377,7 @@ sal_Bool SAL_CALL UnoRoadmapControl::setModel(const Reference< XControlModel >&
bool bReturn = UnoControlBase::setModel( _rModel );
- xC = xC.query( getModel());
+ xC.set(getModel(), css::uno::UNO_QUERY);
if ( xC.is() )
xC->addContainerListener( this );