diff options
author | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2010-06-16 09:53:37 +0200 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2010-06-16 09:53:37 +0200 |
commit | 00647682535858694ab42cc90e0db6142053df3b (patch) | |
tree | 61f8d5f775850724a8d3c1a85e67d91996a34b0d | |
parent | fs33a: compile errors on unxlngi6.pro / unxmacxi.pro (diff) | |
download | core-00647682535858694ab42cc90e0db6142053df3b.tar.gz core-00647682535858694ab42cc90e0db6142053df3b.zip |
fs33a: fixed supportsService
-rw-r--r-- | toolkit/source/controls/unocontrol.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/controls/unocontrol.cxx b/toolkit/source/controls/unocontrol.cxx index 1abe0b34004f..4db6dbb17b81 100644 --- a/toolkit/source/controls/unocontrol.cxx +++ b/toolkit/source/controls/unocontrol.cxx @@ -1463,7 +1463,7 @@ sal_Bool UnoControl::supportsService( const ::rtl::OUString& rServiceName ) thro Sequence< ::rtl::OUString > aSNL = getSupportedServiceNames(); const ::rtl::OUString* pArray = aSNL.getConstArray(); - const ::rtl::OUString* pArrayEnd = aSNL.getConstArray(); + const ::rtl::OUString* pArrayEnd = aSNL.getConstArray() + aSNL.getLength(); for (; pArray != pArrayEnd; ++pArray ) if( *pArray == rServiceName ) break; |