summaryrefslogtreecommitdiff
path: root/vbahelper/source/msforms/vbaradiobutton.cxx
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2012-09-07 00:13:30 -0300
committerOlivier Hallot <olivier.hallot@alta.org.br>2012-09-08 20:50:41 +0000
commit0da7c6021f7c1da1bf242e72fca31b18c8182d3e (patch)
treeed69e0a0e144af1a0fa2d43edb7999b3e526923b /vbahelper/source/msforms/vbaradiobutton.cxx
parent6ed2f211251a45c9653f80ad2e228a5ee83e17a8 (diff)
OUString cleanup in vbahelper/msforms
Change-Id: I834c5f1f26f941a5db84b677f34ffa686e0c2544 Reviewed-on: https://gerrit.libreoffice.org/578 Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br> Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
Diffstat (limited to 'vbahelper/source/msforms/vbaradiobutton.cxx')
-rw-r--r--vbahelper/source/msforms/vbaradiobutton.cxx20
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;
}