summaryrefslogtreecommitdiff
path: root/include/rtl/byteseq.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-06-05 08:10:23 +0200
committerNoel Grandin <noel@peralex.com>2014-06-05 08:17:48 +0200
commite5c20a785c5fafdd4dc9e6ac14ce548d2a527571 (patch)
tree283acf25267b64d73e896c5a1f7250a3ea89b53e /include/rtl/byteseq.hxx
parentb6c67082c04a0e749de669f56208094f372825bc (diff)
sal/rtl: remove SAL_THROW macro
Change-Id: I70e41f087dbe188f8fc455150480faeae2b426ed
Diffstat (limited to 'include/rtl/byteseq.hxx')
-rw-r--r--include/rtl/byteseq.hxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/rtl/byteseq.hxx b/include/rtl/byteseq.hxx
index 200cff3c95e5..c54aa64018ae 100644
--- a/include/rtl/byteseq.hxx
+++ b/include/rtl/byteseq.hxx
@@ -29,19 +29,19 @@ namespace rtl
{
-inline ByteSequence::ByteSequence() SAL_THROW(())
+inline ByteSequence::ByteSequence()
: _pSequence( 0 )
{
::rtl_byte_sequence_construct( &_pSequence, 0 );
}
-inline ByteSequence::ByteSequence( const ByteSequence & rSeq ) SAL_THROW(())
+inline ByteSequence::ByteSequence( const ByteSequence & rSeq )
: _pSequence( 0 )
{
::rtl_byte_sequence_assign( &_pSequence, rSeq._pSequence );
}
-inline ByteSequence::ByteSequence( sal_Sequence *pSequence) SAL_THROW(())
+inline ByteSequence::ByteSequence( sal_Sequence *pSequence)
: _pSequence( pSequence )
{
::rtl_byte_sequence_acquire( pSequence );
@@ -63,7 +63,7 @@ inline ByteSequence::ByteSequence( sal_Int32 len, enum __ByteSequence_NoDefault
throw ::std::bad_alloc();
}
-inline ByteSequence::ByteSequence( sal_Sequence *pSequence, enum __ByteSequence_NoAcquire ) SAL_THROW(())
+inline ByteSequence::ByteSequence( sal_Sequence *pSequence, enum __ByteSequence_NoAcquire )
: _pSequence( pSequence )
{
}
@@ -76,18 +76,18 @@ inline ByteSequence::ByteSequence( sal_Int32 len )
throw ::std::bad_alloc();
}
-inline ByteSequence::~ByteSequence() SAL_THROW(())
+inline ByteSequence::~ByteSequence()
{
::rtl_byte_sequence_release( _pSequence );
}
-inline ByteSequence & ByteSequence::operator = ( const ByteSequence & rSeq ) SAL_THROW(())
+inline ByteSequence & ByteSequence::operator = ( const ByteSequence & rSeq )
{
::rtl_byte_sequence_assign( &_pSequence, rSeq._pSequence );
return *this;
}
-inline bool ByteSequence::operator == ( const ByteSequence & rSeq ) const SAL_THROW(())
+inline bool ByteSequence::operator == ( const ByteSequence & rSeq ) const
{
return ::rtl_byte_sequence_equals( _pSequence, rSeq._pSequence );
}
@@ -112,7 +112,7 @@ inline sal_Int8 & ByteSequence::operator [] ( sal_Int32 nIndex )
return getArray()[ nIndex ];
}
-inline bool ByteSequence::operator != ( const ByteSequence & rSeq ) const SAL_THROW(())
+inline bool ByteSequence::operator != ( const ByteSequence & rSeq ) const
{
return (! operator == ( rSeq ));
}