summaryrefslogtreecommitdiff
path: root/forms/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-03-01 14:51:44 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-03-01 20:34:28 +0000
commit01517bd118521ce0b87f5ddc0214327417143b23 (patch)
tree3c5b4e16e1ac28a6162156ef1d5410db5aab61d1 /forms/source
parentf60dd30c0e109ed70cd9c4e5a7e1b4f6af8b5138 (diff)
avoid implicit cast
Diffstat (limited to 'forms/source')
-rw-r--r--forms/source/misc/services.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/misc/services.cxx b/forms/source/misc/services.cxx
index e1beaafe4..b04de0463 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);