summaryrefslogtreecommitdiff
path: root/basic/source/sbx/sbxscan.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2017-08-28 17:03:09 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-29 19:50:11 +0200
commit4e70d0b6bf4c07734b11bc2df155ccdc9fc6874b (patch)
tree5d23b771cc94978a48939f675b0ebb8a12db00ae /basic/source/sbx/sbxscan.cxx
parentddc4c0edeb57c95c02a683fd4dae50c57578237d (diff)
rename SBX errorcodes to BASIC
Change-Id: Ia6c2d2379a2f6e9b1109e2c04edd5cdd9dcf242f Reviewed-on: https://gerrit.libreoffice.org/41706 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basic/source/sbx/sbxscan.cxx')
-rw-r--r--basic/source/sbx/sbxscan.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/basic/source/sbx/sbxscan.cxx b/basic/source/sbx/sbxscan.cxx
index 59b1c7b61e29..2e2cb082ac57 100644
--- a/basic/source/sbx/sbxscan.cxx
+++ b/basic/source/sbx/sbxscan.cxx
@@ -257,13 +257,13 @@ ErrCode ImpScan( const OUString& rWSrc, double& nVal, SbxDataType& rType,
else if ( SbiRuntime::isVBAEnabled() )
{
SAL_WARN("basic", "Reporting error converting");
- return ERRCODE_SBX_CONVERSION;
+ return ERRCODE_BASIC_CONVERSION;
}
#endif
if( pLen )
*pLen = (sal_uInt16) ( p - pStart );
if( !bRes )
- return ERRCODE_SBX_CONVERSION;
+ return ERRCODE_BASIC_CONVERSION;
if( bMinus )
nVal = -nVal;
rType = eScanType;
@@ -280,7 +280,7 @@ ErrCode SbxValue::ScanNumIntnl( const OUString& rSrc, double& nVal, bool bSingle
// read completely?
if( nRetError == ERRCODE_NONE && nLen != rSrc.getLength() )
{
- nRetError = ERRCODE_SBX_CONVERSION;
+ nRetError = ERRCODE_BASIC_CONVERSION;
}
if( bSingle )
{
@@ -552,7 +552,7 @@ bool SbxValue::Scan( const OUString& rSrc, sal_uInt16* pLen )
ErrCode eRes = ERRCODE_NONE;
if( !CanWrite() )
{
- eRes = ERRCODE_SBX_PROP_READONLY;
+ eRes = ERRCODE_BASIC_PROP_READONLY;
}
else
{