cleanup namedlg.cxx

remove unneeded comments, includes and macros
This commit is contained in:
Markus Mohrhard
2012-02-13 23:15:41 +01:00
parent cf3c4f63d9
commit 289144b2fe

View File

@@ -52,7 +52,6 @@
#include <map>
#include <memory>
#include <iostream>
// defines -------------------------------------------------------------------
@@ -60,13 +59,10 @@
| SCA_COL_ABSOLUTE | SCA_ROW_ABSOLUTE | SCA_TAB_ABSOLUTE
#define ABS_DREF ABS_SREF \
| 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
//logic
#define ERRORBOX(s) ErrorBox(this,WinBits(WB_OK|WB_DEF_OK),s).Execute();
ScNameDlg::ScNameDlg( SfxBindings* pB, SfxChildWindow* pCW, Window* pParent,
ScViewData* ptrViewData,
const ScAddress& aCursorPos, boost::ptr_map<rtl::OUString, ScRangeName>* pRangeMap )
@@ -187,8 +183,6 @@ void ScNameDlg::Init()
CheckForEmptyTable();
//TODO: fix the Add Button
//maBtnAdd.Disable();
}
sal_Bool ScNameDlg::IsRefInputMode() const