diff options
author | Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de> | 2021-11-30 23:34:11 +0100 |
---|---|---|
committer | Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de> | 2021-12-06 14:11:44 +0100 |
commit | b9362e87a3646a6693b81fb0d40e28ce7813a251 (patch) | |
tree | 38bd07bc0ff06cdb8e4bc0a0483400d61371d053 /include | |
parent | 8368f48df8d67f6c712534647f4d375bf219ae99 (diff) |
tdf#145671 Don't open URL twice in cell edit mode
Change-Id: I8a324d6a037c8a5c0efc0b2825657513c2f9841c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126159
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/editeng/editeng.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/editeng/editeng.hxx b/include/editeng/editeng.hxx index fb109d7baa53..560f3be1a83a 100644 --- a/include/editeng/editeng.hxx +++ b/include/editeng/editeng.hxx @@ -516,7 +516,8 @@ public: const Color& rTextLineColor); virtual OUString GetUndoComment( sal_uInt16 nUndoId ) const; virtual bool SpellNextDocument(); - virtual void FieldClicked( const SvxFieldItem& rField ); + /** @return true, when click was consumed. false otherwise. */ + virtual bool FieldClicked( const SvxFieldItem& rField ); virtual OUString CalcFieldValue( const SvxFieldItem& rField, sal_Int32 nPara, sal_Int32 nPos, std::optional<Color>& rTxtColor, std::optional<Color>& rFldColor ); // override this if access to bullet information needs to be provided |