summaryrefslogtreecommitdiff
path: root/vbahelper/source/msforms/vbasystemaxcontrol.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/vbasystemaxcontrol.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/vbasystemaxcontrol.cxx')
-rw-r--r--vbahelper/source/msforms/vbasystemaxcontrol.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/vbahelper/source/msforms/vbasystemaxcontrol.cxx b/vbahelper/source/msforms/vbasystemaxcontrol.cxx
index 37ddb23f120e..84ac5ebcbb73 100644
--- a/vbahelper/source/msforms/vbasystemaxcontrol.cxx
+++ b/vbahelper/source/msforms/vbasystemaxcontrol.cxx
@@ -36,56 +36,56 @@ uno::Reference< beans::XIntrospectionAccess > SAL_CALL VbaSystemAXControl::getIn
}
//----------------------------------------------------------
-uno::Any SAL_CALL VbaSystemAXControl::invoke( const ::rtl::OUString& aFunctionName, const uno::Sequence< uno::Any >& aParams, uno::Sequence< ::sal_Int16 >& aOutParamIndex, uno::Sequence< uno::Any >& aOutParam )
+uno::Any SAL_CALL VbaSystemAXControl::invoke( const OUString& aFunctionName, const uno::Sequence< uno::Any >& aParams, uno::Sequence< ::sal_Int16 >& aOutParamIndex, uno::Sequence< uno::Any >& aOutParam )
throw ( lang::IllegalArgumentException, script::CannotConvertException, reflection::InvocationTargetException, uno::RuntimeException )
{
return m_xControlInvocation->invoke( aFunctionName, aParams, aOutParamIndex, aOutParam );
}
//----------------------------------------------------------
-void SAL_CALL VbaSystemAXControl::setValue( const ::rtl::OUString& aPropertyName, const uno::Any& aValue )
+void SAL_CALL VbaSystemAXControl::setValue( const OUString& aPropertyName, const uno::Any& aValue )
throw ( beans::UnknownPropertyException, script::CannotConvertException, reflection::InvocationTargetException, uno::RuntimeException )
{
m_xControlInvocation->setValue( aPropertyName, aValue );
}
//----------------------------------------------------------
-uno::Any SAL_CALL VbaSystemAXControl::getValue( const ::rtl::OUString& aPropertyName )
+uno::Any SAL_CALL VbaSystemAXControl::getValue( const OUString& aPropertyName )
throw ( beans::UnknownPropertyException, uno::RuntimeException )
{
return m_xControlInvocation->getValue( aPropertyName );
}
//----------------------------------------------------------
-::sal_Bool SAL_CALL VbaSystemAXControl::hasMethod( const ::rtl::OUString& aName )
+::sal_Bool SAL_CALL VbaSystemAXControl::hasMethod( const OUString& aName )
throw ( uno::RuntimeException )
{
return m_xControlInvocation->hasMethod( aName );
}
//----------------------------------------------------------
-::sal_Bool SAL_CALL VbaSystemAXControl::hasProperty( const ::rtl::OUString& aName )
+::sal_Bool SAL_CALL VbaSystemAXControl::hasProperty( const OUString& aName )
throw ( uno::RuntimeException )
{
return m_xControlInvocation->hasProperty( aName );
}
//----------------------------------------------------------
-rtl::OUString
+OUString
VbaSystemAXControl::getServiceImplName()
{
- return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("VbaSystemAXControl"));
+ return OUString( "VbaSystemAXControl" );
}
//----------------------------------------------------------
-uno::Sequence< rtl::OUString >
+uno::Sequence< OUString >
VbaSystemAXControl::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.Frame" ) );
+ aServiceNames[ 0 ] = "ooo.vba.msforms.Frame";
}
return aServiceNames;
}