Kaydet (Commit) 289144b2 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

cleanup namedlg.cxx

remove unneeded comments, includes and macros
üst cf3c4f63
...@@ -52,7 +52,6 @@ ...@@ -52,7 +52,6 @@
#include <map> #include <map>
#include <memory> #include <memory>
#include <iostream>
// defines ------------------------------------------------------------------- // defines -------------------------------------------------------------------
...@@ -60,13 +59,10 @@ ...@@ -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() ...@@ -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
......
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