From ccf3037efcd32f26472f4d73e579f2530ec8eed6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=BCdiger=20Timm?= Date: Mon, 16 Jun 2008 12:33:14 +0000 Subject: [PATCH] INTEGRATION: CWS sb88 (1.9.10); FILE MERGED 2008/06/03 15:29:46 sb 1.9.10.1: #i89553 applied patch by cmc --- configmgr/source/backend/binaryreader.cxx | 25 +---------------------- 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/configmgr/source/backend/binaryreader.cxx b/configmgr/source/backend/binaryreader.cxx index 8f718b9989bb..561155a04a87 100644 --- a/configmgr/source/backend/binaryreader.cxx +++ b/configmgr/source/backend/binaryreader.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: binaryreader.cxx,v $ - * $Revision: 1.9 $ + * $Revision: 1.10 $ * * This file is part of OpenOffice.org. * @@ -535,32 +535,9 @@ namespace configmgr // -------------------------------------------------------------------------- - void BinaryReader::reopen() - SAL_THROW( (io::IOException, uno::RuntimeException) ) - { - OSL_PRECOND(m_xDataInputStream.is(),"Binary Reader - cannot reopen: not open"); - if (m_xDataInputStream.is()) - { - m_xDataInputStream->closeInput(); - m_xDataInputStream.set(new BinaryReader_Impl (m_sFileURL)); - } - } - // -------------------------------------------------------------------------- - - void BinaryReader::close() - SAL_THROW( (io::IOException, uno::RuntimeException) ) - { - if (m_xDataInputStream.is()) - m_xDataInputStream->closeInput(); - } - // -------------------------------------------------------------------------- - inline uno::Reference BinaryReader::getDataInputStream() { OSL_ENSURE(m_xDataInputStream.is(),"Binary Cache: Reader was not opened - no input stream"); -#if 0 - if (!m_xDataInputStream.is()) throw io::NotConnectedException(); -#endif return m_xDataInputStream; }