summaryrefslogtreecommitdiff
path: root/include/rtl/byteseq.hxx
diff options
context:
space:
mode:
authorAlexander Wilms <f.alexander.wilms@gmail.com>2014-02-25 19:06:16 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-03-01 09:51:32 -0600
commit8792ec7b2129650777b7b4bfacaa7c13d923279b (patch)
treef181e37b61533b460397cc68625fd21f46bb6393 /include/rtl/byteseq.hxx
parentdff29fadfe418421f2af9fd4f1dccc8a9b4cd545 (diff)
Remove visual noise from include
Conflicts: include/framework/preventduplicateinteraction.hxx include/sfx2/sfxbasecontroller.hxx include/sfx2/sfxbasemodel.hxx include/toolkit/awt/vclxtabpagemodel.hxx include/vcl/field.hxx include/vcl/settings.hxx Change-Id: Ibccf9f88c68267a3d7e656012b51eaf644c418c2 Reviewed-on: https://gerrit.libreoffice.org/8272 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/rtl/byteseq.hxx')
-rw-r--r--include/rtl/byteseq.hxx28
1 files changed, 14 insertions, 14 deletions
diff --git a/include/rtl/byteseq.hxx b/include/rtl/byteseq.hxx
index c84bc9f4f916..200cff3c95e5 100644
--- a/include/rtl/byteseq.hxx
+++ b/include/rtl/byteseq.hxx
@@ -28,25 +28,25 @@
namespace rtl
{
-//__________________________________________________________________________________________________
+
inline ByteSequence::ByteSequence() SAL_THROW(())
: _pSequence( 0 )
{
::rtl_byte_sequence_construct( &_pSequence, 0 );
}
-//__________________________________________________________________________________________________
+
inline ByteSequence::ByteSequence( const ByteSequence & rSeq ) SAL_THROW(())
: _pSequence( 0 )
{
::rtl_byte_sequence_assign( &_pSequence, rSeq._pSequence );
}
-//__________________________________________________________________________________________________
+
inline ByteSequence::ByteSequence( sal_Sequence *pSequence) SAL_THROW(())
: _pSequence( pSequence )
{
::rtl_byte_sequence_acquire( pSequence );
}
-//__________________________________________________________________________________________________
+
inline ByteSequence::ByteSequence( const sal_Int8 * pElements, sal_Int32 len )
: _pSequence( 0 )
{
@@ -54,7 +54,7 @@ inline ByteSequence::ByteSequence( const sal_Int8 * pElements, sal_Int32 len )
if (_pSequence == 0)
throw ::std::bad_alloc();
}
-//__________________________________________________________________________________________________
+
inline ByteSequence::ByteSequence( sal_Int32 len, enum __ByteSequence_NoDefault )
: _pSequence( 0 )
{
@@ -62,12 +62,12 @@ inline ByteSequence::ByteSequence( sal_Int32 len, enum __ByteSequence_NoDefault
if (_pSequence == 0)
throw ::std::bad_alloc();
}
-//__________________________________________________________________________________________________
+
inline ByteSequence::ByteSequence( sal_Sequence *pSequence, enum __ByteSequence_NoAcquire ) SAL_THROW(())
: _pSequence( pSequence )
{
}
-//__________________________________________________________________________________________________
+
inline ByteSequence::ByteSequence( sal_Int32 len )
: _pSequence( 0 )
{
@@ -75,23 +75,23 @@ inline ByteSequence::ByteSequence( sal_Int32 len )
if (_pSequence == 0)
throw ::std::bad_alloc();
}
-//__________________________________________________________________________________________________
+
inline ByteSequence::~ByteSequence() SAL_THROW(())
{
::rtl_byte_sequence_release( _pSequence );
}
-//__________________________________________________________________________________________________
+
inline ByteSequence & ByteSequence::operator = ( const ByteSequence & rSeq ) SAL_THROW(())
{
::rtl_byte_sequence_assign( &_pSequence, rSeq._pSequence );
return *this;
}
-//__________________________________________________________________________________________________
+
inline bool ByteSequence::operator == ( const ByteSequence & rSeq ) const SAL_THROW(())
{
return ::rtl_byte_sequence_equals( _pSequence, rSeq._pSequence );
}
-//__________________________________________________________________________________________________
+
inline sal_Int8 * ByteSequence::getArray()
{
::rtl_byte_sequence_reference2One( &_pSequence );
@@ -99,19 +99,19 @@ inline sal_Int8 * ByteSequence::getArray()
throw ::std::bad_alloc();
return (sal_Int8 *)_pSequence->elements;
}
-//__________________________________________________________________________________________________
+
inline void ByteSequence::realloc( sal_Int32 nSize )
{
::rtl_byte_sequence_realloc( &_pSequence, nSize );
if (_pSequence == 0)
throw ::std::bad_alloc();
}
-//__________________________________________________________________________________________________
+
inline sal_Int8 & ByteSequence::operator [] ( sal_Int32 nIndex )
{
return getArray()[ nIndex ];
}
-//__________________________________________________________________________________________________
+
inline bool ByteSequence::operator != ( const ByteSequence & rSeq ) const SAL_THROW(())
{
return (! operator == ( rSeq ));