summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/docsh8.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/docshell/docsh8.cxx')
-rw-r--r--sc/source/ui/docshell/docsh8.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/docshell/docsh8.cxx b/sc/source/ui/docshell/docsh8.cxx
index f6f0fe459c7b..09dd62e67045 100644
--- a/sc/source/ui/docshell/docsh8.cxx
+++ b/sc/source/ui/docshell/docsh8.cxx
@@ -213,7 +213,7 @@ bool ScDocShell::IsDocument( const INetURLObject& rURL )
catch( uno::Exception& )
{
// ucb may throw different exceptions on failure now - warning only
- OSL_FAIL( "Any other exception" );
+ TOOLS_WARN_EXCEPTION( "sc", "Any other exception" );
}
return bRet;
@@ -427,7 +427,7 @@ ErrCode ScDocShell::DBaseImport( const OUString& rFullFileName, rtl_TextEncoding
}
catch ( uno::Exception& )
{
- OSL_FAIL("Unexpected exception in database");
+ TOOLS_WARN_EXCEPTION( "sc", "Unexpected exception in database");
nErr = ERRCODE_IO_GENERAL;
}
@@ -1071,7 +1071,7 @@ ErrCode ScDocShell::DBaseExport( const OUString& rFullFileName, rtl_TextEncoding
}
catch ( uno::Exception& )
{
- OSL_FAIL("Unexpected exception in database");
+ TOOLS_WARN_EXCEPTION( "sc", "Unexpected exception in database");
nErr = ERRCODE_IO_GENERAL;
}