summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/scuitphfedit.hxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-11-12 23:37:12 +0100
committerMichael Stahl <mstahl@redhat.com>2015-11-13 12:25:25 +0100
commit5fe66069010e9afc3a16d238592c3b672850514c (patch)
tree30ef1669092bbb7df50740a80a1c275d57859347 /sc/source/ui/inc/scuitphfedit.hxx
parent613ef01748bd155653954f1effe00e395ba38a3b (diff)
sc: loplugin:badstatics: remove pActiveEdWnd global variable
Just use a Link, or rather std::function to set a member in the tab page. Unfortunately loplugin:vclwidgets complains about the new member. Change-Id: Ie2f9cb73c38292d02057d43b12694c6609fa0db8
Diffstat (limited to 'sc/source/ui/inc/scuitphfedit.hxx')
-rw-r--r--sc/source/ui/inc/scuitphfedit.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sc/source/ui/inc/scuitphfedit.hxx b/sc/source/ui/inc/scuitphfedit.hxx
index fbdf7cd4183f..326f6b356661 100644
--- a/sc/source/ui/inc/scuitphfedit.hxx
+++ b/sc/source/ui/inc/scuitphfedit.hxx
@@ -82,6 +82,8 @@ private:
VclPtr<FixedText> m_pFtCreatedBy;
VclPtr<FixedText> m_pFtCustomized;
+ ScEditWindow * m_pEditFocus; ///one of m_pWndLeft, m_pWndCenter, m_pWndRight
+
sal_uInt16 nWhich;
OUString aCmdArr[6];
@@ -99,7 +101,7 @@ private:
static bool IsExtFileNameEntry(EditTextObject* pTextObj);
DECL_LINK_TYPED( ListHdl_Impl, ListBox&, void);
DECL_LINK_TYPED( ClickHdl, Button*, void );
- DECL_STATIC_LINK_TYPED( ScHFEditPage, MenuHdl, ScExtIButton&, void );
+ DECL_LINK_TYPED( MenuHdl, ScExtIButton&, void );
};
class ScRightHeaderEditPage : public ScHFEditPage