Kaydet (Commit) 1714f4d3 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Remove remaining DBG_CTOR etc. remnants from basctl

Change-Id: I383021580f69ac51ca65f3464bf863b800ccd931
üst 70245edb
...@@ -47,13 +47,6 @@ using namespace ::com::sun::star::lang; ...@@ -47,13 +47,6 @@ using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::accessibility; using namespace ::com::sun::star::accessibility;
using namespace ::comphelper; using namespace ::comphelper;
DBG_NAME( AccessibleDialogWindow )
// class ChildDescriptor
AccessibleDialogWindow::ChildDescriptor::ChildDescriptor( DlgEdObj* _pDlgEdObj ) AccessibleDialogWindow::ChildDescriptor::ChildDescriptor( DlgEdObj* _pDlgEdObj )
:pDlgEdObj( _pDlgEdObj ) :pDlgEdObj( _pDlgEdObj )
,rxAccessible( 0 ) ,rxAccessible( 0 )
...@@ -116,7 +109,6 @@ AccessibleDialogWindow::AccessibleDialogWindow (basctl::DialogWindow* pDialogWin ...@@ -116,7 +109,6 @@ AccessibleDialogWindow::AccessibleDialogWindow (basctl::DialogWindow* pDialogWin
, m_pDlgEditor(NULL) , m_pDlgEditor(NULL)
, m_pDlgEdModel(NULL) , m_pDlgEdModel(NULL)
{ {
DBG_CTOR( AccessibleDialogWindow, NULL );
m_pExternalLock = static_cast< VCLExternalSolarLock* >( getExternalLock() ); m_pExternalLock = static_cast< VCLExternalSolarLock* >( getExternalLock() );
if ( m_pDialogWindow ) if ( m_pDialogWindow )
...@@ -147,7 +139,6 @@ AccessibleDialogWindow::AccessibleDialogWindow (basctl::DialogWindow* pDialogWin ...@@ -147,7 +139,6 @@ AccessibleDialogWindow::AccessibleDialogWindow (basctl::DialogWindow* pDialogWin
AccessibleDialogWindow::~AccessibleDialogWindow() AccessibleDialogWindow::~AccessibleDialogWindow()
{ {
DBG_DTOR( AccessibleDialogWindow, NULL );
if ( m_pDialogWindow ) if ( m_pDialogWindow )
m_pDialogWindow->RemoveEventListener( LINK( this, AccessibleDialogWindow, WindowEventListener ) ); m_pDialogWindow->RemoveEventListener( LINK( this, AccessibleDialogWindow, WindowEventListener ) );
...@@ -355,8 +346,6 @@ void AccessibleDialogWindow::SortChildren() ...@@ -355,8 +346,6 @@ void AccessibleDialogWindow::SortChildren()
IMPL_LINK( AccessibleDialogWindow, WindowEventListener, VclSimpleEvent*, pEvent ) IMPL_LINK( AccessibleDialogWindow, WindowEventListener, VclSimpleEvent*, pEvent )
{ {
DBG_CHKTHIS( AccessibleDialogWindow, 0 );
if (VclWindowEvent* pWinEvent = dynamic_cast<VclWindowEvent*>(pEvent)) if (VclWindowEvent* pWinEvent = dynamic_cast<VclWindowEvent*>(pEvent))
{ {
DBG_ASSERT(pWinEvent->GetWindow(), "AccessibleDialogWindow::WindowEventListener: no window!"); DBG_ASSERT(pWinEvent->GetWindow(), "AccessibleDialogWindow::WindowEventListener: no window!");
......
...@@ -92,9 +92,6 @@ using namespace ::com::sun::star::ui::dialogs; ...@@ -92,9 +92,6 @@ using namespace ::com::sun::star::ui::dialogs;
using namespace utl; using namespace utl;
using namespace comphelper; using namespace comphelper;
DBG_NAME( ModulWindow )
TYPEINIT1( ModulWindow , BaseWindow ); TYPEINIT1( ModulWindow , BaseWindow );
namespace namespace
...@@ -205,7 +202,6 @@ ModulWindow::ModulWindow ( ...@@ -205,7 +202,6 @@ ModulWindow::ModulWindow (
aXEditorWindow(this), aXEditorWindow(this),
m_aModule(aModule) m_aModule(aModule)
{ {
DBG_CTOR( ModulWindow, 0 );
aXEditorWindow.Show(); aXEditorWindow.Show();
SetBackground(); SetBackground();
} }
...@@ -238,7 +234,6 @@ SbModuleRef ModulWindow::XModule() ...@@ -238,7 +234,6 @@ SbModuleRef ModulWindow::XModule()
ModulWindow::~ModulWindow() ModulWindow::~ModulWindow()
{ {
DBG_DTOR( ModulWindow, 0 );
nValid = 0; nValid = 0;
StarBASIC::Stop(); StarBASIC::Stop();
...@@ -249,15 +244,12 @@ void ModulWindow::GetFocus() ...@@ -249,15 +244,12 @@ void ModulWindow::GetFocus()
{ {
if (nValid != ValidWindow) if (nValid != ValidWindow)
return; return;
DBG_CHKTHIS( ModulWindow, 0 );
aXEditorWindow.GetEdtWindow().GrabFocus(); aXEditorWindow.GetEdtWindow().GrabFocus();
// don't call basic calls because focus is somewhere else... // don't call basic calls because focus is somewhere else...
} }
void ModulWindow::DoInit() void ModulWindow::DoInit()
{ {
DBG_CHKTHIS( ModulWindow, 0 );
if ( GetVScrollBar() ) if ( GetVScrollBar() )
GetVScrollBar()->Hide(); GetVScrollBar()->Hide();
GetHScrollBar()->Show(); GetHScrollBar()->Show();
...@@ -278,8 +270,6 @@ void ModulWindow::Resize() ...@@ -278,8 +270,6 @@ void ModulWindow::Resize()
void ModulWindow::CheckCompileBasic() void ModulWindow::CheckCompileBasic()
{ {
DBG_CHKTHIS( ModulWindow, 0 );
if ( XModule().Is() ) if ( XModule().Is() )
{ {
// never compile while running! // never compile while running!
...@@ -320,8 +310,6 @@ void ModulWindow::CheckCompileBasic() ...@@ -320,8 +310,6 @@ void ModulWindow::CheckCompileBasic()
bool ModulWindow::BasicExecute() bool ModulWindow::BasicExecute()
{ {
DBG_CHKTHIS( ModulWindow, 0 );
// #116444# check security settings before macro execution // #116444# check security settings before macro execution
ScriptDocument aDocument( GetDocument() ); ScriptDocument aDocument( GetDocument() );
if ( aDocument.isDocument() ) if ( aDocument.isDocument() )
...@@ -389,7 +377,6 @@ bool ModulWindow::BasicExecute() ...@@ -389,7 +377,6 @@ bool ModulWindow::BasicExecute()
bool ModulWindow::CompileBasic() bool ModulWindow::CompileBasic()
{ {
DBG_CHKTHIS( ModulWindow, 0 );
CheckCompileBasic(); CheckCompileBasic();
return XModule().Is() && xModule->IsCompiled(); return XModule().Is() && xModule->IsCompiled();
...@@ -397,15 +384,12 @@ bool ModulWindow::CompileBasic() ...@@ -397,15 +384,12 @@ bool ModulWindow::CompileBasic()
bool ModulWindow::BasicRun() bool ModulWindow::BasicRun()
{ {
DBG_CHKTHIS( ModulWindow, 0 );
aStatus.nBasicFlags = 0; aStatus.nBasicFlags = 0;
return BasicExecute(); return BasicExecute();
} }
bool ModulWindow::BasicStepOver() bool ModulWindow::BasicStepOver()
{ {
DBG_CHKTHIS( ModulWindow, 0 );
aStatus.nBasicFlags = SbDEBUG_STEPINTO | SbDEBUG_STEPOVER; aStatus.nBasicFlags = SbDEBUG_STEPINTO | SbDEBUG_STEPOVER;
return BasicExecute(); return BasicExecute();
} }
...@@ -413,16 +397,12 @@ bool ModulWindow::BasicStepOver() ...@@ -413,16 +397,12 @@ bool ModulWindow::BasicStepOver()
bool ModulWindow::BasicStepInto() bool ModulWindow::BasicStepInto()
{ {
DBG_CHKTHIS( ModulWindow, 0 );
aStatus.nBasicFlags = SbDEBUG_STEPINTO; aStatus.nBasicFlags = SbDEBUG_STEPINTO;
return BasicExecute(); return BasicExecute();
} }
bool ModulWindow::BasicStepOut() bool ModulWindow::BasicStepOut()
{ {
DBG_CHKTHIS( ModulWindow, 0 );
aStatus.nBasicFlags = SbDEBUG_STEPOUT; aStatus.nBasicFlags = SbDEBUG_STEPOUT;
return BasicExecute(); return BasicExecute();
} }
...@@ -431,15 +411,12 @@ bool ModulWindow::BasicStepOut() ...@@ -431,15 +411,12 @@ bool ModulWindow::BasicStepOut()
void ModulWindow::BasicStop() void ModulWindow::BasicStop()
{ {
DBG_CHKTHIS( ModulWindow, 0 );
GetBasic()->Stop(); GetBasic()->Stop();
aStatus.bIsRunning = false; aStatus.bIsRunning = false;
} }
bool ModulWindow::LoadBasic() bool ModulWindow::LoadBasic()
{ {
DBG_CHKTHIS( ModulWindow, 0 );
bool bDone = false; bool bDone = false;
Reference< uno::XComponentContext > xContext( ::comphelper::getProcessComponentContext() ); Reference< uno::XComponentContext > xContext( ::comphelper::getProcessComponentContext() );
...@@ -485,7 +462,6 @@ bool ModulWindow::LoadBasic() ...@@ -485,7 +462,6 @@ bool ModulWindow::LoadBasic()
bool ModulWindow::SaveBasicSource() bool ModulWindow::SaveBasicSource()
{ {
DBG_CHKTHIS( ModulWindow, 0 );
bool bDone = false; bool bDone = false;
Reference< uno::XComponentContext > xContext( ::comphelper::getProcessComponentContext() ); Reference< uno::XComponentContext > xContext( ::comphelper::getProcessComponentContext() );
...@@ -599,7 +575,6 @@ void ModulWindow::UpdateBreakPoint( const BreakPoint& rBrk ) ...@@ -599,7 +575,6 @@ void ModulWindow::UpdateBreakPoint( const BreakPoint& rBrk )
bool ModulWindow::BasicToggleBreakPoint() bool ModulWindow::BasicToggleBreakPoint()
{ {
DBG_CHKTHIS( ModulWindow, 0 );
AssertValidEditEngine(); AssertValidEditEngine();
TextSelection aSel = GetEditView()->GetSelection(); TextSelection aSel = GetEditView()->GetSelection();
...@@ -621,7 +596,6 @@ bool ModulWindow::BasicToggleBreakPoint() ...@@ -621,7 +596,6 @@ bool ModulWindow::BasicToggleBreakPoint()
void ModulWindow::BasicToggleBreakPointEnabled() void ModulWindow::BasicToggleBreakPointEnabled()
{ {
DBG_CHKTHIS( ModulWindow, 0 );
AssertValidEditEngine(); AssertValidEditEngine();
ExtTextView* pView = GetEditView(); ExtTextView* pView = GetEditView();
...@@ -656,7 +630,6 @@ void ModulWindow::ManageBreakPoints() ...@@ -656,7 +630,6 @@ void ModulWindow::ManageBreakPoints()
bool ModulWindow::BasicErrorHdl( StarBASIC * pBasic ) bool ModulWindow::BasicErrorHdl( StarBASIC * pBasic )
{ {
DBG_CHKTHIS( ModulWindow, 0 );
GoOnTop(); GoOnTop();
// ReturnWert: BOOL // ReturnWert: BOOL
...@@ -693,8 +666,6 @@ bool ModulWindow::BasicErrorHdl( StarBASIC * pBasic ) ...@@ -693,8 +666,6 @@ bool ModulWindow::BasicErrorHdl( StarBASIC * pBasic )
long ModulWindow::BasicBreakHdl( StarBASIC* pBasic ) long ModulWindow::BasicBreakHdl( StarBASIC* pBasic )
{ {
DBG_CHKTHIS( ModulWindow, 0 );
// #i69280 Required in Window despite normal usage in next command! // #i69280 Required in Window despite normal usage in next command!
(void)pBasic; (void)pBasic;
...@@ -738,7 +709,6 @@ long ModulWindow::BasicBreakHdl( StarBASIC* pBasic ) ...@@ -738,7 +709,6 @@ long ModulWindow::BasicBreakHdl( StarBASIC* pBasic )
void ModulWindow::BasicAddWatch() void ModulWindow::BasicAddWatch()
{ {
DBG_CHKTHIS( ModulWindow, 0 );
AssertValidEditEngine(); AssertValidEditEngine();
bool bAdd = true; bool bAdd = true;
if ( !GetEditView()->HasSelection() ) if ( !GetEditView()->HasSelection() )
...@@ -766,7 +736,6 @@ void ModulWindow::BasicAddWatch() ...@@ -766,7 +736,6 @@ void ModulWindow::BasicAddWatch()
void ModulWindow::EditMacro( const OUString& rMacroName ) void ModulWindow::EditMacro( const OUString& rMacroName )
{ {
DBG_CHKTHIS( ModulWindow, 0 );
DBG_ASSERT( XModule().Is(), "Kein Modul!" ); DBG_ASSERT( XModule().Is(), "Kein Modul!" );
if ( XModule().Is() ) if ( XModule().Is() )
...@@ -811,7 +780,6 @@ void ModulWindow::EditMacro( const OUString& rMacroName ) ...@@ -811,7 +780,6 @@ void ModulWindow::EditMacro( const OUString& rMacroName )
void ModulWindow::StoreData() void ModulWindow::StoreData()
{ {
DBG_CHKTHIS( ModulWindow, 0 );
// StoreData is called when the BasicManager is destroyed or // StoreData is called when the BasicManager is destroyed or
// this window is closed. // this window is closed.
// => interrupts undesired! // => interrupts undesired!
...@@ -820,7 +788,6 @@ void ModulWindow::StoreData() ...@@ -820,7 +788,6 @@ void ModulWindow::StoreData()
bool ModulWindow::CanClose() bool ModulWindow::CanClose()
{ {
DBG_CHKTHIS( ModulWindow, 0 );
return true; return true;
} }
...@@ -833,7 +800,6 @@ bool ModulWindow::AllowUndo() ...@@ -833,7 +800,6 @@ bool ModulWindow::AllowUndo()
void ModulWindow::UpdateData() void ModulWindow::UpdateData()
{ {
DBG_CHKTHIS( ModulWindow, 0 );
DBG_ASSERT( XModule().Is(), "Kein Modul!" ); DBG_ASSERT( XModule().Is(), "Kein Modul!" );
// UpdateData is called when the source has changed from outside // UpdateData is called when the source has changed from outside
// => interrupts undesired! // => interrupts undesired!
...@@ -871,8 +837,6 @@ void ModulWindow::printPage( sal_Int32 nPage, Printer* pPrinter ) ...@@ -871,8 +837,6 @@ void ModulWindow::printPage( sal_Int32 nPage, Printer* pPrinter )
*/ */
sal_Int32 ModulWindow::FormatAndPrint( Printer* pPrinter, sal_Int32 nPrintPage ) sal_Int32 ModulWindow::FormatAndPrint( Printer* pPrinter, sal_Int32 nPrintPage )
{ {
DBG_CHKTHIS( ModulWindow, 0 );
AssertValidEditEngine(); AssertValidEditEngine();
MapMode eOldMapMode( pPrinter->GetMapMode() ); MapMode eOldMapMode( pPrinter->GetMapMode() );
...@@ -942,7 +906,6 @@ sal_Int32 ModulWindow::FormatAndPrint( Printer* pPrinter, sal_Int32 nPrintPage ) ...@@ -942,7 +906,6 @@ sal_Int32 ModulWindow::FormatAndPrint( Printer* pPrinter, sal_Int32 nPrintPage )
void ModulWindow::ExecuteCommand (SfxRequest& rReq) void ModulWindow::ExecuteCommand (SfxRequest& rReq)
{ {
DBG_CHKTHIS( ModulWindow, 0 );
AssertValidEditEngine(); AssertValidEditEngine();
switch (rReq.GetSlot()) switch (rReq.GetSlot())
{ {
...@@ -1117,7 +1080,6 @@ void ModulWindow::ExecuteGlobal (SfxRequest& rReq) ...@@ -1117,7 +1080,6 @@ void ModulWindow::ExecuteGlobal (SfxRequest& rReq)
void ModulWindow::GetState( SfxItemSet &rSet ) void ModulWindow::GetState( SfxItemSet &rSet )
{ {
DBG_CHKTHIS( ModulWindow, 0 );
SfxWhichIter aIter(rSet); SfxWhichIter aIter(rSet);
for ( sal_uInt16 nWh = aIter.FirstWhich(); 0 != nWh; nWh = aIter.NextWhich() ) for ( sal_uInt16 nWh = aIter.FirstWhich(); 0 != nWh; nWh = aIter.NextWhich() )
{ {
...@@ -1193,7 +1155,6 @@ void ModulWindow::GetState( SfxItemSet &rSet ) ...@@ -1193,7 +1155,6 @@ void ModulWindow::GetState( SfxItemSet &rSet )
void ModulWindow::DoScroll( ScrollBar* pCurScrollBar ) void ModulWindow::DoScroll( ScrollBar* pCurScrollBar )
{ {
DBG_CHKTHIS( ModulWindow, 0 );
if ( ( pCurScrollBar == GetHScrollBar() ) && GetEditView() ) if ( ( pCurScrollBar == GetHScrollBar() ) && GetEditView() )
{ {
// don't scroll with the value but rather use the Thumb-Pos for the VisArea: // don't scroll with the value but rather use the Thumb-Pos for the VisArea:
...@@ -1555,7 +1516,6 @@ void ModulWindowLayout::BasicAddWatch (OUString const& rWatchStr) ...@@ -1555,7 +1516,6 @@ void ModulWindowLayout::BasicAddWatch (OUString const& rWatchStr)
void ModulWindowLayout::BasicRemoveWatch () void ModulWindowLayout::BasicRemoveWatch ()
{ {
DBG_CHKTHIS( ModulWindow, 0 );
aWatchWindow.RemoveSelectedWatch(); aWatchWindow.RemoveSelectedWatch();
} }
......
...@@ -71,8 +71,6 @@ char const FilterMask_All[] = "*.*"; ...@@ -71,8 +71,6 @@ char const FilterMask_All[] = "*.*";
char const FilterMask_All[] = "*"; char const FilterMask_All[] = "*";
#endif #endif
DBG_NAME( DialogWindow )
TYPEINIT1( DialogWindow, BaseWindow ); TYPEINIT1( DialogWindow, BaseWindow );
DialogWindow::DialogWindow ( DialogWindow::DialogWindow (
...@@ -706,7 +704,6 @@ static OUString aResourceResolverPropName( "ResourceResolver" ); ...@@ -706,7 +704,6 @@ static OUString aResourceResolverPropName( "ResourceResolver" );
bool DialogWindow::SaveDialog() bool DialogWindow::SaveDialog()
{ {
DBG_CHKTHIS( DialogWindow, 0 );
bool bDone = false; bool bDone = false;
Reference< XComponentContext > xContext( comphelper::getProcessComponentContext() ); Reference< XComponentContext > xContext( comphelper::getProcessComponentContext() );
...@@ -1246,8 +1243,6 @@ bool implImportDialog( Window* pWin, const OUString& rCurPath, const ScriptDocum ...@@ -1246,8 +1243,6 @@ bool implImportDialog( Window* pWin, const OUString& rCurPath, const ScriptDocum
bool DialogWindow::ImportDialog() bool DialogWindow::ImportDialog()
{ {
DBG_CHKTHIS( DialogWindow, 0 );
const ScriptDocument& rDocument = GetDocument(); const ScriptDocument& rDocument = GetDocument();
OUString aLibName = GetLibName(); OUString aLibName = GetLibName();
return implImportDialog( this, aCurPath, rDocument, aLibName ); return implImportDialog( this, aCurPath, rDocument, aLibName );
......
...@@ -44,14 +44,6 @@ namespace basctl ...@@ -44,14 +44,6 @@ namespace basctl
using namespace ::com::sun::star::uno; using namespace ::com::sun::star::uno;
using namespace ::com::sun::star; using namespace ::com::sun::star;
// BaseWindow
DBG_NAME( BaseWindow )
TYPEINIT0( BaseWindow ) TYPEINIT0( BaseWindow )
TYPEINIT1( SbxItem, SfxPoolItem ); TYPEINIT1( SbxItem, SfxPoolItem );
...@@ -61,7 +53,6 @@ BaseWindow::BaseWindow( Window* pParent, const ScriptDocument& rDocument, const ...@@ -61,7 +53,6 @@ BaseWindow::BaseWindow( Window* pParent, const ScriptDocument& rDocument, const
,m_aLibName( aLibName ) ,m_aLibName( aLibName )
,m_aName( aName ) ,m_aName( aName )
{ {
DBG_CTOR( BaseWindow, 0 );
pShellHScrollBar = 0; pShellHScrollBar = 0;
pShellVScrollBar = 0; pShellVScrollBar = 0;
nStatus = 0; nStatus = 0;
...@@ -69,7 +60,6 @@ BaseWindow::BaseWindow( Window* pParent, const ScriptDocument& rDocument, const ...@@ -69,7 +60,6 @@ BaseWindow::BaseWindow( Window* pParent, const ScriptDocument& rDocument, const
BaseWindow::~BaseWindow() BaseWindow::~BaseWindow()
{ {
DBG_DTOR( BaseWindow, 0 );
if ( pShellVScrollBar ) if ( pShellVScrollBar )
pShellVScrollBar->SetScrollHdl( Link() ); pShellVScrollBar->SetScrollHdl( Link() );
if ( pShellHScrollBar ) if ( pShellHScrollBar )
...@@ -80,7 +70,6 @@ BaseWindow::~BaseWindow() ...@@ -80,7 +70,6 @@ BaseWindow::~BaseWindow()
void BaseWindow::Init() void BaseWindow::Init()
{ {
DBG_CHKTHIS( BaseWindow, 0 );
if ( pShellVScrollBar ) if ( pShellVScrollBar )
pShellVScrollBar->SetScrollHdl( LINK( this, BaseWindow, ScrollHdl ) ); pShellVScrollBar->SetScrollHdl( LINK( this, BaseWindow, ScrollHdl ) );
if ( pShellHScrollBar ) if ( pShellHScrollBar )
...@@ -97,7 +86,6 @@ void BaseWindow::DoInit() ...@@ -97,7 +86,6 @@ void BaseWindow::DoInit()
void BaseWindow::GrabScrollBars( ScrollBar* pHScroll, ScrollBar* pVScroll ) void BaseWindow::GrabScrollBars( ScrollBar* pHScroll, ScrollBar* pVScroll )
{ {
DBG_CHKTHIS( BaseWindow, 0 );
pShellHScrollBar = pHScroll; pShellHScrollBar = pHScroll;
pShellVScrollBar = pVScroll; pShellVScrollBar = pVScroll;
// Init(); // does not make sense, leads to flickering and errors... // Init(); // does not make sense, leads to flickering and errors...
...@@ -107,7 +95,6 @@ void BaseWindow::GrabScrollBars( ScrollBar* pHScroll, ScrollBar* pVScroll ) ...@@ -107,7 +95,6 @@ void BaseWindow::GrabScrollBars( ScrollBar* pHScroll, ScrollBar* pVScroll )
IMPL_LINK_INLINE_START( BaseWindow, ScrollHdl, ScrollBar *, pCurScrollBar ) IMPL_LINK_INLINE_START( BaseWindow, ScrollHdl, ScrollBar *, pCurScrollBar )
{ {
DBG_CHKTHIS( BaseWindow, 0 );
DoScroll( pCurScrollBar ); DoScroll( pCurScrollBar );
return 0; return 0;
} }
...@@ -153,7 +140,6 @@ bool BaseWindow::Notify( NotifyEvent& rNEvt ) ...@@ -153,7 +140,6 @@ bool BaseWindow::Notify( NotifyEvent& rNEvt )
void BaseWindow::DoScroll( ScrollBar* ) void BaseWindow::DoScroll( ScrollBar* )
{ {
DBG_CHKTHIS( BaseWindow, 0 );
} }
......
...@@ -24,24 +24,19 @@ ...@@ -24,24 +24,19 @@
namespace basctl namespace basctl
{ {
DBG_NAME(DlgEdModel)
TYPEINIT1(DlgEdModel,SdrModel); TYPEINIT1(DlgEdModel,SdrModel);
DlgEdModel::DlgEdModel() DlgEdModel::DlgEdModel()
:SdrModel() :SdrModel()
{ {
DBG_CTOR(DlgEdModel,0);
} }
DlgEdModel::~DlgEdModel() DlgEdModel::~DlgEdModel()
{ {
DBG_DTOR(DlgEdModel,0);
} }
SdrPage* DlgEdModel::AllocPage(bool bMasterPage) SdrPage* DlgEdModel::AllocPage(bool bMasterPage)
{ {
DBG_CHKTHIS(DlgEdModel, 0);
return new DlgEdPage(*this, bMasterPage); return new DlgEdPage(*this, bMasterPage);
} }
......
...@@ -50,7 +50,6 @@ using namespace ::com::sun::star::container; ...@@ -50,7 +50,6 @@ using namespace ::com::sun::star::container;
using namespace ::com::sun::star::script; using namespace ::com::sun::star::script;
TYPEINIT1(DlgEdObj, SdrUnoObj); TYPEINIT1(DlgEdObj, SdrUnoObj);
DBG_NAME(DlgEdObj);
DlgEditor& DlgEdObj::GetDialogEditor () DlgEditor& DlgEdObj::GetDialogEditor ()
{ {
...@@ -65,7 +64,6 @@ DlgEdObj::DlgEdObj() ...@@ -65,7 +64,6 @@ DlgEdObj::DlgEdObj()
,bIsListening(false) ,bIsListening(false)
,pDlgEdForm( NULL ) ,pDlgEdForm( NULL )
{ {
DBG_CTOR(DlgEdObj, NULL);
} }
DlgEdObj::DlgEdObj(const OUString& rModelName, DlgEdObj::DlgEdObj(const OUString& rModelName,
...@@ -74,13 +72,10 @@ DlgEdObj::DlgEdObj(const OUString& rModelName, ...@@ -74,13 +72,10 @@ DlgEdObj::DlgEdObj(const OUString& rModelName,
,bIsListening(false) ,bIsListening(false)
,pDlgEdForm( NULL ) ,pDlgEdForm( NULL )
{ {
DBG_CTOR(DlgEdObj, NULL);
} }
DlgEdObj::~DlgEdObj() DlgEdObj::~DlgEdObj()
{ {
DBG_DTOR(DlgEdObj, NULL);
if ( isListening() ) if ( isListening() )
EndListening(); EndListening();
} }
...@@ -1213,17 +1208,14 @@ void DlgEdObj::SetLayer(SdrLayerID nLayer) ...@@ -1213,17 +1208,14 @@ void DlgEdObj::SetLayer(SdrLayerID nLayer)
} }
TYPEINIT1(DlgEdForm, DlgEdObj); TYPEINIT1(DlgEdForm, DlgEdObj);
DBG_NAME(DlgEdForm);
DlgEdForm::DlgEdForm (DlgEditor& rDlgEditor_) : DlgEdForm::DlgEdForm (DlgEditor& rDlgEditor_) :
rDlgEditor(rDlgEditor_) rDlgEditor(rDlgEditor_)
{ {
DBG_CTOR(DlgEdForm, NULL);
} }
DlgEdForm::~DlgEdForm() DlgEdForm::~DlgEdForm()
{ {
DBG_DTOR(DlgEdForm, NULL);
} }
void DlgEdForm::SetRectFromProps() void DlgEdForm::SetRectFromProps()
......
...@@ -79,18 +79,12 @@ const long WIN_BORDER = 2; ...@@ -79,18 +79,12 @@ const long WIN_BORDER = 2;
} // namespace } // namespace
DBG_NAME(PropBrw)
PropBrw::PropBrw (DialogWindowLayout& rLayout_): PropBrw::PropBrw (DialogWindowLayout& rLayout_):
DockingWindow(&rLayout_), DockingWindow(&rLayout_),
m_bInitialStateChange(true), m_bInitialStateChange(true),
m_xContextDocument(SfxViewShell::Current() ? SfxViewShell::Current()->GetCurrentDocument() : Reference<XModel>()), m_xContextDocument(SfxViewShell::Current() ? SfxViewShell::Current()->GetCurrentDocument() : Reference<XModel>()),
pView(0) pView(0)
{ {
DBG_CTOR(PropBrw,NULL);
Size aPropWinSize(STD_WIN_SIZE_X,STD_WIN_SIZE_Y); Size aPropWinSize(STD_WIN_SIZE_X,STD_WIN_SIZE_Y);
SetMinOutputSizePixel(Size(STD_MIN_SIZE_X,STD_MIN_SIZE_Y)); SetMinOutputSizePixel(Size(STD_MIN_SIZE_X,STD_MIN_SIZE_Y));
SetOutputSizePixel(aPropWinSize); SetOutputSizePixel(aPropWinSize);
...@@ -198,8 +192,6 @@ PropBrw::~PropBrw() ...@@ -198,8 +192,6 @@ PropBrw::~PropBrw()
{ {
if ( m_xBrowserController.is() ) if ( m_xBrowserController.is() )
ImplDestroyController(); ImplDestroyController();
DBG_DTOR(PropBrw,NULL);
} }
......
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