diff options
author | Noel Grandin <noel@peralex.com> | 2015-07-27 13:04:00 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-07-28 08:35:34 +0200 |
commit | b1c25a0d8fa2f8effc501cc100b0c07f79437e8e (patch) | |
tree | a9d0dac27fd41ebb88775fdf3605fb1aabb8299e /sc/source/ui/vba/vbapagebreaks.cxx | |
parent | 4eeeec899f44d2010189251c0f09120ade202dd8 (diff) |
inline "old" SbERR constants
Change-Id: I3e6665351de97692ae70207e8b623ad008ca8c9a
Diffstat (limited to 'sc/source/ui/vba/vbapagebreaks.cxx')
-rw-r--r-- | sc/source/ui/vba/vbapagebreaks.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/vba/vbapagebreaks.cxx b/sc/source/ui/vba/vbapagebreaks.cxx index 47a8febc46d5..8e9744cb5854 100644 --- a/sc/source/ui/vba/vbapagebreaks.cxx +++ b/sc/source/ui/vba/vbapagebreaks.cxx @@ -149,7 +149,7 @@ sheet::TablePageBreakData RangePageBreaks::getTablePageBreakData( sal_Int32 nAPI aTablePageBreakData = aTablePageBreakDataList[i]; sal_Int32 nPos = aTablePageBreakData.Position; if( nPos > nUsedEnd + 1 ) - DebugHelper::runtimeexception(SbERR_METHOD_FAILED, OUString()); + DebugHelper::runtimeexception(ERRCODE_BASIC_METHOD_FAILED, OUString()); index++; if( index == nAPIItemIndex ) return aTablePageBreakData; @@ -164,7 +164,7 @@ uno::Any RangePageBreaks::Add( const css::uno::Any& Before ) throw ( css::script Before >>= xRange; if( !xRange.is() ) { - DebugHelper::basicexception(SbERR_BAD_ARGUMENT, OUString()); + DebugHelper::basicexception(ERRCODE_BASIC_BAD_ARGUMENT, OUString()); } sal_Int32 nAPIRowColIndex = getAPIStartofRange( xRange ); |