diff options
Diffstat (limited to 'sc/source/ui/vba/vbaname.cxx')
-rw-r--r-- | sc/source/ui/vba/vbaname.cxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/sc/source/ui/vba/vbaname.cxx b/sc/source/ui/vba/vbaname.cxx index 71d42038f89b..37170f60bb39 100644 --- a/sc/source/ui/vba/vbaname.cxx +++ b/sc/source/ui/vba/vbaname.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -43,12 +43,12 @@ using namespace ::ooo::vba; using namespace ::com::sun::star; -ScVbaName::ScVbaName(const css::uno::Reference< ov::XHelperInterface >& xParent, +ScVbaName::ScVbaName(const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext, const css::uno::Reference< css::sheet::XNamedRange >& xName, const css::uno::Reference< css::sheet::XNamedRanges >& xNames, const css::uno::Reference< css::frame::XModel >& xModel ): - NameImpl_BASE( xParent , xContext ), + NameImpl_BASE( xParent , xContext ), mxModel( xModel ), mxNamedRange( xName ), mxNames( xNames ) @@ -130,7 +130,7 @@ ScVbaName::getValue(const formula::FormulaGrammar::Grammar eGrammar) throw (css: return sValue; } -void +void ScVbaName::setValue( const ::rtl::OUString & rValue ) throw (css::uno::RuntimeException) { ::rtl::OUString sValue = rValue; @@ -145,25 +145,25 @@ ScVbaName::setValue( const ::rtl::OUString & rValue ) throw (css::uno::RuntimeEx mxNamedRange->setContent( sValue ); } -::rtl::OUString +::rtl::OUString ScVbaName::getRefersTo() throw (css::uno::RuntimeException) { return getValue(); } -void +void ScVbaName::setRefersTo( const ::rtl::OUString & rRefersTo ) throw (css::uno::RuntimeException) { setValue( rRefersTo ); } -::rtl::OUString +::rtl::OUString ScVbaName::getRefersToLocal() throw (css::uno::RuntimeException) { return getRefersTo(); } -void +void ScVbaName::setRefersToLocal( const ::rtl::OUString & rRefersTo ) throw (css::uno::RuntimeException) { setRefersTo( rRefersTo ); @@ -181,7 +181,7 @@ ScVbaName::setRefersToR1C1( const ::rtl::OUString & rRefersTo ) throw (css::uno: setRefersTo( rRefersTo ); } -::rtl::OUString +::rtl::OUString ScVbaName::getRefersToR1C1Local() throw (css::uno::RuntimeException) { return getValue( formula::FormulaGrammar::GRAM_NATIVE_XL_R1C1 ); @@ -209,7 +209,7 @@ ScVbaName::setRefersToRange( const css::uno::Reference< ov::excel::XRange > /*rR void ScVbaName::Delete() throw (css::uno::RuntimeException) { - mxNames->removeByName( mxNamedRange->getName() ); + mxNames->removeByName( mxNamedRange->getName() ); } rtl::OUString& |