summaryrefslogtreecommitdiff
path: root/sc/source/ui/namedlg
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-02-13 23:15:41 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-02-14 16:36:01 +0100
commit289144b2fee5b3932a01f24d045c5358f45e12c8 (patch)
tree2f1132195bb3f2259b424a9b06e6cbe11841177f /sc/source/ui/namedlg
parentcf3c4f63d94b39c73858d3455ede1b10dac2fe7d (diff)
cleanup namedlg.cxx
remove unneeded comments, includes and macros
Diffstat (limited to 'sc/source/ui/namedlg')
-rw-r--r--sc/source/ui/namedlg/namedlg.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/sc/source/ui/namedlg/namedlg.cxx b/sc/source/ui/namedlg/namedlg.cxx
index 72469f7fe9ff..b2a7de6e2245 100644
--- a/sc/source/ui/namedlg/namedlg.cxx
+++ b/sc/source/ui/namedlg/namedlg.cxx
@@ -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