summaryrefslogtreecommitdiff
path: root/sd/source/ui
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui')
-rw-r--r--sd/source/ui/dlg/animobjs.cxx2
-rw-r--r--sd/source/ui/inc/animobjs.hxx2
2 files changed, 1 insertions, 3 deletions
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;