Kaydet (Commit) 344f939e authored tarafından Noel Grandin's avatar Noel Grandin Kaydeden (comit) Michael Meeks

vcl: VclPtr conversion in forms

Change-Id: Ib6a84b5d52a695aca69e1fcfde6390d1059a3745
üst 36070535
......@@ -58,8 +58,14 @@ namespace frm
RichTextControl::~RichTextControl( )
{
dispose();
}
void RichTextControl::dispose()
{
delete m_pImpl;
Control::dispose();
}
......
......@@ -52,6 +52,7 @@ namespace frm
);
virtual ~RichTextControl( );
virtual void dispose() SAL_OVERRIDE;
/* enables the change notifications for a particular attribute
......
......@@ -146,6 +146,11 @@ namespace frm
NavigationToolBar::~NavigationToolBar( )
{
dispose();
}
void NavigationToolBar::dispose()
{
for ( ::std::vector< vcl::Window* >::iterator loopChildWins = m_aChildWins.begin();
loopChildWins != m_aChildWins.end();
......@@ -155,6 +160,7 @@ namespace frm
delete *loopChildWins;
}
delete m_pToolbar;
vcl::Window::dispose();
}
......@@ -658,11 +664,6 @@ namespace frm
}
RecordPositionInput::~RecordPositionInput()
{
}
void RecordPositionInput::setDispatcher( const IFeatureDispatcher* _pDispatcher )
{
m_pDispatcher = _pDispatcher;
......
......@@ -71,6 +71,7 @@ namespace frm
const ::boost::shared_ptr< const ICommandDescriptionProvider >& _pDescriptionProvider
);
virtual ~NavigationToolBar( );
virtual void dispose() SAL_OVERRIDE;
/** sets the dispatcher which is to be used for the features
......@@ -158,7 +159,6 @@ namespace frm
public:
RecordPositionInput( vcl::Window* _pParent );
virtual ~RecordPositionInput();
/** sets the dispatcher which is to be used for the features
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment