summaryrefslogtreecommitdiff
path: root/sw/inc/hints.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-01-22 11:09:20 +0200
committerMichael Stahl <Michael.Stahl@cib.de>2019-01-23 12:55:28 +0100
commit39d6804454f60fb9ba442f85a0487898dfe68e69 (patch)
tree0b25c479ed092d0f77e240d46833edd354ea7b04 /sw/inc/hints.hxx
parent82c1ff5177a0d182702151fba9c4256939c1322e (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> (cherry picked from commit f9fe988b7f463bc221dd3b67dcf0ed39309f921a) Reviewed-on: https://gerrit.libreoffice.org/66780 Reviewed-by: Michael Stahl <Michael.Stahl@cib.de> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/hints.hxx')
-rw-r--r--sw/inc/hints.hxx7
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.