[Libreoffice-commits] core.git: sax/source sax/test
Alexander Wilms
f.alexander.wilms at gmail.com
Wed Feb 26 06:03:18 PST 2014
sax/source/expatwrap/sax_expat.cxx | 4 ++--
sax/source/expatwrap/saxwriter.cxx | 2 +-
sax/source/expatwrap/xml2utf.cxx | 8 ++++----
sax/source/fastparser/fastparser.cxx | 6 +++---
sax/test/saxdemo.cxx | 4 ++--
sax/test/testcomponent.cxx | 4 ++--
6 files changed, 14 insertions(+), 14 deletions(-)
New commits:
commit ff0562fa4f7d8b7aceca16771d84db87d3f19756
Author: Alexander Wilms <f.alexander.wilms at gmail.com>
Date: Tue Feb 25 19:53:41 2014 +0100
Remove visual noise from sax
Change-Id: Ica31580f72b43456c33b2f6abbf2140a79efae1a
Reviewed-on: https://gerrit.libreoffice.org/8299
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sax/source/expatwrap/sax_expat.cxx b/sax/source/expatwrap/sax_expat.cxx
index 9719335..f19305f 100644
--- a/sax/source/expatwrap/sax_expat.cxx
+++ b/sax/source/expatwrap/sax_expat.cxx
@@ -759,9 +759,9 @@ void SaxExpatParser_Impl::parse( )
}
-//
+
// The C-Callbacks
-//
+
void SaxExpatParser_Impl::callbackStartElement( void *pvThis ,
const XML_Char *pwName ,
diff --git a/sax/source/expatwrap/saxwriter.cxx b/sax/source/expatwrap/saxwriter.cxx
index d871cce..cd8cf23 100644
--- a/sax/source/expatwrap/saxwriter.cxx
+++ b/sax/source/expatwrap/saxwriter.cxx
@@ -806,7 +806,7 @@ inline sal_Int32 calcXMLByteLength( const sal_Unicode *pStr, sal_Int32 nStrLen,
case 9: // 	
if( bNormalizeWhitespace )
{
- nOutputLength += 6; //
+ nOutputLength += 6;
}
else
{
diff --git a/sax/source/expatwrap/xml2utf.cxx b/sax/source/expatwrap/xml2utf.cxx
index 6c5fece..b390912 100644
--- a/sax/source/expatwrap/xml2utf.cxx
+++ b/sax/source/expatwrap/xml2utf.cxx
@@ -344,9 +344,9 @@ void XMLFile2UTFConverter::initializeDecoding()
-//
+
// Text2UnicodeConverter
-//
+
Text2UnicodeConverter::Text2UnicodeConverter( const OString &sEncoding )
{
@@ -450,9 +450,9 @@ Sequence<sal_Unicode> Text2UnicodeConverter::convert( const Sequence<sal_Int8> &
-//
+
// Unicode2TextConverter
-//
+
Unicode2TextConverter::Unicode2TextConverter( rtl_TextEncoding encoding )
{
diff --git a/sax/source/fastparser/fastparser.cxx b/sax/source/fastparser/fastparser.cxx
index ba63596..2e26c50 100644
--- a/sax/source/fastparser/fastparser.cxx
+++ b/sax/source/fastparser/fastparser.cxx
@@ -607,7 +607,7 @@ void Entity::throwException( const ::rtl::Reference< FastLocatorImpl > &xDocumen
// In the single threaded case we emit events via our C
// callbacks, so any exception caught must be queued up until
// we can safely re-throw it from our C++ parent of parse()
-//
+
// If multi-threaded, we need to push an EXCEPTION event, at
// which point we transfer ownership of maSavedException to
// the consuming thread.
@@ -1087,9 +1087,9 @@ void FastSaxParserImpl::parse()
}
-//
+
// The C-Callbacks
-//
+
void FastSaxParserImpl::callbackStartElement( const XML_Char* pwName, const XML_Char** awAttributes )
diff --git a/sax/test/saxdemo.cxx b/sax/test/saxdemo.cxx
index eb89b67..0c1ec2f 100644
--- a/sax/test/saxdemo.cxx
+++ b/sax/test/saxdemo.cxx
@@ -21,9 +21,9 @@
// testcomponent - Loads a service and its testcomponent from dlls performs a test.
// 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.uno.io.Pipe
-//
+
#include <stdio.h>
#include <vector>
diff --git a/sax/test/testcomponent.cxx b/sax/test/testcomponent.cxx
index a0ca81f..b979603 100644
--- a/sax/test/testcomponent.cxx
+++ b/sax/test/testcomponent.cxx
@@ -21,9 +21,9 @@
// testcomponent - Loads a service and its testcomponent from dlls performs a test.
// 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 com.sun.star.io.Pipe
-//
+
#include <stdio.h>
#include <com/sun/star/registry/XImplementationRegistration.hpp>
More information about the Libreoffice-commits
mailing list