diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2013-04-07 12:06:47 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-04-07 14:23:11 +0200 |
commit | 1946794ae09ba732022fe6a74ea45e304ab70b84 (patch) | |
tree | e32bd7ba61fa021ecc7f8c85959df8ca837d6e81 /forms/source/component/findpos.cxx | |
parent | 5b08c6e7a21dda94d5b755eea0b1ed1e9c199bec (diff) |
mass removal of rtl:: prefixes for O(U)String*
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).
Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
Diffstat (limited to 'forms/source/component/findpos.cxx')
-rw-r--r-- | forms/source/component/findpos.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/forms/source/component/findpos.cxx b/forms/source/component/findpos.cxx index ac496760809a..08c15dc1be7a 100644 --- a/forms/source/component/findpos.cxx +++ b/forms/source/component/findpos.cxx @@ -32,11 +32,11 @@ namespace detail { sal_Int32 findPos( - const ::rtl::OUString& aStr, - const ::com::sun::star::uno::Sequence< ::rtl::OUString >& rList) + const OUString& aStr, + const ::com::sun::star::uno::Sequence< OUString >& rList) { - const ::rtl::OUString* pStrList = rList.getConstArray(); - const ::rtl::OUString* pResult = ::std::lower_bound( + const OUString* pStrList = rList.getConstArray(); + const OUString* pResult = ::std::lower_bound( pStrList, pStrList + rList.getLength(), aStr ); if ( ( pResult != pStrList + rList.getLength() ) && ( *pResult == aStr ) ) return ( pResult - pStrList ); |