diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2020-06-16 21:07:51 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2020-06-17 09:04:33 +0200 |
commit | 3942ee4399f5577a7d04b5b89bf178be5bf29dee (patch) | |
tree | c89c385929c025e809ab0be7742b0868bea898e8 /sw | |
parent | c3cf3e908add6b6617eb0ee12385fbd8a70a9887 (diff) |
svx: SVX_ENABLE_FLASH is now unused
It was read by the Writer character blinking UI, which is gone.
Change-Id: I97114f0fcfca02e1b2ff53f613d2d78619262f9f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96478
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/chrdlg/chardlg.cxx | 4 | ||||
-rw-r--r-- | sw/source/ui/fmtui/tmpdlg.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/chrdlg/chardlg.cxx b/sw/source/ui/chrdlg/chardlg.cxx index 5e89cfdaa3e4..692c835ec89f 100644 --- a/sw/source/ui/chrdlg/chardlg.cxx +++ b/sw/source/ui/chrdlg/chardlg.cxx @@ -111,8 +111,8 @@ void SwCharDlg::PageCreated(const OString& rId, SfxTabPage &rPage) } else if (rId == "fonteffects") { - aSet.Put(SfxUInt32Item(SID_FLAG_TYPE, SVX_PREVIEW_CHARACTER | SVX_ENABLE_FLASH - | SVX_ENABLE_CHAR_TRANSPARENCY)); + aSet.Put( + SfxUInt32Item(SID_FLAG_TYPE, SVX_PREVIEW_CHARACTER | SVX_ENABLE_CHAR_TRANSPARENCY)); rPage.PageCreated(aSet); } else if (rId == "position") diff --git a/sw/source/ui/fmtui/tmpdlg.cxx b/sw/source/ui/fmtui/tmpdlg.cxx index c040ad925afc..b66956d824c3 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 | SVX_ENABLE_CHAR_TRANSPARENCY; + sal_uInt32 nFlags = SVX_ENABLE_CHAR_TRANSPARENCY; if( SfxStyleFamily::Char == nType ) nFlags = nFlags|SVX_PREVIEW_CHARACTER; aSet.Put (SfxUInt32Item(SID_FLAG_TYPE, nFlags)); |