From a0ebf6ee3f555397205713db966aee44de80c0f9 Mon Sep 17 00:00:00 2001 From: August Sodora Date: Thu, 22 Dec 2011 20:29:18 -0500 Subject: Revert "callcatcher: Remove unused code" This reverts commit bbad7057b2bdb614a5e97a945039323efe39c4ee. --- tools/inc/tools/pstm.hxx | 5 +++++ tools/inc/tools/stream.hxx | 1 + tools/inc/tools/svborder.hxx | 1 + 3 files changed, 7 insertions(+) (limited to 'tools/inc') diff --git a/tools/inc/tools/pstm.hxx b/tools/inc/tools/pstm.hxx index 125875cac8c4..68b4932e1e51 100644 --- a/tools/inc/tools/pstm.hxx +++ b/tools/inc/tools/pstm.hxx @@ -127,6 +127,7 @@ class TOOLS_DLLPUBLIC SvPersistBaseMemberList : public SuperSvPersistBaseMemberL { public: SvPersistBaseMemberList(); + SvPersistBaseMemberList(sal_uInt16 nInitSz, sal_uInt16 nResize ); void WriteObjects( SvPersistStream &, sal_Bool bOnlyStreamedObj = sal_False ) const; TOOLS_DLLPUBLIC friend SvPersistStream& operator << (SvPersistStream &, const SvPersistBaseMemberList &); @@ -216,6 +217,8 @@ public: SvPersistStream( SvClassManager &, SvStream * pStream, sal_uInt32 nStartIdx = 1 ); + SvPersistStream( SvClassManager &, SvStream * pStream, + const SvPersistStream & rPersStm ); ~SvPersistStream(); void SetStream( SvStream * pStream ); @@ -244,6 +247,8 @@ public: // gespeichert werden. friend SvStream& operator >> ( SvStream &, SvPersistStream & ); friend SvStream& operator << ( SvStream &, SvPersistStream & ); + sal_uIntPtr InsertObj( SvPersistBase * ); + sal_uIntPtr RemoveObj( SvPersistBase * ); }; #endif // _PSTM_HXX diff --git a/tools/inc/tools/stream.hxx b/tools/inc/tools/stream.hxx index decae4934f35..2270effbd074 100644 --- a/tools/inc/tools/stream.hxx +++ b/tools/inc/tools/stream.hxx @@ -651,6 +651,7 @@ public: sal_Bool LockRange( sal_Size nByteOffset, sal_Size nBytes ); sal_Bool UnlockRange( sal_Size nByteOffset, sal_Size nBytes ); sal_Bool LockFile(); + sal_Bool UnlockFile(); void Open( const String& rFileName, StreamMode eOpenMode ); void Close(); diff --git a/tools/inc/tools/svborder.hxx b/tools/inc/tools/svborder.hxx index 27ccdd008d74..86c5feb4f4dc 100644 --- a/tools/inc/tools/svborder.hxx +++ b/tools/inc/tools/svborder.hxx @@ -40,6 +40,7 @@ public: { nTop = nRight = nBottom = nLeft = 0; } SvBorder( const Size & rSz ) { nTop = nBottom = rSz.Height(); nRight = nLeft = rSz.Width(); } + SvBorder( const Rectangle & rOuter, const Rectangle & rInner ); SvBorder( long nLeftP, long nTopP, long nRightP, long nBottomP ) { nLeft = nLeftP; nTop = nTopP; nRight = nRightP; nBottom = nBottomP; } sal_Bool operator == ( const SvBorder & rObj ) const -- cgit