From a4fd6c4f9e5b010f00ba7cc84a4b2d5d8950813a Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 3 Aug 2015 12:34:22 +0200 Subject: inline some use-once typedefs Change-Id: I02cbbba56a2ad83e0ac3d806265a7e0d6a29594d Reviewed-on: https://gerrit.libreoffice.org/17495 Tested-by: Jenkins Reviewed-by: Noel Grandin --- ucb/source/core/FileAccess.cxx | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'ucb') diff --git a/ucb/source/core/FileAccess.cxx b/ucb/source/core/FileAccess.cxx index 4e36b7664f9c..47e86f2fecc4 100644 --- a/ucb/source/core/FileAccess.cxx +++ b/ucb/source/core/FileAccess.cxx @@ -131,9 +131,8 @@ public: }; // Implementation XActiveDataSink -typedef cppu::WeakImplHelper1< XActiveDataSink > ActiveDataSinkHelper; -class OActiveDataSink : public ActiveDataSinkHelper +class OActiveDataSink : public cppu::WeakImplHelper1< XActiveDataSink > { Reference< XInputStream > mxStream; @@ -147,9 +146,8 @@ public: }; // Implementation XActiveDataStreamer -typedef cppu::WeakImplHelper1< XActiveDataStreamer > ActiveDataStreamerHelper; -class OActiveDataStreamer : public ActiveDataStreamerHelper +class OActiveDataStreamer : public cppu::WeakImplHelper1< XActiveDataStreamer > { Reference< XStream > mxStream; @@ -163,9 +161,8 @@ public: }; // Implementation XCommandEnvironment -typedef cppu::WeakImplHelper1< XCommandEnvironment > CommandEnvironmentHelper; -class OCommandEnvironment : public CommandEnvironmentHelper +class OCommandEnvironment : public cppu::WeakImplHelper1< XCommandEnvironment > { Reference< XInteractionHandler > mxInteraction; -- cgit