diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-15 08:40:10 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-15 09:48:11 +0200 |
commit | 7aee0ea7c5a780bca5193382b6f73599c2f025eb (patch) | |
tree | c6f7c110b53a5460a10ee1145e95f19ce08be27e /basic/source/sbx/sbxvalue.cxx | |
parent | 5ea13cb3b9ec19fe2d88f91585f433c81e6b1f2e (diff) |
replace SbxError typedef with ErrCode
part of a larger patch to convert ErrCode to strong_int
Change-Id: Ia56e5d6d8c4217d6f258e2113d20ce737977892f
Reviewed-on: https://gerrit.libreoffice.org/38813
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basic/source/sbx/sbxvalue.cxx')
-rw-r--r-- | basic/source/sbx/sbxvalue.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/basic/source/sbx/sbxvalue.cxx b/basic/source/sbx/sbxvalue.cxx index 7ff177d8a736..10c3e0620016 100644 --- a/basic/source/sbx/sbxvalue.cxx +++ b/basic/source/sbx/sbxvalue.cxx @@ -268,7 +268,7 @@ SbxValue* SbxValue::TheRealValue( bool bObjInObjError ) const bool SbxValue::Get( SbxValues& rRes ) const { bool bRes = false; - SbxError eOld = GetError(); + ErrCode eOld = GetError(); if( eOld != ERRCODE_SBX_OK ) ResetError(); if( !CanRead() ) @@ -422,7 +422,7 @@ GET( GetDecimal, SbxDECIMAL, SbxDecimal*, pDecimal ) bool SbxValue::Put( const SbxValues& rVal ) { bool bRes = false; - SbxError eOld = GetError(); + ErrCode eOld = GetError(); if( eOld != ERRCODE_SBX_OK ) ResetError(); if( !CanWrite() ) @@ -834,7 +834,7 @@ bool SbxValue::Compute( SbxOperator eOp, const SbxValue& rOp ) #endif SbxDataType eThisType = GetType(); SbxDataType eOpType = rOp.GetType(); - SbxError eOld = GetError(); + ErrCode eOld = GetError(); if( eOld != ERRCODE_SBX_OK ) ResetError(); if( !CanWrite() ) @@ -1212,7 +1212,7 @@ bool SbxValue::Compare( SbxOperator eOp, const SbxValue& rOp ) const #endif bool bRes = false; - SbxError eOld = GetError(); + ErrCode eOld = GetError(); if( eOld != ERRCODE_SBX_OK ) ResetError(); if( !CanRead() || !rOp.CanRead() ) |