Tag: cws_src680_dba202a User: oj Date: 05/11/24 02:57:53 Modified: /dba/dbaccess/source/ui/tabledesign/ TableDesignHelpBar.cxx
Log: #120227# set window to NULL before delteing File Changes: Directory: /dba/dbaccess/source/ui/tabledesign/ =============================================== File [changed]: TableDesignHelpBar.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/tabledesign/TableDesignHelpBar.cxx?r1=1.4&r2=1.4.34.1 Delta lines: +5 -5 ------------------- --- TableDesignHelpBar.cxx 8 Sep 2005 16:40:50 -0000 1.4 +++ TableDesignHelpBar.cxx 24 Nov 2005 10:57:49 -0000 1.4.34.1 @@ -4,9 +4,9 @@ * * $RCSfile: TableDesignHelpBar.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.4.34.1 $ * - * last change: $Author: rt $ $Date: 2005/09/08 16:40:50 $ + * last change: $Author: oj $ $Date: 2005/11/24 10:57:49 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -44,7 +44,7 @@ #ifndef _DBA_DBACCESS_HELPID_HRC_ #include "dbaccess_helpid.hrc" #endif - +#include <memory> using namespace dbaui; #define STANDARD_MARGIN 6 //================================================================== @@ -67,7 +67,7 @@ OTableDesignHelpBar::~OTableDesignHelpBar() { DBG_DTOR(OTableDesignHelpBar,NULL); - delete m_pTextWin; + ::std::auto_ptr<Window> aTemp(m_pTextWin); m_pTextWin = NULL; } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
