[Libreoffice-commits] core.git: include/svx sw/source

Miklos Vajna (via logerrit) logerrit at kemper.freedesktop.org
Wed Jun 17 07:05:11 UTC 2020


 include/svx/flagsdef.hxx        |    1 -
 sw/source/ui/chrdlg/chardlg.cxx |    4 ++--
 sw/source/ui/fmtui/tmpdlg.cxx   |    2 +-
 3 files changed, 3 insertions(+), 4 deletions(-)

New commits:
commit 3942ee4399f5577a7d04b5b89bf178be5bf29dee
Author:     Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Tue Jun 16 21:07:51 2020 +0200
Commit:     Miklos Vajna <vmiklos at collabora.com>
CommitDate: Wed Jun 17 09:04:33 2020 +0200

    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 at collabora.com>

diff --git a/include/svx/flagsdef.hxx b/include/svx/flagsdef.hxx
index 750e5c9326fc..93b1397442d3 100644
--- a/include/svx/flagsdef.hxx
+++ b/include/svx/flagsdef.hxx
@@ -66,7 +66,6 @@ namespace o3tl
 // flags for SvxCharNamePage
 #define SVX_RELATIVE_MODE       0x02
 // flags for SvxCharEffectsPage
-#define SVX_ENABLE_FLASH    0x04
 #define SVX_ENABLE_CHAR_TRANSPARENCY 0x08
 
 
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));


More information about the Libreoffice-commits mailing list