diff options
Diffstat (limited to 'vbahelper/source/msforms/vbaradiobutton.cxx')
-rw-r--r-- | vbahelper/source/msforms/vbaradiobutton.cxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/vbahelper/source/msforms/vbaradiobutton.cxx b/vbahelper/source/msforms/vbaradiobutton.cxx index ded689155dbf..10dabf8c8abe 100644 --- a/vbahelper/source/msforms/vbaradiobutton.cxx +++ b/vbahelper/source/msforms/vbaradiobutton.cxx @@ -24,23 +24,23 @@ using namespace com::sun::star; using namespace ooo::vba; -const static rtl::OUString LABEL( RTL_CONSTASCII_USTRINGPARAM("Label") ); -const static rtl::OUString STATE( RTL_CONSTASCII_USTRINGPARAM("State") ); +const static OUString LABEL( "Label" ); +const static OUString STATE( "State" ); ScVbaRadioButton::ScVbaRadioButton( const uno::Reference< XHelperInterface >& xParent, const uno::Reference< uno::XComponentContext >& xContext, const uno::Reference< uno::XInterface >& xControl, const uno::Reference< frame::XModel >& xModel, AbstractGeometryAttributes* pGeomHelper ) : RadioButtonImpl_BASE( xParent, xContext, xControl, xModel, pGeomHelper ) { } // Attributes -rtl::OUString SAL_CALL +OUString SAL_CALL ScVbaRadioButton::getCaption() throw (css::uno::RuntimeException) { - rtl::OUString Label; + OUString Label; m_xProps->getPropertyValue( LABEL ) >>= Label; return Label; } void SAL_CALL -ScVbaRadioButton::setCaption( const rtl::OUString& _caption ) throw (::com::sun::star::uno::RuntimeException) +ScVbaRadioButton::setCaption( const OUString& _caption ) throw (::com::sun::star::uno::RuntimeException) { m_xProps->setPropertyValue( LABEL, uno::makeAny( _caption ) ); } @@ -94,20 +94,20 @@ uno::Reference< msforms::XNewFont > SAL_CALL ScVbaRadioButton::getFont() throw ( return new VbaNewFont( this, mxContext, m_xProps ); } -rtl::OUString +OUString ScVbaRadioButton::getServiceImplName() { - return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ScVbaRadioButton")); + return OUString( "ScVbaRadioButton" ); } -uno::Sequence< rtl::OUString > +uno::Sequence< OUString > ScVbaRadioButton::getServiceNames() { - static uno::Sequence< rtl::OUString > aServiceNames; + static uno::Sequence< OUString > aServiceNames; if ( aServiceNames.getLength() == 0 ) { aServiceNames.realloc( 1 ); - aServiceNames[ 0 ] = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("ooo.vba.msforms.RadioButton" ) ); + aServiceNames[ 0 ] = "ooo.vba.msforms.RadioButton"; } return aServiceNames; } |