Kaydet (Commit) 340f1c59 authored tarafından Olivier Hallot's avatar Olivier Hallot

Some OUString cleanup in vbahelper

and RTL_CONSTASCII_USTRINGPARAM removal

Change-Id: Ibc1411805fcf0a75ea9f660fd9ee8f5fdcda6b1d
Reviewed-on: https://gerrit.libreoffice.org/574Reviewed-by: 's avatarOlivier Hallot <olivier.hallot@alta.org.br>
Tested-by: 's avatarOlivier Hallot <olivier.hallot@alta.org.br>
üst 700301a9
......@@ -125,20 +125,20 @@ VbaWindowBase::setWidth( sal_Int32 _width ) throw (uno::RuntimeException)
setPosSize( getWindow(), _width, css::awt::PosSize::WIDTH );
}
rtl::OUString
OUString
VbaWindowBase::getServiceImplName()
{
return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("VbaWindowBase"));
return OUString("VbaWindowBase");
}
uno::Sequence< rtl::OUString >
uno::Sequence< OUString >
VbaWindowBase::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.VbaWindowBase" ) );
aServiceNames[ 0 ] = "ooo.vba.VbaWindowBase";
}
return aServiceNames;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment