include/oox/mathml/imexport.hxx |    2 +-
 starmath/source/ooxmlexport.cxx |    2 --
 sw/inc/hints.hxx                |    2 +-
 3 files changed, 2 insertions(+), 4 deletions(-)

New commits:
commit 78dc5a38048d0fc8bcabc9e48520578d618176fa
Author:     Noel Grandin <noel.gran...@collabora.co.uk>
AuthorDate: Wed Jul 5 12:20:00 2023 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Thu Jul 6 11:09:10 2023 +0200

    GROUPEDCENTER constant is unused
    
    added in
        commit 46695f3d66cc77b38865c1817b09d95e9c4b6683
        Author: Attila Bakos <bakos.attilakar...@nisz.hu>
        Date:   Thu May 7 17:23:48 2020 +0200
        tdf#133030: DOCX export: fix formula alignment - part 3
    but unused even then?
    
    Change-Id: If21f9c68c1e7951ef7123f88d98ec823fbbc6864
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154029
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>

diff --git a/include/oox/mathml/imexport.hxx b/include/oox/mathml/imexport.hxx
index a93216fb1199..2a8306c52963 100644
--- a/include/oox/mathml/imexport.hxx
+++ b/include/oox/mathml/imexport.hxx
@@ -41,7 +41,7 @@ public:
             oox::core::OoxmlVersion version,
             oox::drawingml::DocumentType documentType, sal_Int8 nAlign) = 0;
     virtual void writeFormulaRtf( OStringBuffer& rBuffer, rtl_TextEncoding 
nEncoding ) = 0;
-    enum eFormulaAlign { INLINE, CENTER, GROUPEDCENTER, LEFT, RIGHT };
+    enum eFormulaAlign { INLINE, CENTER, LEFT, RIGHT };
 
 protected:
     FormulaImExportBase();
diff --git a/starmath/source/ooxmlexport.cxx b/starmath/source/ooxmlexport.cxx
index fd3a9498a681..2956dd9a8142 100644
--- a/starmath/source/ooxmlexport.cxx
+++ b/starmath/source/ooxmlexport.cxx
@@ -57,8 +57,6 @@ void SmOoxmlExport::ConvertFromStarMath( const 
::sax_fastparser::FSHelperPtr& se
         m_pSerializer->startElementNS(XML_m, XML_oMathParaPr);
         if (nAlign == FormulaImExportBase::eFormulaAlign::CENTER)
             m_pSerializer->singleElementNS(XML_m, XML_jc, FSNS(XML_m, 
XML_val), "center");
-        if (nAlign == FormulaImExportBase::eFormulaAlign::GROUPEDCENTER)
-            m_pSerializer->singleElementNS(XML_m, XML_jc, FSNS(XML_m, 
XML_val), "center");
         if (nAlign == FormulaImExportBase::eFormulaAlign::LEFT)
             m_pSerializer->singleElementNS(XML_m, XML_jc, FSNS(XML_m, 
XML_val), "left");
         if (nAlign == FormulaImExportBase::eFormulaAlign::RIGHT)
commit 080bc640358aad36d93a02fe51b922eec994cfe7
Author:     Noel Grandin <noel.gran...@collabora.co.uk>
AuthorDate: Wed Jul 5 13:26:08 2023 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Thu Jul 6 11:08:56 2023 +0200

    fix bug in "Replace RES_NAME_CHANGED with an SfxHint for stronger typing"
    
    where
    
        commit f48cb25a914902d92bd109eff86ec3b6d26ba9c3
        Author: Bjoern Michaelsen <bjoern.michael...@libreoffice.org>
        Date:   Thu Sep 15 00:34:50 2022 +0200
    
    added a new constant SfxHintId::SwNameChanged and then used it in some
    places, but not others
    
    Change-Id: Id9fa07a1d5fe07a3ac8a74d9d32b9bfe8e6c38e8
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154054
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>

diff --git a/sw/inc/hints.hxx b/sw/inc/hints.hxx
index 63d8210ef1b4..46a3c586771f 100644
--- a/sw/inc/hints.hxx
+++ b/sw/inc/hints.hxx
@@ -236,7 +236,7 @@ class NameChanged final : public SfxHint
 public:
     const OUString m_sOld;
     const OUString m_sNew;
-    NameChanged(const OUString& rOld, const OUString& rNew) : 
SfxHint(SfxHintId::NameChanged), m_sOld(rOld), m_sNew(rNew) {};
+    NameChanged(const OUString& rOld, const OUString& rNew) : 
SfxHint(SfxHintId::SwNameChanged), m_sOld(rOld), m_sNew(rNew) {};
 };
 class TitleChanged final : public SfxHint
 {

Reply via email to