summaryrefslogtreecommitdiff
path: root/basic/source/runtime/comenumwrapper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basic/source/runtime/comenumwrapper.cxx')
-rw-r--r--basic/source/runtime/comenumwrapper.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/basic/source/runtime/comenumwrapper.cxx b/basic/source/runtime/comenumwrapper.cxx
index dbc2abb2bf03..a5372ffdfe1d 100644
--- a/basic/source/runtime/comenumwrapper.cxx
+++ b/basic/source/runtime/comenumwrapper.cxx
@@ -31,9 +31,7 @@ using namespace ::com::sun::star;
if ( m_xInvocation.is() )
{
sal_Int32 nLength = 0;
- bResult =
- ( ( m_xInvocation->getValue( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "length" ) ) ) >>= nLength )
- && nLength > m_nCurInd );
+ bResult = ( ( m_xInvocation->getValue( OUString("length" ) ) >>= nLength ) && nLength > m_nCurInd );
}
}
catch(const uno::Exception& )
@@ -57,7 +55,7 @@ uno::Any SAL_CALL ComEnumerationWrapper::nextElement()
aArgs[0] <<= m_nCurInd++;
- return m_xInvocation->invoke( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "item" ) ),
+ return m_xInvocation->invoke( OUString("item"),
aArgs,
aNamedParamIndex,
aNamedParam );