summaryrefslogtreecommitdiff
path: root/sw/source/ui/fmtui
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2020-05-25 21:03:56 +0200
committerMiklos Vajna <vmiklos@collabora.com>2020-05-26 10:20:19 +0200
commit5202771939da66ac85ca3221d69e7e5f5cca8da7 (patch)
tree359bb6779ea73240ab4b391fb288c376ff3e17fa /sw/source/ui/fmtui
parent983db96a17630be906b868d2be811663f0d846f6 (diff)
tdf#130456 sw: enable semi-transparent text for char style dialog
The code is shared, so this fixed the para style dialog as well. Change-Id: I742231bf76c562b3255700fc4eeb4c870c3deb6b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94805 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'sw/source/ui/fmtui')
-rw-r--r--sw/source/ui/fmtui/tmpdlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/fmtui/tmpdlg.cxx b/sw/source/ui/fmtui/tmpdlg.cxx
index b9914d319ac4..c040ad925afc 100644
--- a/sw/source/ui/fmtui/tmpdlg.cxx
+++ b/sw/source/ui/fmtui/tmpdlg.cxx
@@ -282,7 +282,7 @@ void SwTemplateDlgController::PageCreated(const OString& rId, SfxTabPage &rPage
}
else if (rId == "fonteffect")
{
- sal_uInt32 nFlags = SVX_ENABLE_FLASH;
+ sal_uInt32 nFlags = SVX_ENABLE_FLASH | SVX_ENABLE_CHAR_TRANSPARENCY;
if( SfxStyleFamily::Char == nType )
nFlags = nFlags|SVX_PREVIEW_CHARACTER;
aSet.Put (SfxUInt32Item(SID_FLAG_TYPE, nFlags));