summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba/vbarange.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-27 13:04:00 +0200
committerNoel Grandin <noel@peralex.com>2015-07-28 08:35:34 +0200
commitb1c25a0d8fa2f8effc501cc100b0c07f79437e8e (patch)
treea9d0dac27fd41ebb88775fdf3605fb1aabb8299e /sw/source/ui/vba/vbarange.cxx
parent4eeeec899f44d2010189251c0f09120ade202dd8 (diff)
inline "old" SbERR constants
Change-Id: I3e6665351de97692ae70207e8b623ad008ca8c9a
Diffstat (limited to 'sw/source/ui/vba/vbarange.cxx')
-rw-r--r--sw/source/ui/vba/vbarange.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/vba/vbarange.cxx b/sw/source/ui/vba/vbarange.cxx
index 1f4e9fa0154c..368eb230b764 100644
--- a/sw/source/ui/vba/vbarange.cxx
+++ b/sw/source/ui/vba/vbarange.cxx
@@ -193,10 +193,10 @@ void SAL_CALL SwVbaRange::InsertBreak(const uno::Any& _breakType)
case word::WdBreakType::wdSectionBreakNextPage:
case word::WdBreakType::wdSectionBreakOddPage:
case word::WdBreakType::wdTextWrappingBreak:
- DebugHelper::basicexception( SbERR_NOT_IMPLEMENTED, OUString() );
+ DebugHelper::basicexception( ERRCODE_BASIC_NOT_IMPLEMENTED, OUString() );
break;
default:
- DebugHelper::basicexception( SbERR_BAD_PARAMETER, OUString() );
+ DebugHelper::basicexception( ERRCODE_BASIC_BAD_PARAMETER, OUString() );
}
if( eBreakType != style::BreakType_NONE )
@@ -269,7 +269,7 @@ void SwVbaRange::GetStyleInfo(OUString& aStyleName, OUString& aStyleType ) throw
}
if( aStyleType.isEmpty() )
{
- DebugHelper::runtimeexception( SbERR_INTERNAL_ERROR, OUString() );
+ DebugHelper::runtimeexception( ERRCODE_BASIC_INTERNAL_ERROR, OUString() );
}
}