summaryrefslogtreecommitdiff
path: root/svx/source/form/fmsrcimp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/form/fmsrcimp.cxx')
-rw-r--r--svx/source/form/fmsrcimp.cxx16
1 files changed, 2 insertions, 14 deletions
diff --git a/svx/source/form/fmsrcimp.cxx b/svx/source/form/fmsrcimp.cxx
index 87d3dafc64cd..2ec434d312c8 100644
--- a/svx/source/form/fmsrcimp.cxx
+++ b/svx/source/form/fmsrcimp.cxx
@@ -211,26 +211,14 @@ bool FmSearchEngine::MoveCursor()
}
catch(css::sdbc::SQLException const& e)
{
-#if OSL_DEBUG_LEVEL > 0
- OStringBuffer sDebugMessage("FmSearchEngine::MoveCursor : catched a DatabaseException (");
- sDebugMessage.append(OUStringToOString(e.SQLState, RTL_TEXTENCODING_ASCII_US));
- sDebugMessage.append(") !");
- OSL_FAIL(sDebugMessage.getStr());
-#else
(void)e;
-#endif
+ SAL_WARN( "svx", "FmSearchEngine::MoveCursor: catched a DatabaseException: " << e.SQLState );
bSuccess = false;
}
catch(Exception const& e)
{
-#if OSL_DEBUG_LEVEL > 0
- OStringBuffer sDebugMessage("FmSearchEngine::MoveCursor : catched an Exception (");
- sDebugMessage.append(OUStringToOString(e.Message, RTL_TEXTENCODING_ASCII_US));
- sDebugMessage.append(") !");
- OSL_FAIL(sDebugMessage.getStr());
-#else
(void)e;
-#endif
+ SAL_WARN( "svx", "FmSearchEngine::MoveCursor: catched an Exception: " << e.Message);
bSuccess = false;
}
catch(...)