summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/namedlg.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-04-08 14:34:13 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-04-08 14:41:01 -0400
commitffaaf35206b8f049bb9e9ffd7a85c8ebd758a21c (patch)
tree41a0c1db4bfb0852ef7120e27caefea4ed7a4c43 /sc/source/ui/inc/namedlg.hxx
parent874a9b46cb54e4c05e262e5d7490790a08ea0c55 (diff)
fdo#71729: Fill the range edit boxes after the table is fully initialized.
Otherwise the range formula expression would not be available yet. Change-Id: If9c5040366f9038e8094fd5448ca5e4ee2e73edd
Diffstat (limited to 'sc/source/ui/inc/namedlg.hxx')
-rw-r--r--sc/source/ui/inc/namedlg.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/source/ui/inc/namedlg.hxx b/sc/source/ui/inc/namedlg.hxx
index 8c9cb91df19d..e85672ccc5e3 100644
--- a/sc/source/ui/inc/namedlg.hxx
+++ b/sc/source/ui/inc/namedlg.hxx
@@ -41,7 +41,7 @@ class ScDocument;
//logic behind the manage names dialog
-class ScNameDlg : public ScAnyRefDlg
+class ScNameDlg : public ScAnyRefDlg, public ScRangeManagerTable::InitListener
{
private:
Edit* m_pEdName;
@@ -131,9 +131,10 @@ public:
virtual void SetActive() SAL_OVERRIDE;
virtual bool Close() SAL_OVERRIDE;
+ virtual void tableInitialized() SAL_OVERRIDE;
+
void GetRangeNames(boost::ptr_map<OUString, ScRangeName>& rRangeMap);
void SetEntry(const OUString& rName, const OUString& rScope);
-
};
#endif // SC_NAMEDLG_HXX