sd/source/ui/dlg/animobjs.cxx |    2 --
 sd/source/ui/inc/animobjs.hxx |    2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)

New commits:
commit be091490b6701f729dc991271a036a96967d4f0a
Author:     Noel Grandin <noelgran...@gmail.com>
AuthorDate: Wed Oct 9 20:29:21 2024 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Thu Oct 10 07:46:43 2024 +0200

    EMPTY_FRAMELIST can be constexpr
    
    Change-Id: I9b43ec53f9d808dd23f05b67248fe96435c649e8
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174748
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>

diff --git a/sd/source/ui/dlg/animobjs.cxx b/sd/source/ui/dlg/animobjs.cxx
index ed87f6ed4aca..56f9cc508626 100644
--- a/sd/source/ui/dlg/animobjs.cxx
+++ b/sd/source/ui/dlg/animobjs.cxx
@@ -116,8 +116,6 @@ void SdDisplay::SetDrawingArea(weld::DrawingArea* 
pDrawingArea)
     SetOutputSizePixel(aSize);
 }
 
-const size_t AnimationWindow::EMPTY_FRAMELIST = 
std::numeric_limits<size_t>::max();
-
 /**
  *  AnimationWindow - FloatingWindow
  */
diff --git a/sd/source/ui/inc/animobjs.hxx b/sd/source/ui/inc/animobjs.hxx
index b44a5fb3dc08..4797095aa6c6 100644
--- a/sd/source/ui/inc/animobjs.hxx
+++ b/sd/source/ui/inc/animobjs.hxx
@@ -112,7 +112,7 @@ private:
     std::unique_ptr<weld::Button> m_xBtnHelp;
 
     ::std::vector< ::std::pair<BitmapEx, ::tools::Time> > m_FrameList;
-    static const size_t EMPTY_FRAMELIST;
+    static constexpr size_t EMPTY_FRAMELIST = 
std::numeric_limits<size_t>::max();
     size_t          m_nCurrentFrame;
     std::unique_ptr<SdDrawDocument> pMyDoc;
 

Reply via email to