summaryrefslogtreecommitdiffstats
path: root/sd/source
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/ui/dlg/animobjs.cxx3
-rw-r--r--sd/source/ui/inc/animobjs.hxx2
2 files changed, 4 insertions, 1 deletions
diff --git a/sd/source/ui/dlg/animobjs.cxx b/sd/source/ui/dlg/animobjs.cxx
index 96375d2394c4..2003ca4f56b0 100644
--- a/sd/source/ui/dlg/animobjs.cxx
+++ b/sd/source/ui/dlg/animobjs.cxx
@@ -121,6 +121,9 @@ void SdDisplay::DataChanged( const DataChangedEvent& rDCEvt )
/**
* AnimationWindow - FloatingWindow
*/
+
+const size_t AnimationWindow::EMPTY_FRAMELIST = std::numeric_limits<size_t>::max();
+
AnimationWindow::AnimationWindow( SfxBindings* pInBindings,
SfxChildWindow *pCW, vcl::Window* pParent, const SdResId& rSdResId ) :
SfxDockingWindow ( pInBindings, pCW, pParent, rSdResId ),
diff --git a/sd/source/ui/inc/animobjs.hxx b/sd/source/ui/inc/animobjs.hxx
index 44654b1c7e9f..3afd1bff5355 100644
--- a/sd/source/ui/inc/animobjs.hxx
+++ b/sd/source/ui/inc/animobjs.hxx
@@ -125,7 +125,7 @@ private:
vcl::Window* pWin;
::std::vector< ::std::pair<BitmapEx*, ::tools::Time*> > m_FrameList;
- static const size_t EMPTY_FRAMELIST = std::numeric_limits<size_t>::max();
+ static const size_t EMPTY_FRAMELIST;
size_t m_nCurrentFrame;
SdDrawDocument* pMyDoc;