diff options
author | Rüdiger Timm <rt@openoffice.org> | 2008-06-16 13:06:25 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2008-06-16 13:06:25 +0000 |
commit | 39b61f48199399d6bce4837736e984373ad8da95 (patch) | |
tree | 6b14ac91086c6a0b417d3af74ec47356e9c39c21 /configmgr | |
parent | 406603a096b77c30f44724966acacc588c6b4929 (diff) |
INTEGRATION: CWS sb88 (1.31.10); FILE MERGED
2008/06/03 15:29:53 sb 1.31.10.1: #i89553 applied patch by cmc
Diffstat (limited to 'configmgr')
-rw-r--r-- | configmgr/source/treemgr/configset.cxx | 44 |
1 files changed, 3 insertions, 41 deletions
diff --git a/configmgr/source/treemgr/configset.cxx b/configmgr/source/treemgr/configset.cxx index 62127fb0a3ab..dd6fe82c187e 100644 --- a/configmgr/source/treemgr/configset.cxx +++ b/configmgr/source/treemgr/configset.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: configset.cxx,v $ - * $Revision: 1.31 $ + * $Revision: 1.32 $ * * This file is part of OpenOffice.org. * @@ -103,14 +103,6 @@ Path::Component ElementRef::getFullName() const } //----------------------------------------------------------------------------- -Name ElementRef::getName() const -{ - if (!isValid()) return Name(); - - return m_aTreeHolder->getSimpleRootName(); -} -//----------------------------------------------------------------------------- - TemplateHolder ElementRef::getTemplate() const { if (!isValid()) return TemplateHolder(); @@ -190,17 +182,6 @@ ElementTreeImpl* ElementTree::getImpl() const } //----------------------------------------------------------------------------- -TemplateHolder ElementTree::getTemplate() const -{ - OSL_PRECOND(isValid(),"ERROR: Trying to get the template of a NULL element tree"); - - if (isValid()) - return m_aTreeHolder->getTemplate(); - else - return TemplateHolder(); -} -//----------------------------------------------------------------------------- - ElementTreeImpl* ElementTree::operator->() const { return m_aTreeHolder.operator->(); @@ -223,15 +204,6 @@ ElementTree ElementTree::extract(Tree const& aTree) { return ElementRef::extract(aTree.getRef()).getElementTree(); } -//----------------------------------------------------------------------------- - -data::TreeSegment ElementTree::getOwnedElement(ElementTree const& aElementTree) -{ - OSL_PRECOND(aElementTree.isValid(),"ERROR: Trying to take over the content of a NULL element tree"); - OSL_PRECOND(aElementTree->isFree(),"Trying to take over the content of a owned element tree - returning NULL"); - - return aElementTree->getOwnedTree(); -} //----------------------------------------------------------------------------- // class TemplateInfo @@ -259,18 +231,6 @@ UnoType TemplateInfo::getType() const //----------------------------------------------------------------------------- -Name TemplateInfo::getTemplateName() const -{ - return m_aTemplate->getName(); -} -//----------------------------------------------------------------------------- - -Name TemplateInfo::getTemplatePackage() const -{ - return m_aTemplate->getModule(); -} -//----------------------------------------------------------------------------- - OUString TemplateInfo::getTemplatePathString() const { return m_aTemplate->getPathString(); @@ -843,6 +803,7 @@ ValueSetUpdater::ElementNodeRef ValueSetUpdater::extractElementNode (ElementRef } //----------------------------------------------------------------------------- +#if OSL_DEBUG_LEVEL > 0 UnoType ElementHelper::getUnoType(ElementTree const& aElement) { OSL_PRECOND( aElement.isValid(), "ERROR: Configuration: ElementRef operation requires valid node" ); @@ -865,6 +826,7 @@ UnoType ElementHelper::getUnoType(ElementTree const& aElement) return ::getCppuType(selectInterface); } } +#endif //----------------------------------------------------------------------------- } } |