diff options
author | Mihai Varga <mihai.varga@collabora.com> | 2015-10-29 16:28:37 +0200 |
---|---|---|
committer | Mihai Varga <mihai.mv13@gmail.com> | 2015-10-29 16:34:06 +0200 |
commit | 3d2b18294495a83b2b60764ee84595d6df74c6c5 (patch) | |
tree | 6277cd768e75b5a5827ff96df37865905fe017a0 /sfx2 | |
parent | 88233b3869d0dd84c1015dfd87deed71a0853dab (diff) |
LOK: font/back color feedback
This is used to know the current font/back color
Change-Id: Ic524fcb5c26e1c15ec9c50b2879465152ac8ee34
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/control/unoctitm.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx index bb5d6720029f..843e93d4feae 100644 --- a/sfx2/source/control/unoctitm.cxx +++ b/sfx2/source/control/unoctitm.cxx @@ -1100,6 +1100,13 @@ void SfxDispatchController_Impl::InterceptLOKStateChangeEvent(const SfxObjectShe aEvent.State >>= aTemplate; aBuffer.append(aTemplate.StyleName); } + else if (aEvent.FeatureURL.Path == "FontColor" || + aEvent.FeatureURL.Path == "BackColor") + { + long nColor; + aEvent.State >>= nColor; + aBuffer.append(nColor); + } else { return; |