[Libreoffice-commits] core.git: io/source io/test
Alexander Wilms
f.alexander.wilms at gmail.com
Wed Feb 26 07:26:05 PST 2014
io/source/TextInputStream/TextInputStream.cxx | 8 ++++----
io/source/TextOutputStream/TextOutputStream.cxx | 8 ++++----
io/source/stm/omark.cxx | 4 ++--
io/test/testcomponent.cxx | 3 +--
4 files changed, 11 insertions(+), 12 deletions(-)
New commits:
commit 043e378521faecfcc09e0d7007de93882c50c461
Author: Alexander Wilms <f.alexander.wilms at gmail.com>
Date: Tue Feb 25 19:07:42 2014 +0100
Remove visual noise from io
Change-Id: I46f8c4f793596b0e6feb2db7b9302b9b6eb9644b
Reviewed-on: https://gerrit.libreoffice.org/8273
Tested-by: Caolán McNamara <caolanm at redhat.com>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/io/source/TextInputStream/TextInputStream.cxx b/io/source/TextInputStream/TextInputStream.cxx
index 07379af..d6df3a2 100644
--- a/io/source/TextInputStream/TextInputStream.cxx
+++ b/io/source/TextInputStream/TextInputStream.cxx
@@ -48,7 +48,7 @@ using namespace ::com::sun::star::registry;
namespace io_TextInputStream
{
-//===========================================================================
+
// Implementation XTextInputStream
typedef WeakImplHelper2< XTextInputStream2, XServiceInfo > TextInputStreamHelper;
@@ -145,7 +145,7 @@ void OTextInputStream::implResizeBuffer( void )
}
-//===========================================================================
+
// XTextInputStream
OUString OTextInputStream::readLine( )
@@ -379,7 +379,7 @@ void OTextInputStream::setEncoding( const OUString& Encoding )
mEncoding = Encoding;
}
-//===========================================================================
+
// XInputStream
sal_Int32 OTextInputStream::readBytes( Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead )
@@ -413,7 +413,7 @@ void OTextInputStream::closeInput( )
}
-//===========================================================================
+
// XActiveDataSink
void OTextInputStream::setInputStream( const Reference< XInputStream >& aStream )
diff --git a/io/source/TextOutputStream/TextOutputStream.cxx b/io/source/TextOutputStream/TextOutputStream.cxx
index e26d515..6c1988e 100644
--- a/io/source/TextOutputStream/TextOutputStream.cxx
+++ b/io/source/TextOutputStream/TextOutputStream.cxx
@@ -48,7 +48,7 @@ using namespace ::com::sun::star::registry;
namespace io_TextOutputStream
{
-//===========================================================================
+
// Implementation XTextOutputStream
typedef WeakImplHelper2< XTextOutputStream2, XServiceInfo > TextOutputStreamHelper;
@@ -159,7 +159,7 @@ Sequence<sal_Int8> OTextOutputStream::implConvert( const OUString& rSource )
}
-//===========================================================================
+
// XTextOutputStream
void OTextOutputStream::writeString( const OUString& aString )
@@ -192,7 +192,7 @@ void OTextOutputStream::setEncoding( const OUString& Encoding )
mEncoding = Encoding;
}
-//===========================================================================
+
// XOutputStream
void OTextOutputStream::writeBytes( const Sequence< sal_Int8 >& aData )
throw(NotConnectedException, BufferSizeExceededException, IOException, RuntimeException)
@@ -226,7 +226,7 @@ void OTextOutputStream::checkOutputStream()
}
-//===========================================================================
+
// XActiveDataSource
void OTextOutputStream::setOutputStream( const Reference< XOutputStream >& aStream )
diff --git a/io/source/stm/omark.cxx b/io/source/stm/omark.cxx
index af47604..7cf5d49 100644
--- a/io/source/stm/omark.cxx
+++ b/io/source/stm/omark.cxx
@@ -472,9 +472,9 @@ Sequence<OUString> OMarkableOutputStream_getSupportedServiceNames(void)
-//
+
// XMarkableInputStream
-//
+
class OMarkableInputStream :
diff --git a/io/test/testcomponent.cxx b/io/test/testcomponent.cxx
index 260c723..10204c8 100644
--- a/io/test/testcomponent.cxx
+++ b/io/test/testcomponent.cxx
@@ -23,8 +23,7 @@
// Expands the dll-names depending on the actual environment.
// Example : testcomponent com.sun.star.io.Pipe stm
//
-// Therefor the testcode must exist in teststm and the testservice must be named test.com.sun.star.io.Pipe
-//
+// Therefore the testcode must exist in teststm and the testservice must be named test.com.sun.star.io.Pipe
#include <stdio.h>
#include <com/sun/star/registry/XImplementationRegistration.hpp>
More information about the Libreoffice-commits
mailing list