summaryrefslogtreecommitdiff
path: root/include/tools/diagnose_ex.h
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-10-23 09:07:12 +0200
committerNoel Grandin <noel@peralex.com>2015-10-23 10:48:50 +0200
commitc06e2fcc2c03c4b6353bd9a1e282c36de872d777 (patch)
tree69cdc7e4bf9d658b108d2a71a8d9ed41c518ed0d /include/tools/diagnose_ex.h
parenta1ff0745cc4f78777e8dba1e7bb52d18386d7394 (diff)
com::sun::star->css in include/sot to include/typelib
Change-Id: I9cd92b53370a6b6018d2f7c648890f9c014a27de
Diffstat (limited to 'include/tools/diagnose_ex.h')
-rw-r--r--include/tools/diagnose_ex.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/tools/diagnose_ex.h b/include/tools/diagnose_ex.h
index b162f94db8fd..7dec15c6f0a3 100644
--- a/include/tools/diagnose_ex.h
+++ b/include/tools/diagnose_ex.h
@@ -29,7 +29,7 @@
#include <tools/toolsdllapi.h>
-TOOLS_DLLPUBLIC void DbgUnhandledException(const ::com::sun::star::uno::Any& caughtException, const char* currentFunction, const char* fileAndLineNo);
+TOOLS_DLLPUBLIC void DbgUnhandledException(const css::uno::Any& caughtException, const char* currentFunction, const char* fileAndLineNo);
#if OSL_DEBUG_LEVEL > 0
#include <com/sun/star/configuration/CorruptedConfigurationException.hpp>
@@ -55,14 +55,14 @@ TOOLS_DLLPUBLIC void DbgUnhandledException(const ::com::sun::star::uno::Any& cau
*/
#define ENSURE_ARG_OR_THROW(c, m) if( !(c) ) { \
OSL_ENSURE(c, m); \
- throw ::com::sun::star::lang::IllegalArgumentException( \
+ throw css::lang::IllegalArgumentException( \
OUStringLiteral(BOOST_CURRENT_FUNCTION) \
+ ",\n" m, \
- ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >(), \
+ css::uno::Reference< css::uno::XInterface >(), \
0 ); }
#define ENSURE_ARG_OR_THROW2(c, m, ifc, arg) if( !(c) ) { \
OSL_ENSURE(c, m); \
- throw ::com::sun::star::lang::IllegalArgumentException( \
+ throw css::lang::IllegalArgumentException( \
OUStringLiteral(BOOST_CURRENT_FUNCTION) \
+ ",\n" m, \
ifc, \
@@ -74,14 +74,14 @@ TOOLS_DLLPUBLIC void DbgUnhandledException(const ::com::sun::star::uno::Any& cau
#define ENSURE_OR_THROW(c, m) \
if( !(c) ){ \
OSL_ENSURE(c, m); \
- throw ::com::sun::star::uno::RuntimeException( \
+ throw css::uno::RuntimeException( \
OUStringLiteral(BOOST_CURRENT_FUNCTION) + ",\n" m, \
- ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >() ); }
+ css::uno::Reference< css::uno::XInterface >() ); }
#define ENSURE_OR_THROW2(c, m, ifc) \
if( !(c) ) { \
OSL_ENSURE(c, m); \
- throw ::com::sun::star::uno::RuntimeException( \
+ throw css::uno::RuntimeException( \
OUStringLiteral(BOOST_CURRENT_FUNCTION) + ",\n" m, \
ifc ); }