summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-20 09:00:42 +0200
committerNoel Grandin <noel@peralex.com>2015-04-22 10:28:40 +0200
commit24724aad8e24d0ef3006934a0de3f4b3f9bcd884 (patch)
tree0e92b6b358ddbd10b12e0e7a66bb88d78ae1bccd /sc
parent2d1c78e5335dee23f2ace23c7a90b56be201cd3d (diff)
convert GRFMGR_DRAW_ constants to scoped enum
Change-Id: Ie0b4cc1d2cfa740d0e260db52db635c3fe6b90b6
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/view/printfun.cxx2
1 files changed, 1 insertions, 1 deletions
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<int>( sqrt(sqrt( Abitmap)) + .5 ) ) );
}
else