Commits

sj  committed 2622797

impress186: #i4499# fixed compile error

  • Participants
  • Parent commits c07a65f

Comments (0)

Files changed (1)

File svtools/source/filter.vcl/filter/exportdialog.cxx

 		Size aSize;
 		if ( fXRatio > 1.0 )
 		{
-			aSize.Width() =  ::std::max( maSize.Width, aFixedBitmapSize.Width() );
+			aSize.Width() =  maSize.Width > aFixedBitmapSize.Width() ? maSize.Width : aFixedBitmapSize.Width();
 			aSize.Width() /= fXRatio;
 		}
 		else
 		{
-			aSize.Width() =  ::std::min( maSize.Width, aFixedBitmapSize.Width() );
+			aSize.Width() =  maSize.Width < aFixedBitmapSize.Width() ? maSize.Width : aFixedBitmapSize.Width();
 			aSize.Width() /= fXRatio;
 		}
 
 		if ( fYRatio > 1.0 )
 		{
-			aSize.Height() =  ::std::max( maSize.Height, aFixedBitmapSize.Height() );
+			aSize.Height() =  maSize.Height > aFixedBitmapSize.Height() ? maSize.Height : aFixedBitmapSize.Height();
 			aSize.Height() /= fYRatio;
 		}
 		else
 		{
-			aSize.Height() =  ::std::min( maSize.Height, aFixedBitmapSize.Height() );
+			aSize.Height() =  maSize.Height < aFixedBitmapSize.Height() ? maSize.Height : aFixedBitmapSize.Height();
 			aSize.Height() /= fYRatio;
 		}