summaryrefslogtreecommitdiffstats
path: root/desktop/source/deployment/misc/dp_platform.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/source/deployment/misc/dp_platform.cxx')
-rw-r--r--desktop/source/deployment/misc/dp_platform.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/deployment/misc/dp_platform.cxx b/desktop/source/deployment/misc/dp_platform.cxx
index 50ca73a362f4..9e4fd320b39f 100644
--- a/desktop/source/deployment/misc/dp_platform.cxx
+++ b/desktop/source/deployment/misc/dp_platform.cxx
@@ -189,9 +189,9 @@ bool platform_fits( OUString const & platform_string )
bool hasValidPlatform( css::uno::Sequence<OUString> const & platformStrings)
{
bool ret = false;
- for (sal_Int32 i = 0; i < platformStrings.getLength(); i++)
+ for (const OUString& s : platformStrings)
{
- if ( isPlatformSupported( platformStrings[i] ))
+ if ( isPlatformSupported( s ) )
{
ret = true;
break;