summaryrefslogtreecommitdiff
path: root/io
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-03 11:35:58 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-08-03 12:16:13 +0000
commit5256953397b495e9271cec92cc78514d772acaf5 (patch)
tree4fb0ff2d5938a849c19f675be5016c423fd3ea7e /io
parent7dc5e8731fdc3a11ca429e717ec4a05e67ea1d21 (diff)
inline some use-once typedefs
Change-Id: I55cc82c8e180cce371c996690608090b1bfdfda4 Reviewed-on: https://gerrit.libreoffice.org/17494 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'io')
-rw-r--r--io/source/TextInputStream/TextInputStream.cxx4
-rw-r--r--io/source/TextOutputStream/TextOutputStream.cxx4
2 files changed, 2 insertions, 6 deletions
diff --git a/io/source/TextInputStream/TextInputStream.cxx b/io/source/TextInputStream/TextInputStream.cxx
index 115ba041998e..dfe601ba4978 100644
--- a/io/source/TextInputStream/TextInputStream.cxx
+++ b/io/source/TextInputStream/TextInputStream.cxx
@@ -50,12 +50,10 @@ namespace io_TextInputStream
// Implementation XTextInputStream
-typedef WeakImplHelper2< XTextInputStream2, XServiceInfo > TextInputStreamHelper;
-
#define INITIAL_UNICODE_BUFFER_CAPACITY 0x100
#define READ_BYTE_COUNT 0x100
-class OTextInputStream : public TextInputStreamHelper
+class OTextInputStream : public WeakImplHelper2< XTextInputStream2, XServiceInfo >
{
Reference< XInputStream > mxStream;
diff --git a/io/source/TextOutputStream/TextOutputStream.cxx b/io/source/TextOutputStream/TextOutputStream.cxx
index 4a5c7b2fc658..846b5958e5fd 100644
--- a/io/source/TextOutputStream/TextOutputStream.cxx
+++ b/io/source/TextOutputStream/TextOutputStream.cxx
@@ -50,9 +50,7 @@ namespace io_TextOutputStream
// Implementation XTextOutputStream
-typedef WeakImplHelper2< XTextOutputStream2, XServiceInfo > TextOutputStreamHelper;
-
-class OTextOutputStream : public TextOutputStreamHelper
+class OTextOutputStream : public WeakImplHelper2< XTextOutputStream2, XServiceInfo >
{
Reference< XOutputStream > mxStream;