diff options
author | Thorsten Behrens <tbehrens@suse.com> | 2013-09-11 15:14:30 +0200 |
---|---|---|
committer | Thorsten Behrens <tbehrens@suse.com> | 2013-09-11 18:20:37 +0200 |
commit | 3af7e5c320c55e67367ce824944de58672cc772f (patch) | |
tree | e4b1947cdd4c13e5d6a9189cc2a4e9c35f3b353f /include/oox/helper/binaryoutputstream.hxx | |
parent | f34fe6ed9f5a63745821770fd925776c54c8b905 (diff) |
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
Diffstat (limited to 'include/oox/helper/binaryoutputstream.hxx')
-rw-r--r-- | include/oox/helper/binaryoutputstream.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
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; } }; // ============================================================================ |