summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-02-12 17:20:49 +0200
committerNoel Grandin <noel@peralex.com>2013-03-04 10:13:19 +0200
commit57dbe20c2bfa0cf5ced0826f61a130414c948f83 (patch)
tree35a95e63d2080f0903f4270737ba3ccdc6ffd25a /toolkit
parent587c294daba76f89f8de17e86ab0cae495123997 (diff)
fdo#46808, clean up some old queryInterface() calls
clean up stuff like this xI->queryInterface( getCppuType((const Reference< XExtendedInputSequenceChecker>*)0) ) >>= xISC; to xISC.set(xI, UNO_QUERY); Change-Id: I3b16a38c2a363440f6079cfe6ae47f009d3940db
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/controls/unocontrol.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/controls/unocontrol.cxx b/toolkit/source/controls/unocontrol.cxx
index 01944885c150..f3d9bd9a85ae 100644
--- a/toolkit/source/controls/unocontrol.cxx
+++ b/toolkit/source/controls/unocontrol.cxx
@@ -311,7 +311,7 @@ Reference< XWindow > UnoControl::getParentPeer() const
{
Reference< XWindowPeer > xP = xContComp->getPeer();
if ( xP.is() )
- xP->queryInterface( ::getCppuType((const Reference< XWindow >*)0) ) >>= xPeer;
+ xPeer.set( xP, UNO_QUERY );
}
}
return xPeer;