summaryrefslogtreecommitdiff
path: root/sd/source/ui/dlg/animobjs.cxx
diff options
context:
space:
mode:
authorHans-Joachim Lankenau <hjs@openoffice.org>2000-11-07 10:17:26 +0000
committerHans-Joachim Lankenau <hjs@openoffice.org>2000-11-07 10:17:26 +0000
commit8e240f7ad574289db04d3a4bba03e7f8802902f5 (patch)
tree62909b06af207c5d1e93ae6277c9a1ac4de8d64c /sd/source/ui/dlg/animobjs.cxx
parente36e8f7a2a2090227b4e1b9b5e6305c275bb74ec (diff)
use min/max from stl
Diffstat (limited to 'sd/source/ui/dlg/animobjs.cxx')
-rw-r--r--sd/source/ui/dlg/animobjs.cxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/sd/source/ui/dlg/animobjs.cxx b/sd/source/ui/dlg/animobjs.cxx
index c44ae0760526..64d43b322481 100644
--- a/sd/source/ui/dlg/animobjs.cxx
+++ b/sd/source/ui/dlg/animobjs.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: animobjs.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: ka $ $Date: 2000-09-21 16:11:35 $
+ * last change: $Author: hjs $ $Date: 2000-11-07 11:17:26 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -59,6 +59,9 @@
*
************************************************************************/
+#include <string>
+#include <algorithm>
+
#ifndef _COM_SUN_STAR_PRESENTATION_ANIMATIONEFFECT_HPP_
#include <com/sun/star/presentation/AnimationEffect.hpp>
#endif
@@ -727,7 +730,7 @@ Fraction SdAnimationWin::GetScale()
aBmpSize.Width() += 10;
aBmpSize.Height() += 10;
- aFrac = Fraction( min( (double)aDisplaySize.Width() / (double)aBmpSize.Width(),
+ aFrac = Fraction( std::min( (double)aDisplaySize.Width() / (double)aBmpSize.Width(),
(double)aDisplaySize.Height() / (double)aBmpSize.Height() ) );
}
// Liste wieder auf alten Stand bringen