diff options
Diffstat (limited to 'sc/source/ui/view/scextopt.cxx')
-rw-r--r-- | sc/source/ui/view/scextopt.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/view/scextopt.cxx b/sc/source/ui/view/scextopt.cxx index c9af56f00d33..5a6987dfed0a 100644 --- a/sc/source/ui/view/scextopt.cxx +++ b/sc/source/ui/view/scextopt.cxx @@ -206,13 +206,13 @@ SCTAB ScExtDocOptions::GetCodeNameCount() const const String& ScExtDocOptions::GetCodeName( SCTAB nTab ) const { - DBG_ASSERT( (0 <= nTab) && (nTab < GetCodeNameCount()), "ScExtDocOptions::GetCodeName - invalid sheet index" ); + OSL_ENSURE( (0 <= nTab) && (nTab < GetCodeNameCount()), "ScExtDocOptions::GetCodeName - invalid sheet index" ); return ((0 <= nTab) && (nTab < GetCodeNameCount())) ? mxImpl->maCodeNames[ static_cast< size_t >( nTab ) ] : EMPTY_STRING; } void ScExtDocOptions::SetCodeName( SCTAB nTab, const String& rCodeName ) { - DBG_ASSERT( nTab >= 0, "ScExtDocOptions::SetCodeName - invalid sheet index" ); + OSL_ENSURE( nTab >= 0, "ScExtDocOptions::SetCodeName - invalid sheet index" ); if( nTab >= 0 ) { size_t nIndex = static_cast< size_t >( nTab ); |