summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-10-07 14:29:16 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-10-07 22:02:32 +0200
commit09e0e415e1fe1821a2ee5b12dab9b20fd7c46641 (patch)
tree9eea75d0162af906573df5900e5e740f492a1c23 /toolkit
parentb3d077a9201d10f2243a7e187af93feb9bfd26ff (diff)
use cppu::WeakImplHelper in VCLXGraphics
Change-Id: If862818ef3eb534493ac61d5071ec1adf590ebf2 Reviewed-on: https://gerrit.libreoffice.org/80388 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/awt/vclxgraphics.cxx23
1 files changed, 0 insertions, 23 deletions
diff --git a/toolkit/source/awt/vclxgraphics.cxx b/toolkit/source/awt/vclxgraphics.cxx
index c5a27d244538..12f586a9a454 100644
--- a/toolkit/source/awt/vclxgraphics.cxx
+++ b/toolkit/source/awt/vclxgraphics.cxx
@@ -37,32 +37,9 @@ using namespace com::sun::star;
// class VCLXGraphics
-
-// uno::XInterface
-uno::Any VCLXGraphics::queryInterface( const uno::Type & rType )
-{
- uno::Any aRet = ::cppu::queryInterface( rType,
- static_cast< css::awt::XGraphics* >(this),
- static_cast< css::lang::XTypeProvider* >(this),
- static_cast< css::lang::XUnoTunnel* >(this) );
- return (aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType ));
-}
-
// lang::XUnoTunnel
UNO3_GETIMPLEMENTATION_IMPL( VCLXGraphics );
-IMPL_IMPLEMENTATION_ID( VCLXGraphics )
-
-// lang::XTypeProvider
-css::uno::Sequence< css::uno::Type > VCLXGraphics::getTypes()
-{
- static const css::uno::Sequence< css::uno::Type > aTypeList {
- cppu::UnoType<css::lang::XTypeProvider>::get(),
- cppu::UnoType<awt::XGraphics>::get()
- };
- return aTypeList;
-}
-
VCLXGraphics::VCLXGraphics()
: mpOutputDevice(nullptr)
, meRasterOp(RasterOp::OverPaint)