From 110f2588d67cf32e7791fb65f531a7c4c1f443bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=BCdiger=20Timm?= Date: Thu, 19 Jun 2008 14:37:58 +0000 Subject: INTEGRATION: CWS jl103 (1.6.16); FILE MERGED 2008/06/13 07:28:39 jl 1.6.16.1: #i86233# uri encoding the URI attribute of the reference elements --- .../source/framework/saxeventkeeperimpl.cxx | 30 +++++++++++----------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'xmlsecurity') diff --git a/xmlsecurity/source/framework/saxeventkeeperimpl.cxx b/xmlsecurity/source/framework/saxeventkeeperimpl.cxx index 4e7a7988a5ae..806b1bf3f880 100644 --- a/xmlsecurity/source/framework/saxeventkeeperimpl.cxx +++ b/xmlsecurity/source/framework/saxeventkeeperimpl.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: saxeventkeeperimpl.cxx,v $ - * $Revision: 1.6 $ + * $Revision: 1.7 $ * * This file is part of OpenOffice.org. * @@ -1318,12 +1318,12 @@ void SAL_CALL SAXEventKeeperImpl::endElement( const rtl::OUString& aName ) #endif } - /* - * If the current buffer node has not notified yet, and - * the current buffer node is waiting for the current element, - * then let it notify. - */ - if (bIsCurrent && (m_pCurrentBufferNode != m_pRootBufferNode)) + /* + * If the current buffer node has not notified yet, and + * the current buffer node is waiting for the current element, + * then let it notify. + */ + if (bIsCurrent && (m_pCurrentBufferNode != m_pRootBufferNode)) { BufferNode* pOldCurrentBufferNode = m_pCurrentBufferNode; m_pCurrentBufferNode = (BufferNode*)m_pCurrentBufferNode->getParent(); @@ -1336,14 +1336,14 @@ void SAL_CALL SAXEventKeeperImpl::endElement( const rtl::OUString& aName ) m_xSAXEventKeeperStatusChangeListener->collectionStatusChanged(sal_False); } } - } - else - { - if (!m_bIsForwarding) - { - m_xXMLDocument->removeCurrentElement(); - } - } + } + else + { + if (!m_bIsForwarding) + { + m_xXMLDocument->removeCurrentElement(); + } + } } void SAL_CALL SAXEventKeeperImpl::characters( const rtl::OUString& aChars ) -- cgit v1.2.1