summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/docsh8.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-01 19:05:02 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-02 14:58:56 +0100
commita6e69f8fcd017519c37be409097108da6a6fcb33 (patch)
tree5906fed0faf294ccc3cc54a77a878e7b91a16f31 /sc/source/ui/docshell/docsh8.cxx
parent775a632985975057f5fa6c196aaffcd0a05e617a (diff)
Move DBG_ERROR to OSL_FAIL
Diffstat (limited to 'sc/source/ui/docshell/docsh8.cxx')
-rw-r--r--sc/source/ui/docshell/docsh8.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/docshell/docsh8.cxx b/sc/source/ui/docshell/docsh8.cxx
index e5af5a4e3fec..db1bcaf82251 100644
--- a/sc/source/ui/docshell/docsh8.cxx
+++ b/sc/source/ui/docshell/docsh8.cxx
@@ -322,7 +322,7 @@ ULONG ScDocShell::DBaseImport( const String& rFullFileName, CharSet eCharSet,
long nRowCount = 0;
if ( nRowCount < 0 )
{
- DBG_ERROR("can't get row count");
+ OSL_FAIL("can't get row count");
nRowCount = 0;
}
@@ -477,7 +477,7 @@ ULONG ScDocShell::DBaseImport( const String& rFullFileName, CharSet eCharSet,
}
catch ( uno::Exception& )
{
- DBG_ERROR("Unexpected exception in database");
+ OSL_FAIL("Unexpected exception in database");
nErr = ERRCODE_IO_GENERAL;
}
@@ -1037,7 +1037,7 @@ ULONG ScDocShell::DBaseExport( const String& rFullFileName, CharSet eCharSet, BO
break;
default:
- DBG_ERROR( "ScDocShell::DBaseExport: unknown FieldType" );
+ OSL_FAIL( "ScDocShell::DBaseExport: unknown FieldType" );
if ( nErr == eERR_OK )
nErr = SCWARN_EXPORT_DATALOST;
aDocument.GetValue( nDocCol, nDocRow, nTab, fVal );
@@ -1164,7 +1164,7 @@ ULONG ScDocShell::DBaseExport( const String& rFullFileName, CharSet eCharSet, BO
}
catch ( uno::Exception& )
{
- DBG_ERROR("Unexpected exception in database");
+ OSL_FAIL("Unexpected exception in database");
nErr = ERRCODE_IO_GENERAL;
}