fdo#46808, convert io::TextInputStream service to new style

Change-Id: Ida4abdd6587399aa8ade88af672bcb23ab7ea0f1
This commit is contained in:
Noel Grandin
2013-01-30 14:46:50 +02:00
parent a7ecab870e
commit ff85e8319a
14 changed files with 187 additions and 177 deletions

View File

@@ -25,14 +25,13 @@
#include <uno/mapping.hxx>
#include <cppuhelper/factory.hxx>
#include <cppuhelper/implbase3.hxx>
#include <cppuhelper/implbase2.hxx>
#include <cppuhelper/implementationentry.hxx>
#include <rtl/textenc.h>
#include <rtl/tencinfo.h>
#include <com/sun/star/io/XTextInputStream.hpp>
#include <com/sun/star/io/XActiveDataSink.hpp>
#include <com/sun/star/io/XTextInputStream2.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
@@ -54,7 +53,7 @@ namespace io_TextInputStream
//===========================================================================
// Implementation XTextInputStream
typedef WeakImplHelper3< XTextInputStream, XActiveDataSink, XServiceInfo > TextInputStreamHelper;
typedef WeakImplHelper2< XTextInputStream2, XServiceInfo > TextInputStreamHelper;
#define INITIAL_UNICODE_BUFFER_CAPACITY 0x100
#define READ_BYTE_COUNT 0x100