summaryrefslogtreecommitdiff
path: root/sc/source/ui/condformat
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/condformat')
-rw-r--r--sc/source/ui/condformat/condformatdlg.cxx3
-rw-r--r--sc/source/ui/condformat/condformatmgr.cxx3
2 files changed, 1 insertions, 5 deletions
diff --git a/sc/source/ui/condformat/condformatdlg.cxx b/sc/source/ui/condformat/condformatdlg.cxx
index 1f9d638599cd..2ed673803207 100644
--- a/sc/source/ui/condformat/condformatdlg.cxx
+++ b/sc/source/ui/condformat/condformatdlg.cxx
@@ -996,7 +996,6 @@ ScCondFormatList::ScCondFormatList(Window* pParent, const ResId& rResId, ScDocum
Control(pParent, rResId),
mbHasScrollBar(false),
mpScrollBar(new ScrollBar(this, WB_VERT )),
- mnTopIndex(0),
mpDoc(pDoc),
maPos(rPos),
maRanges(rRanges)
@@ -1094,8 +1093,6 @@ ScCondFormatDlg::ScCondFormatDlg(Window* pParent, ScDocument* pDoc, const ScCond
maBtnOk( this, ScResId( BTN_OK ) ),
maBtnCancel( this, ScResId( BTN_CANCEL ) ),
maCondFormList( this, ScResId( CTRL_LIST ), pDoc, pFormat, rRange, rPos ),
- mpDoc(pDoc),
- mpFormat(pFormat),
maPos(rPos)
{
diff --git a/sc/source/ui/condformat/condformatmgr.cxx b/sc/source/ui/condformat/condformatmgr.cxx
index aee8b6f26dd4..ebaad9b8ba0a 100644
--- a/sc/source/ui/condformat/condformatmgr.cxx
+++ b/sc/source/ui/condformat/condformatmgr.cxx
@@ -163,7 +163,7 @@ void ScCondFormatManagerCtrl::Update()
maWdManager.Update();
}
-ScCondFormatManagerDlg::ScCondFormatManagerDlg(Window* pParent, ScDocument* pDoc, const ScConditionalFormatList* pFormatList, const ScRangeList& rList, const ScAddress& rPos):
+ScCondFormatManagerDlg::ScCondFormatManagerDlg(Window* pParent, ScDocument* pDoc, const ScConditionalFormatList* pFormatList, const ScAddress& rPos):
ModalDialog(pParent, ScResId(RID_SCDLG_COND_FORMAT_MANAGER)),
maBtnAdd(this, ScResId(BTN_ADD)),
maBtnRemove(this, ScResId(BTN_REMOVE)),
@@ -174,7 +174,6 @@ ScCondFormatManagerDlg::ScCondFormatManagerDlg(Window* pParent, ScDocument* pDoc
mpFormatList( pFormatList ? new ScConditionalFormatList(*pFormatList) : NULL),
maCtrlManager(this, pDoc, mpFormatList, rPos),
mpDoc(pDoc),
- mrRangeList(rList),
maPos(rPos)
{
FreeResource();