diff options
author | Noel Grandin <noel@peralex.com> | 2015-07-27 13:04:00 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-07-28 08:35:34 +0200 |
commit | b1c25a0d8fa2f8effc501cc100b0c07f79437e8e (patch) | |
tree | a9d0dac27fd41ebb88775fdf3605fb1aabb8299e /sc/source/ui/vba/vbastyle.cxx | |
parent | 4eeeec899f44d2010189251c0f09120ade202dd8 (diff) |
inline "old" SbERR constants
Change-Id: I3e6665351de97692ae70207e8b623ad008ca8c9a
Diffstat (limited to 'sc/source/ui/vba/vbastyle.cxx')
-rw-r--r-- | sc/source/ui/vba/vbastyle.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sc/source/ui/vba/vbastyle.cxx b/sc/source/ui/vba/vbastyle.cxx index 09181f83db5b..15f7b905d469 100644 --- a/sc/source/ui/vba/vbastyle.cxx +++ b/sc/source/ui/vba/vbastyle.cxx @@ -44,11 +44,11 @@ lcl_getStyleProps( const OUString& sStyleName, const uno::Reference< frame::XMod void ScVbaStyle::initialise() throw ( uno::RuntimeException, script::BasicErrorException ) { if (!mxModel.is() ) - DebugHelper::basicexception(SbERR_METHOD_FAILED, OUString( "XModel Interface could not be retrieved") ); + DebugHelper::basicexception(ERRCODE_BASIC_METHOD_FAILED, OUString( "XModel Interface could not be retrieved") ); uno::Reference< lang::XServiceInfo > xServiceInfo( mxPropertySet, uno::UNO_QUERY_THROW ); if ( !xServiceInfo->supportsService("com.sun.star.style.CellStyle") ) { - DebugHelper::basicexception(SbERR_METHOD_FAILED, OUString() ); + DebugHelper::basicexception(ERRCODE_BASIC_METHOD_FAILED, OUString() ); } mxStyle.set( mxPropertySet, uno::UNO_QUERY_THROW ); @@ -65,7 +65,7 @@ ScVbaStyle::ScVbaStyle( const uno::Reference< ov::XHelperInterface >& xParent, c } catch (const uno::Exception& ) { - DebugHelper::basicexception(SbERR_METHOD_FAILED, OUString()); + DebugHelper::basicexception(ERRCODE_BASIC_METHOD_FAILED, OUString()); } } @@ -77,7 +77,7 @@ ScVbaStyle::ScVbaStyle( const uno::Reference< XHelperInterface >& xParent, const } catch (const uno::Exception& ) { - DebugHelper::basicexception(SbERR_METHOD_FAILED, OUString()); + DebugHelper::basicexception(ERRCODE_BASIC_METHOD_FAILED, OUString()); } } @@ -122,7 +122,7 @@ ScVbaStyle::getNameLocal() throw (script::BasicErrorException, uno::RuntimeExcep } catch (const uno::Exception& ) { - DebugHelper::basicexception(SbERR_METHOD_FAILED, OUString() ); + DebugHelper::basicexception(ERRCODE_BASIC_METHOD_FAILED, OUString() ); } return sName; } @@ -136,20 +136,20 @@ ScVbaStyle::Delete() throw (script::BasicErrorException, uno::RuntimeException, } catch (const uno::Exception& ) { - DebugHelper::basicexception(SbERR_METHOD_FAILED, OUString()); + DebugHelper::basicexception(ERRCODE_BASIC_METHOD_FAILED, OUString()); } } void SAL_CALL ScVbaStyle::setMergeCells( const uno::Any& /*MergeCells*/ ) throw (script::BasicErrorException, uno::RuntimeException) { - DebugHelper::basicexception(SbERR_NOT_IMPLEMENTED, OUString()); + DebugHelper::basicexception(ERRCODE_BASIC_NOT_IMPLEMENTED, OUString()); } uno::Any SAL_CALL ScVbaStyle::getMergeCells( ) throw (script::BasicErrorException, uno::RuntimeException) { - DebugHelper::basicexception(SbERR_NOT_IMPLEMENTED, OUString()); + DebugHelper::basicexception(ERRCODE_BASIC_NOT_IMPLEMENTED, OUString()); return uno::Any(); } |