summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-01-10 16:27:14 +0100
committerAndras Timar <andras.timar@collabora.com>2015-01-12 09:22:52 +0100
commit5a7e304e594141b68dcd2965c7507520bf6cacbe (patch)
tree6fb886a869f4123f56bca8d3a631618a6f40576f /sd
parentc47b603b97e3ead3d651fe0327118dd1e7fa2205 (diff)
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> (cherry picked from commit 6280261ad37f25219c3f232724790f012372a7ef)
Diffstat (limited to 'sd')
-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;