diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-01-22 11:09:20 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-01-22 12:58:29 +0100 |
commit | f9fe988b7f463bc221dd3b67dcf0ed39309f921a (patch) | |
tree | dce6a289a49aac2cdbff0a90a07fcc315bb74175 /sw/inc/hints.hxx | |
parent | ce61c4952e7e6d8528c97d3defb9edfc25cf7ce7 (diff) |
tdf#117935 Accessible text-attributes-changed signals...
... should only be emitted when the text attributes have changed [a11y]
second attempt.
This appears to have begin at
commit 7d9bb549d498d6beed2c4050c402d09643febdfa
Date: Mon Jun 2 15:00:50 2014 +0000
Related: #i124638# Second step of DrawingLayer FillAttributes...
Which accidentally removed the aWhichSublist param from the SwUpdateAttr
constructor in SwpHints::TryInsertHint.
Change-Id: If435ea71e8d84e0d8497cd7106cfdbebcc6af7a0
Reviewed-on: https://gerrit.libreoffice.org/66719
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/hints.hxx')
-rw-r--r-- | sw/inc/hints.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sw/inc/hints.hxx b/sw/inc/hints.hxx index 2519cf4700a9..984747dcf368 100644 --- a/sw/inc/hints.hxx +++ b/sw/inc/hints.hxx @@ -136,9 +136,11 @@ private: sal_Int32 const m_nStart; sal_Int32 const m_nEnd; sal_uInt16 const m_nWhichAttr; + std::vector<sal_uInt16> m_aWhichFmtAttrs; // attributes changed inside RES_TXTATR_AUTOFMT public: SwUpdateAttr( sal_Int32 nS, sal_Int32 nE, sal_uInt16 nW ); + SwUpdateAttr( sal_Int32 nS, sal_Int32 nE, sal_uInt16 nW, std::vector<sal_uInt16> aW ); sal_Int32 getStart() const { @@ -154,6 +156,11 @@ public: { return m_nWhichAttr; } + + const std::vector<sal_uInt16>& getFmtAttrs() const + { + return m_aWhichFmtAttrs; + } }; /** SwRefMarkFieldUpdate is sent when the referencemarks should be updated. |