summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-01-10 16:27:14 +0100
committerNorbert Thiebaud <nthiebaud@gmail.com>2015-01-10 15:49:48 +0000
commit6280261ad37f25219c3f232724790f012372a7ef (patch)
tree927bb922a214534ecaa4ef1f8d3019f4e3b019f1
parentfix Werror build (diff)
downloadcore-6280261ad37f25219c3f232724790f012372a7ef.tar.gz
core-6280261ad37f25219c3f232724790f012372a7ef.zip
fix Mac build
Change-Id: Ie5a25da16753bd28df0514a831512e147de6a715 Reviewed-on: https://gerrit.libreoffice.org/13848 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
-rw-r--r--sd/source/ui/dlg/animobjs.cxx2
-rw-r--r--sd/source/ui/inc/animobjs.hxx2
2 files changed, 3 insertions, 1 deletions
diff --git a/sd/source/ui/dlg/animobjs.cxx b/sd/source/ui/dlg/animobjs.cxx
index 111b37c55e3c..65bc8d837f97 100644
--- a/sd/source/ui/dlg/animobjs.cxx
+++ b/sd/source/ui/dlg/animobjs.cxx
@@ -127,6 +127,8 @@ void SdDisplay::DataChanged( const DataChangedEvent& rDCEvt )
}
}
+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 0be13e4e332e..18548d038b20 100644
--- a/sd/source/ui/inc/animobjs.hxx
+++ b/sd/source/ui/inc/animobjs.hxx
@@ -132,7 +132,7 @@ private:
::Window* pWin;
::std::vector< ::std::pair<BitmapEx*, Time*> > m_FrameList;
- static const size_t EMPTY_FRAMELIST = std::numeric_limits<size_t>::max();
+ static size_t EMPTY_FRAMELIST;
size_t m_nCurrentFrame;
SdDrawDocument* pMyDoc;