summaryrefslogtreecommitdiff
path: root/svx/source/dialog/dialcontrol.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-04-22 15:55:40 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-04-22 15:59:20 +0100
commit46283082a3a520d3b39a7b733c8a0858896da26c (patch)
tree13828fb6c53e2279e47eb6623df76cce878aa52e /svx/source/dialog/dialcontrol.cxx
parent37eee65fbf1ee7ef5c86731594e33b056b6612d2 (diff)
restore DialControl Modify handlers
removed by a352018c76028b332ccc50be6ee12c16f75aac25 but we will need them again soon Change-Id: Ibeaa4aeeec3dc073592ecf7e8c53b8bb03e791b4
Diffstat (limited to 'svx/source/dialog/dialcontrol.cxx')
-rw-r--r--svx/source/dialog/dialcontrol.cxx15
1 files changed, 15 insertions, 0 deletions
diff --git a/svx/source/dialog/dialcontrol.cxx b/svx/source/dialog/dialcontrol.cxx
index f96271fd8745..1ffdfa2efd36 100644
--- a/svx/source/dialog/dialcontrol.cxx
+++ b/svx/source/dialog/dialcontrol.cxx
@@ -458,6 +458,21 @@ bool DialControl::IsValueModified()
return mpImpl->mnInitialAngle != mpImpl->mnAngle;
}
+NumericField* DialControl::GetLinkedField() const
+{
+ return mpImpl->mpLinkField;
+}
+
+void DialControl::SetModifyHdl( const Link& rLink )
+{
+ mpImpl->maModifyHdl = rLink;
+}
+
+const Link& DialControl::GetModifyHdl() const
+{
+ return mpImpl->maModifyHdl;
+}
+
// private --------------------------------------------------------------------
void DialControl::Init( const Size& rWinSize, const Font& rWinFont )