diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-03-01 14:51:44 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-03-01 20:34:28 +0000 |
commit | a64e5e3cf5a4c167d339477508a2428179d0a2be (patch) | |
tree | 40ad2f0d2a3882f912f4012b619afcf1a370d9cd /forms | |
parent | 75a2294560380a829a24ebb6f20ef6da00d17aa6 (diff) |
avoid implicit cast
Diffstat (limited to 'forms')
-rw-r--r-- | forms/source/misc/services.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/misc/services.cxx b/forms/source/misc/services.cxx index 2184fb42f992..ab891083d50e 100644 --- a/forms/source/misc/services.cxx +++ b/forms/source/misc/services.cxx @@ -419,7 +419,7 @@ SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory(const sal_Char* _pImplN for (sal_Int32 i=0; i<nClasses; ++i, ++pClasses, ++pServices, ++pFunctionsAsInts) { - if (rtl_ustr_ascii_compare(*pClasses, _pImplName) == 0) + if (rtl_ustr_ascii_compare(pClasses->getStr(), _pImplName) == 0) { ::cppu::ComponentInstantiation aCurrentCreateFunction = reinterpret_cast< ::cppu::ComponentInstantiation>(*pFunctionsAsInts); |