summaryrefslogtreecommitdiff
path: root/unotools/inc/unotools/loghelper.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'unotools/inc/unotools/loghelper.hxx')
-rw-r--r--unotools/inc/unotools/loghelper.hxx11
1 files changed, 3 insertions, 8 deletions
diff --git a/unotools/inc/unotools/loghelper.hxx b/unotools/inc/unotools/loghelper.hxx
index bae5c7ed09c4..24f66bd91d38 100644
--- a/unotools/inc/unotools/loghelper.hxx
+++ b/unotools/inc/unotools/loghelper.hxx
@@ -30,14 +30,7 @@
namespace css = ::com::sun::star;
-class LogHelper
-{
-public:
- LogHelper();
- ~LogHelper();
-
- static void logIt(const css::uno::Exception&){}
-};
+namespace LogHelper {
inline void logIt(const css::uno::Exception& ex)
{
@@ -48,6 +41,8 @@ inline void logIt(const css::uno::Exception& ex)
OSL_FAIL(::rtl::OUStringToOString(sMsg.makeStringAndClear(), RTL_TEXTENCODING_UTF8).getStr());
}
+}
+
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */