diff options
author | Noel Grandin <noel@peralex.com> | 2015-10-23 14:59:15 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-10-23 15:14:45 +0200 |
commit | 8d80b5be024bdbcfedd41b32cbb5c6b71724dd33 (patch) | |
tree | 4a4ec47464f3756d551ef97fb419ca073750ef24 /pyuno/source/module/pyuno_except.cxx | |
parent | 3569c58c0ed9ac69f809d6f47ac4fe2cb8732630 (diff) |
com::sun::star->css in package,pyuno
Change-Id: I7b7b0e7fea2d1a2b9f6f5501ad5e0b8c1b4a17b9
Diffstat (limited to 'pyuno/source/module/pyuno_except.cxx')
-rw-r--r-- | pyuno/source/module/pyuno_except.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pyuno/source/module/pyuno_except.cxx b/pyuno/source/module/pyuno_except.cxx index 2c14af9be646..6ae91ad65a16 100644 --- a/pyuno/source/module/pyuno_except.cxx +++ b/pyuno/source/module/pyuno_except.cxx @@ -33,7 +33,7 @@ using com::sun::star::uno::TypeDescription; namespace pyuno { -void raisePyExceptionWithAny( const com::sun::star::uno::Any &anyExc ) +void raisePyExceptionWithAny( const css::uno::Any &anyExc ) { try { @@ -46,7 +46,7 @@ void raisePyExceptionWithAny( const com::sun::star::uno::Any &anyExc ) } else { - com::sun::star::uno::Exception e; + css::uno::Exception e; anyExc >>= e; OUStringBuffer buf; @@ -60,12 +60,12 @@ void raisePyExceptionWithAny( const com::sun::star::uno::Any &anyExc ) OUStringToOString(buf.makeStringAndClear(),RTL_TEXTENCODING_ASCII_US).getStr() ); } } - catch(const com::sun::star::lang::IllegalArgumentException & e) + catch(const css::lang::IllegalArgumentException & e) { PyErr_SetString( PyExc_SystemError, OUStringToOString( e.Message, RTL_TEXTENCODING_ASCII_US).getStr() ); } - catch(const com::sun::star::script::CannotConvertException & e) + catch(const css::script::CannotConvertException & e) { PyErr_SetString( PyExc_SystemError, OUStringToOString( e.Message, RTL_TEXTENCODING_ASCII_US).getStr() ); @@ -100,7 +100,7 @@ static PyRef createClass( const OUString & name, const Runtime &runtime ) OUStringBuffer buf; buf.append( "pyuno.getClass: " ).append(name).append( "is a " ); buf.appendAscii( - typeClassToString( (com::sun::star::uno::TypeClass) desc.get()->eTypeClass)); + typeClassToString( (css::uno::TypeClass) desc.get()->eTypeClass)); buf.append( ", expected EXCEPTION, STRUCT or INTERFACE" ); throw RuntimeException( buf.makeStringAndClear() ); } |