diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-01-28 13:10:33 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-01-28 13:49:28 +0000 |
commit | d04540a55f533279d2b404223cc625fa251a6ea2 (patch) | |
tree | bddf3889ba50d0bf249af8532eed6a260e74dceb /sw/source/uibase/inc/fldedt.hxx | |
parent | 2208e85c5fc48f43be48b2240cc95421b47f1eb1 (diff) |
Resolves: fdo#50640 make sure we don't move away from the current field
by accident by trying to select the entire field if its inside an invisible
area where WrtShell::Right will skip automatically to the next visible area
Change-Id: Iafe9ebd1430db8e6022fec89729d0abb62dad0bb
Diffstat (limited to 'sw/source/uibase/inc/fldedt.hxx')
-rw-r--r-- | sw/source/uibase/inc/fldedt.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/source/uibase/inc/fldedt.hxx b/sw/source/uibase/inc/fldedt.hxx index 0c859e9fd69d..26dc320e0a04 100644 --- a/sw/source/uibase/inc/fldedt.hxx +++ b/sw/source/uibase/inc/fldedt.hxx @@ -23,6 +23,7 @@ class SwView; class SwWrtShell; +class SwFldMgr; class SwFldEditDlg : public SfxSingleTabDialog { @@ -37,9 +38,10 @@ class SwFldEditDlg : public SfxSingleTabDialog void Init(); SfxTabPage* CreatePage(sal_uInt16 nGroup); + void EnsureSelection(SwField *pCurFld, SwFldMgr &rMgr); public: - SwFldEditDlg(SwView& rVw); + SwFldEditDlg(SwView& rVw); virtual ~SwFldEditDlg(); DECL_LINK(OKHdl, void *); |