Tag: cws_src680_dba201 User: oj Date: 05/04/28 23:03:52 Modified: /dba/dbaccess/source/ui/querydesign/ JoinDesignView.cxx, ParseContext.cxx, QueryDesignView.cxx, queryview.cxx
Log: #i48414# insert DBG_ macros to find more memory leaks File Changes: Directory: /dba/dbaccess/source/ui/querydesign/ =============================================== File [changed]: JoinDesignView.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/querydesign/JoinDesignView.cxx?r1=1.15&r2=1.15.20.1 Delta lines: +8 -3 ------------------- --- JoinDesignView.cxx 23 Mar 2005 09:49:37 -0000 1.15 +++ JoinDesignView.cxx 29 Apr 2005 06:03:49 -0000 1.15.20.1 @@ -2,9 +2,9 @@ * * $RCSfile: JoinDesignView.cxx,v $ * - * $Revision: 1.15 $ + * $Revision: 1.15.20.1 $ * - * last change: $Author: vg $ $Date: 2005/03/23 09:49:37 $ + * last change: $Author: oj $ $Date: 2005/04/29 06:03:49 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -131,6 +131,7 @@ using namespace ::com::sun::star::beans; using namespace ::com::sun::star::container; using namespace ::com::sun::star::util; +DBG_NAME(OJoinDesignView) OJoinDesignView::OJoinDesignView(Window* _pParent, OJoinController* _pController,const Reference< XMultiServiceFactory >& _rFactory) :ODataView(_pParent,_pController,_rFactory) @@ -138,6 +139,8 @@ ,m_pTableView(NULL) ,m_pAddTabDlg(NULL) { + DBG_CTOR(OJoinDesignView,NULL); + m_pScrollWindow = new OScrollWindowHelper(this); } // ----------------------------------------------------------------------------- @@ -151,6 +154,8 @@ m_pTableView = NULL; ::std::auto_ptr<Window> aT1(m_pAddTabDlg); m_pAddTabDlg = NULL; + + DBG_DTOR(OJoinDesignView,NULL); } // ------------------------------------------------------------------------- void OJoinDesignView::Construct() File [changed]: ParseContext.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/querydesign/ParseContext.cxx?r1=1.7&r2=1.7.358.1 Delta lines: +7 -2 ------------------- --- ParseContext.cxx 19 Mar 2003 17:52:57 -0000 1.7 +++ ParseContext.cxx 29 Apr 2005 06:03:49 -0000 1.7.358.1 @@ -2,9 +2,9 @@ * * $RCSfile: ParseContext.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.7.358.1 $ * - * last change: $Author: hr $ $Date: 2003/03/19 17:52:57 $ + * last change: $Author: oj $ $Date: 2005/04/29 06:03:49 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -172,9 +172,12 @@ ::osl::Mutex OParseContextClient::s_aSafety; oslInterlockedCount OParseContextClient::s_nCounter; OSystemParseContext* OParseContextClient::s_pSharedContext; +DBG_NAME(OParseContextClient) // ----------------------------------------------------------------------------- OParseContextClient::OParseContextClient() { + DBG_CTOR(OParseContextClient,NULL); + ::osl::MutexGuard aGuard( s_aSafety ); if ( 1 == osl_incrementInterlockedCount( &s_nCounter ) ) { // first instance @@ -193,6 +196,8 @@ s_pSharedContext = NULL; } } + + DBG_DTOR(OParseContextClient,NULL); } File [changed]: QueryDesignView.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/querydesign/QueryDesignView.cxx?r1=1.73&r2=1.73.18.1 Delta lines: +8 -3 ------------------- --- QueryDesignView.cxx 23 Mar 2005 10:53:49 -0000 1.73 +++ QueryDesignView.cxx 29 Apr 2005 06:03:49 -0000 1.73.18.1 @@ -2,9 +2,9 @@ * * $RCSfile: QueryDesignView.cxx,v $ * - * $Revision: 1.73 $ + * $Revision: 1.73.18.1 $ * - * last change: $Author: vg $ $Date: 2005/03/23 10:53:49 $ + * last change: $Author: oj $ $Date: 2005/04/29 06:03:49 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -2363,6 +2363,7 @@ //------------------------------------------------------------------------------ //------------------------------------------------------------------------------ } // end of anonymouse namespace +DBG_NAME(OQueryDesignView) OQueryDesignView::OQueryDesignView( OQueryContainerWindow* _pParent, OQueryController* _pController, @@ -2373,6 +2374,8 @@ ,m_bInKeyEvent(sal_False) ,m_bInSplitHandler( sal_False ) { + DBG_CTOR(OQueryDesignView,NULL); + try { SvtSysLocale aSysLocale; @@ -2399,6 +2402,8 @@ ::dbaui::notifySystemWindow(this,m_pTableView,::comphelper::mem_fun(&TaskPaneList::RemoveWindow)); ::std::auto_ptr<Window> aTemp(m_pSelectionBox); m_pSelectionBox = NULL; + + DBG_DTOR(OQueryDesignView,NULL); } //------------------------------------------------------------------------------ IMPL_LINK( OQueryDesignView, SplitHdl, void*, p ) File [changed]: queryview.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/querydesign/queryview.cxx?r1=1.5&r2=1.5.120.1 Delta lines: +8 -3 ------------------- --- queryview.cxx 9 Sep 2004 09:50:00 -0000 1.5 +++ queryview.cxx 29 Apr 2005 06:03:50 -0000 1.5.120.1 @@ -2,9 +2,9 @@ * * $RCSfile: queryview.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.5.120.1 $ * - * last change: $Author: rt $ $Date: 2004/09/09 09:50:00 $ + * last change: $Author: oj $ $Date: 2005/04/29 06:03:50 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -75,14 +75,19 @@ using namespace dbaui; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; +DBG_NAME(OQueryView) // ------------------------------------------------------------------------- OQueryView::OQueryView(Window* _pParent, OQueryController* _pController,const Reference< XMultiServiceFactory >& _rFactory) :OJoinDesignView(_pParent,_pController,_rFactory) { + DBG_CTOR(OQueryView,NULL); + } // ----------------------------------------------------------------------------- OQueryView::~OQueryView() { + + DBG_DTOR(OQueryView,NULL); } // ----------------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
