#105083# correct singleton output
This commit is contained in:
parent
beb6814055
commit
4ede78b56f
1 changed files with 6 additions and 4 deletions
|
@ -2,9 +2,9 @@
|
||||||
*
|
*
|
||||||
* $RCSfile: astdump.cxx,v $
|
* $RCSfile: astdump.cxx,v $
|
||||||
*
|
*
|
||||||
* $Revision: 1.5 $
|
* $Revision: 1.6 $
|
||||||
*
|
*
|
||||||
* last change: $Author: jsc $ $Date: 2001-11-09 10:50:11 $
|
* last change: $Author: jsc $ $Date: 2002-11-13 18:12:14 $
|
||||||
*
|
*
|
||||||
* The Contents of this file are made available subject to the terms of
|
* The Contents of this file are made available subject to the terms of
|
||||||
* either of the following licenses
|
* either of the following licenses
|
||||||
|
@ -235,11 +235,13 @@ sal_Bool AstService::dump(RegistryKey& rKey, RegistryTypeWriterLoader* pLoader)
|
||||||
if ( getNodeType() == NT_singleton )
|
if ( getNodeType() == NT_singleton )
|
||||||
{
|
{
|
||||||
DeclList::iterator iter = getIteratorBegin();
|
DeclList::iterator iter = getIteratorBegin();
|
||||||
OString tmp((*iter)->getRelativName());
|
AstServiceMember* pServMember = (AstServiceMember*)*iter;
|
||||||
|
OString tmp(((AstServiceMember*)(*iter))->getRealService()->getRelativName());
|
||||||
|
|
||||||
RegistryTypeWriter aBlob(pLoader->getApi(), RT_TYPE_SINGLETON,
|
RegistryTypeWriter aBlob(pLoader->getApi(), RT_TYPE_SINGLETON,
|
||||||
OStringToOUString(getRelativName(), RTL_TEXTENCODING_UTF8),
|
OStringToOUString(getRelativName(), RTL_TEXTENCODING_UTF8),
|
||||||
OStringToOUString((*iter)->getRelativName(), RTL_TEXTENCODING_UTF8),
|
OStringToOUString(pServMember->getRealService()->getRelativName(),
|
||||||
|
RTL_TEXTENCODING_UTF8),
|
||||||
0, 0, 0);
|
0, 0, 0);
|
||||||
|
|
||||||
aBlob.setDoku( getDocumentation() );
|
aBlob.setDoku( getDocumentation() );
|
||||||
|
|
Loading…
Reference in a new issue