cleanup namedlg.cxx
remove unneeded comments, includes and macros
This commit is contained in:
@@ -52,7 +52,6 @@
|
|||||||
|
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <iostream>
|
|
||||||
|
|
||||||
// defines -------------------------------------------------------------------
|
// defines -------------------------------------------------------------------
|
||||||
|
|
||||||
@@ -60,13 +59,10 @@
|
|||||||
| SCA_COL_ABSOLUTE | SCA_ROW_ABSOLUTE | SCA_TAB_ABSOLUTE
|
| SCA_COL_ABSOLUTE | SCA_ROW_ABSOLUTE | SCA_TAB_ABSOLUTE
|
||||||
#define ABS_DREF ABS_SREF \
|
#define ABS_DREF ABS_SREF \
|
||||||
| SCA_COL2_ABSOLUTE | SCA_ROW2_ABSOLUTE | SCA_TAB2_ABSOLUTE
|
| SCA_COL2_ABSOLUTE | SCA_ROW2_ABSOLUTE | SCA_TAB2_ABSOLUTE
|
||||||
#define ABS_SREF3D ABS_SREF | SCA_TAB_3D
|
|
||||||
#define ABS_DREF3D ABS_DREF | SCA_TAB_3D
|
#define ABS_DREF3D ABS_DREF | SCA_TAB_3D
|
||||||
|
|
||||||
//logic
|
//logic
|
||||||
|
|
||||||
#define ERRORBOX(s) ErrorBox(this,WinBits(WB_OK|WB_DEF_OK),s).Execute();
|
|
||||||
|
|
||||||
ScNameDlg::ScNameDlg( SfxBindings* pB, SfxChildWindow* pCW, Window* pParent,
|
ScNameDlg::ScNameDlg( SfxBindings* pB, SfxChildWindow* pCW, Window* pParent,
|
||||||
ScViewData* ptrViewData,
|
ScViewData* ptrViewData,
|
||||||
const ScAddress& aCursorPos, boost::ptr_map<rtl::OUString, ScRangeName>* pRangeMap )
|
const ScAddress& aCursorPos, boost::ptr_map<rtl::OUString, ScRangeName>* pRangeMap )
|
||||||
@@ -187,8 +183,6 @@ void ScNameDlg::Init()
|
|||||||
|
|
||||||
CheckForEmptyTable();
|
CheckForEmptyTable();
|
||||||
|
|
||||||
//TODO: fix the Add Button
|
|
||||||
//maBtnAdd.Disable();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sal_Bool ScNameDlg::IsRefInputMode() const
|
sal_Bool ScNameDlg::IsRefInputMode() const
|
||||||
|
Reference in New Issue
Block a user