diff options
Diffstat (limited to 'sc/source/ui/miscdlgs/inscodlg.cxx')
-rw-r--r-- | sc/source/ui/miscdlgs/inscodlg.cxx | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/sc/source/ui/miscdlgs/inscodlg.cxx b/sc/source/ui/miscdlgs/inscodlg.cxx index 75e5bac2574f..6d7d1ce1249e 100644 --- a/sc/source/ui/miscdlgs/inscodlg.cxx +++ b/sc/source/ui/miscdlgs/inscodlg.cxx @@ -361,6 +361,11 @@ IMPL_LINK_NOARG(ScInsertContentsDlg, LinkBtnHdl) ScInsertContentsDlg::~ScInsertContentsDlg() { + disposeOnce(); +} + +void ScInsertContentsDlg::dispose() +{ ScInsertContentsDlg::nPreviousChecks2 = 0; if(mpBtnSkipEmptyCells->IsChecked()) ScInsertContentsDlg::nPreviousChecks2 |= INS_CONT_NOEMPTY; @@ -378,6 +383,29 @@ ScInsertContentsDlg::~ScInsertContentsDlg() else if ( mpRbMoveRight->IsChecked() ) ScInsertContentsDlg::nPreviousMoveMode = INS_CELLSRIGHT; } + mpBtnInsAll.clear(); + mpBtnInsStrings.clear(); + mpBtnInsNumbers.clear(); + mpBtnInsDateTime.clear(); + mpBtnInsFormulas.clear(); + mpBtnInsNotes.clear(); + mpBtnInsAttrs.clear(); + mpBtnInsObjects.clear(); + mpBtnSkipEmptyCells.clear(); + mpBtnTranspose.clear(); + mpBtnLink.clear(); + mpRbNoOp.clear(); + mpRbAdd.clear(); + mpRbSub.clear(); + mpRbMul.clear(); + mpRbDiv.clear(); + mpRbMoveNone.clear(); + mpRbMoveDown.clear(); + mpRbMoveRight.clear(); + mpBtnShortCutPasteValuesOnly.clear(); + mpBtnShortCutPasteValuesFormats.clear(); + mpBtnShortCutPasteTranspose.clear(); + ModalDialog::dispose(); } sal_uInt16 ScInsertContentsDlg::GetFormulaCmdBits() const |