summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-07-02 18:48:30 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-07-04 02:24:51 +0200
commit77c9613a227ce61adde63c6d1657c59bc1b4f3bb (patch)
tree23aa69367498d7e4a77a7dbf56abf9cc56517418 /sc/source/ui/inc
parent1643cb725cbd9ab0c5d238b0d762f470980ad658 (diff)
correct enumerate the condition entries in the dialog
Change-Id: I43c83674464f7c41505735b2ec4208f21567ed4c
Diffstat (limited to 'sc/source/ui/inc')
-rw-r--r--sc/source/ui/inc/condformatdlg.hrc1
-rw-r--r--sc/source/ui/inc/condformatdlg.hxx3
2 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/ui/inc/condformatdlg.hrc b/sc/source/ui/inc/condformatdlg.hrc
index 045b21525753..d92e7a7e774b 100644
--- a/sc/source/ui/inc/condformatdlg.hrc
+++ b/sc/source/ui/inc/condformatdlg.hrc
@@ -53,5 +53,6 @@
#define WD_PREVIEW 26
#define LB_COL 27
#define BTN_OPTIONS 30
+#define STR_CONDITION 31
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/condformatdlg.hxx b/sc/source/ui/inc/condformatdlg.hxx
index fba829505652..35e24da2f36c 100644
--- a/sc/source/ui/inc/condformatdlg.hxx
+++ b/sc/source/ui/inc/condformatdlg.hxx
@@ -115,6 +115,8 @@ private:
ScDocument* mpDoc;
ScAddress maPos;
+ sal_Int32 mnIndex;
+ rtl::OUString maStrCondition;
DECL_LINK( TypeListHdl, void*);
DECL_LINK( ColFormatTypeHdl, void*);
@@ -134,6 +136,7 @@ public:
void Deselect();
bool IsSelected() const;
+ void SetIndex(sal_Int32 nIndex);
ScFormatEntry* GetEntry() const;
};