summaryrefslogtreecommitdiff
path: root/cppuhelper/source/factory.cxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@novell.com>2011-06-24 12:24:49 +0100
committerMichael Meeks <michael.meeks@novell.com>2011-06-24 14:23:25 +0100
commitbabdd43fcee0963f80df3ed6574e8f70543827e2 (patch)
tree58945e7d44d10c6d6474885a79cd39b215c6127a /cppuhelper/source/factory.cxx
parentf1be5778f8c25df71cdfdda9884515c35834ab1c (diff)
re-work prefix handling and undo cppuhelper ABI change, add unit test
use a separate prefix enabled method instead of changing the ABI of cppuhelper also - lookup the prefix in the dllcomponentloader in case we are called this way also - add a unit test for the prefix change
Diffstat (limited to 'cppuhelper/source/factory.cxx')
-rw-r--r--cppuhelper/source/factory.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cppuhelper/source/factory.cxx b/cppuhelper/source/factory.cxx
index a87d39ad91f5..bccc91db36eb 100644
--- a/cppuhelper/source/factory.cxx
+++ b/cppuhelper/source/factory.cxx
@@ -856,7 +856,7 @@ Reference< XInterface > ORegistryFactoryHelper::createModuleFactory()
if( xPrefixKey.is() && xPrefixKey->getValueType() == RegistryValueType_ASCII )
{
aPrefix = xPrefixKey->getAsciiValue();
- if (aPrefix.getLength() != 0)
+ if( aPrefix.getLength() != 0 )
aPrefix = aPrefix + OUSTR("_");
}
}