summaryrefslogtreecommitdiff
path: root/cui/source/inc/cuihyperdlg.hxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-08-17 13:34:20 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-08-22 21:33:06 -0500
commitf4246fab77113147b36706a1f3d93e8724ff826b (patch)
treed0643b5165f665eaee3b32cf1555fe5728cbbb56 /cui/source/inc/cuihyperdlg.hxx
parentc8a3b2d14c4942aa7d0d325a7b925f93b985161c (diff)
fdo#56456 fdo#75578 fdo#63271 fdo#75805 Improve hyperlink dialog
Changes made: * Rename "Back" to "Reset" like in other dialogs (eg. Writer - Format - Character). * Apply-Button, which reflects the old behavior of the dialog, and doesn't close it automatically. * Added an OK-Button, which applies the changes made and automatically closes the dialog. With this both use cases should be handled: * Inserting one single URI with simple close. * Modifying multiple URIs without closing the dialog. Hopefully all users are happy with this ;) Change-Id: I1881dee083945cd165fbb8f8444395c1b04a0607 Reviewed-on: https://gerrit.libreoffice.org/10946 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
Diffstat (limited to 'cui/source/inc/cuihyperdlg.hxx')
-rw-r--r--cui/source/inc/cuihyperdlg.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/cui/source/inc/cuihyperdlg.hxx b/cui/source/inc/cuihyperdlg.hxx
index f32bc7147959..244c195ce817 100644
--- a/cui/source/inc/cuihyperdlg.hxx
+++ b/cui/source/inc/cuihyperdlg.hxx
@@ -68,12 +68,14 @@ private:
bool mbReadOnly : 1;
bool mbIsHTMLDoc : 1;
+ DECL_LINK (ClickOkHdl_Impl, void * );
DECL_LINK (ClickApplyHdl_Impl, void * );
DECL_LINK (ClickCloseHdl_Impl, void * );
protected:
virtual bool Close() SAL_OVERRIDE;
virtual void Move() SAL_OVERRIDE;
+ void Apply();
public:
SvxHpLinkDlg (Window* pParent, SfxBindings* pBindings );