summaryrefslogtreecommitdiff
path: root/vbahelper/source/msforms/vbascrollbar.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/vbascrollbar.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/vbascrollbar.cxx')
-rw-r--r--vbahelper/source/msforms/vbascrollbar.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/vbahelper/source/msforms/vbascrollbar.cxx b/vbahelper/source/msforms/vbascrollbar.cxx
index bcd51ecc1669..94def0f3e7f3 100644
--- a/vbahelper/source/msforms/vbascrollbar.cxx
+++ b/vbahelper/source/msforms/vbascrollbar.cxx
@@ -23,11 +23,11 @@ using namespace com::sun::star;
using namespace ooo::vba;
-const static rtl::OUString LARGECHANGE( RTL_CONSTASCII_USTRINGPARAM("BlockIncrement") );
-const static rtl::OUString SMALLCHANGE( RTL_CONSTASCII_USTRINGPARAM("LineIncrement") );
-const static rtl::OUString SCROLLVALUE( RTL_CONSTASCII_USTRINGPARAM("ScrollValue") );
-const static rtl::OUString SCROLLMAX( RTL_CONSTASCII_USTRINGPARAM("ScrollValueMax") );
-const static rtl::OUString SCROLLMIN( RTL_CONSTASCII_USTRINGPARAM("ScrollValueMin") );
+const static OUString LARGECHANGE( "BlockIncrement");
+const static OUString SMALLCHANGE( "LineIncrement");
+const static OUString SCROLLVALUE( "ScrollValue");
+const static OUString SCROLLMAX( "ScrollValueMax");
+const static OUString SCROLLMIN( "ScrollValueMin");
ScVbaScrollBar::ScVbaScrollBar( const css::uno::Reference< ov::XHelperInterface >& xParent, const uno::Reference< uno::XComponentContext >& xContext, const uno::Reference< uno::XInterface >& xControl, const uno::Reference< frame::XModel >& xModel, AbstractGeometryAttributes* pGeomHelper ) : ScrollBarImpl_BASE( xParent, xContext, xControl, xModel, pGeomHelper )
{
@@ -102,20 +102,20 @@ ScVbaScrollBar::setSmallChange( ::sal_Int32 _smallchange ) throw (uno::RuntimeEx
m_xProps->setPropertyValue( SMALLCHANGE, uno::makeAny( _smallchange ) );
}
-rtl::OUString
+OUString
ScVbaScrollBar::getServiceImplName()
{
- return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ScVbaScrollBar"));
+ return OUString("ScVbaScrollBar" );
}
-uno::Sequence< rtl::OUString >
+uno::Sequence< OUString >
ScVbaScrollBar::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;
}