summaryrefslogtreecommitdiff
path: root/basic/source/runtime/methods.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-27 11:37:01 +0200
committerNoel Grandin <noel@peralex.com>2015-07-28 08:35:34 +0200
commit01075a7274bd3921501d382a71720581a48bfd66 (patch)
tree7f748dfa03ed10666d15dbfa2481cf03171e644b /basic/source/runtime/methods.cxx
parent9072c5c8551c0bc512865ab15b1054c78706f1f3 (diff)
inline the "old" SbxErr constants
Change-Id: I1c54c792e0397d61c97d5067963b343f912275fc
Diffstat (limited to 'basic/source/runtime/methods.cxx')
-rw-r--r--basic/source/runtime/methods.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx
index f497f715eefe..424a747ed7cf 100644
--- a/basic/source/runtime/methods.cxx
+++ b/basic/source/runtime/methods.cxx
@@ -1899,7 +1899,7 @@ RTLFUNC(CDateFromUnoDate)
if(aAny >>= aUnoDate)
SbxDateFromUNODate(rPar.Get(0), aUnoDate);
else
- SbxBase::SetError( SbxERR_CONVERSION );
+ SbxBase::SetError( ERRCODE_SBX_CONVERSION );
}
css::util::Time SbxDateToUNOTime( const SbxValue* const pVal )
@@ -1952,7 +1952,7 @@ RTLFUNC(CDateFromUnoTime)
if(aAny >>= aUnoTime)
SbxDateFromUNOTime(rPar.Get(0), aUnoTime);
else
- SbxBase::SetError( SbxERR_CONVERSION );
+ SbxBase::SetError( ERRCODE_SBX_CONVERSION );
}
css::util::DateTime SbxDateToUNODateTime( const SbxValue* const pVal )
@@ -2014,7 +2014,7 @@ RTLFUNC(CDateFromUnoDateTime)
if(aAny >>= aUnoDT)
SbxDateFromUNODateTime(rPar.Get(0), aUnoDT);
else
- SbxBase::SetError( SbxERR_CONVERSION );
+ SbxBase::SetError( ERRCODE_SBX_CONVERSION );
}
// Function to convert date to ISO 8601 date format