From 24724aad8e24d0ef3006934a0de3f4b3f9bcd884 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 20 Apr 2015 09:00:42 +0200 Subject: convert GRFMGR_DRAW_ constants to scoped enum Change-Id: Ie0b4cc1d2cfa740d0e260db52db635c3fe6b90b6 --- sc/source/ui/view/printfun.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc') diff --git a/sc/source/ui/view/printfun.cxx b/sc/source/ui/view/printfun.cxx index 9db4ecced79d..55bfb1d6b5a9 100644 --- a/sc/source/ui/view/printfun.cxx +++ b/sc/source/ui/view/printfun.cxx @@ -1188,7 +1188,7 @@ static void lcl_DrawGraphic( const SvxBrushItem &rBrush, OutputDevice *pOut, Out const double Abitmap( k1/k2 * aSize.Width()*aSize.Height() ); aObject.DrawTiled( pOut, rOrg, aGrfSize, Size(0,0), - NULL, GRFMGR_DRAW_STANDARD, + NULL, GraphicManagerDrawFlags::STANDARD, ::std::max( 128, static_cast( sqrt(sqrt( Abitmap)) + .5 ) ) ); } else -- cgit