From 3af7e5c320c55e67367ce824944de58672cc772f Mon Sep 17 00:00:00 2001 From: Thorsten Behrens Date: Wed, 11 Sep 2013 15:14:30 +0200 Subject: Exorcise some cargo-cultness in oox. - the inline keyword on class methods that have their body defined right there in the class definition is redundant - the explicit keyword on nullary ctors is pointless, there is no implicit conversion happening anyway with those Change-Id: Ie9f44c7948f932ce3a8af871bf73743112d94d03 --- include/oox/helper/binaryoutputstream.hxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'include/oox/helper/binaryoutputstream.hxx') diff --git a/include/oox/helper/binaryoutputstream.hxx b/include/oox/helper/binaryoutputstream.hxx index 56d806577731..e4e41119ba46 100644 --- a/include/oox/helper/binaryoutputstream.hxx +++ b/include/oox/helper/binaryoutputstream.hxx @@ -66,7 +66,7 @@ public: /** Stream operator for all data types supported by the writeValue() function. */ template< typename Type > - inline BinaryOutputStream& operator<<( Type nValue ) { writeValue( nValue ); return *this; } + BinaryOutputStream& operator<<( Type nValue ) { writeValue( nValue ); return *this; } void writeCompressedUnicodeArray( const OUString& rString, bool bCompressed, bool bAllowNulChars = false ); @@ -77,7 +77,7 @@ public: protected: /** This dummy default c'tor will never call the c'tor of the virtual base class BinaryStreamBase as this class cannot be instanciated directly. */ - inline explicit BinaryOutputStream() : BinaryStreamBase( false ) {} + BinaryOutputStream() : BinaryStreamBase( false ) {} }; template< typename Type > @@ -136,10 +136,10 @@ public: /** Stream operator for all data types supported by the writeValue() function. */ template< typename Type > - inline BinaryXOutputStream& operator<<( Type nValue ) { writeValue( nValue ); return *this; } + BinaryXOutputStream& operator<<( Type nValue ) { writeValue( nValue ); return *this; } /** Returns the XOutputStream interface of the wrapped output stream. */ - inline ::com::sun::star::uno::Reference< ::com::sun::star::io::XOutputStream > + ::com::sun::star::uno::Reference< ::com::sun::star::io::XOutputStream > getXOutputStream() const { return mxOutStrm; } private: @@ -177,7 +177,7 @@ public: /** Stream operator for all data types supported by the writeValue() function. */ template< typename Type > - inline SequenceOutputStream& operator<<( Type nValue ) { writeValue( nValue ); return *this; } + SequenceOutputStream& operator<<( Type nValue ) { writeValue( nValue ); return *this; } }; // ============================================================================ -- cgit