1 diff -u -r ../configmgr.pristine/source/backend/binaryreader.cxx ../configmgr/source/backend/binaryreader.cxx
2 --- configmgr/source/backend/binaryreader.cxx
3 +++ configmgr/source/backend/binaryreader.cxx
6 // --------------------------------------------------------------------------
8 - inline uno::Reference<io::XDataInputStream> BinaryReader::getDataInputStream()
9 + inline BinaryReader_Impl * BinaryReader::getDataInputStream()
11 OSL_ENSURE(m_xDataInputStream.is(),"Binary Cache: Reader was not opened - no input stream");
12 - return m_xDataInputStream;
13 + return static_cast<BinaryReader_Impl *>(m_xDataInputStream.get());
16 // --------------------------------------------------------------------------
19 diff -u -r ../configmgr.pristine/source/backend/binaryreader.hxx ../configmgr/source/backend/binaryreader.hxx
20 --- configmgr/source/backend/binaryreader.hxx
21 +++ configmgr/source/backend/binaryreader.hxx
23 namespace uno = css::uno;
24 namespace lang = css::lang;
25 // -----------------------------------------------------------------------------
26 + class BinaryReader_Impl;
29 rtl::OUString m_sFileURL;
31 void read(uno::Sequence< rtl::OUString > &_aValue) SAL_THROW( (io::IOException, uno::RuntimeException) );
34 - inline uno::Reference<io::XDataInputStream> getDataInputStream();
35 + inline BinaryReader_Impl * getDataInputStream();
37 // --------------------------------------------------------------------------
41 diff -u -r ../configmgr.pristine/source/tree/cmtree.cxx ../configmgr/source/tree/cmtree.cxx
42 --- configmgr/source/tree/cmtree.cxx
43 +++ configmgr/source/tree/cmtree.cxx
46 // ------------------------ ChildListSet implementations ------------------------
47 ChildListSet::ChildListSet(ChildListSet const& aSet, treeop::DeepChildCopy)
49 + : m_aChildList(aSet.m_aChildList.size())
51 - for (size_t i = 0; i < aSet.m_aChildList.size(); i++)
53 - m_aChildList.insert(m_aChildList.end(),
54 - aSet.m_aChildList[i]->clone().release());
56 + int len = aSet.m_aChildList.size();
57 + for (int i = 0; i < len; i++)
58 + m_aChildList[i] = aSet.m_aChildList[i]->clone().release();
60 ChildListSet::~ChildListSet()