summaryrefslogtreecommitdiff
path: root/vcl/workben/outdevgrind.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/workben/outdevgrind.cxx')
-rw-r--r--vcl/workben/outdevgrind.cxx40
1 files changed, 20 insertions, 20 deletions
diff --git a/vcl/workben/outdevgrind.cxx b/vcl/workben/outdevgrind.cxx
index 18b5a19aa646..4d247dd6501f 100644
--- a/vcl/workben/outdevgrind.cxx
+++ b/vcl/workben/outdevgrind.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -115,7 +115,7 @@ void setupMethodStubs( functor_vector_type& res )
const Point aPt2(500,500);
const Point aPt3(0,0);
const Point aPt4(450,450);
-
+
const Rectangle aRect(aPt1,aPt2);
const Rectangle aRect2(aPt3,aPt4);
const Polygon aPoly(aRect);
@@ -421,7 +421,7 @@ void setupMethodStubs( functor_vector_type& res )
boost::bind(
(void (OutputDevice::*)( const Point&,
const Size&,
- const Point&,
+ const Point&,
const Size&,
const Bitmap& ))(
&OutputDevice::DrawBitmap),
@@ -437,7 +437,7 @@ void setupMethodStubs( functor_vector_type& res )
boost::bind(
(void (OutputDevice::*)( const Point&,
const Size&,
- const Point&,
+ const Point&,
const Size&,
const Bitmap& ))(
&OutputDevice::DrawBitmap),
@@ -553,7 +553,7 @@ void setupMethodStubs( functor_vector_type& res )
boost::bind(
(void (OutputDevice::*)( const Point&,
const Size&,
- const Point&,
+ const Point&,
const Size&,
const BitmapEx& ))(
&OutputDevice::DrawBitmapEx),
@@ -569,7 +569,7 @@ void setupMethodStubs( functor_vector_type& res )
boost::bind(
(void (OutputDevice::*)( const Point&,
const Size&,
- const Point&,
+ const Point&,
const Size&,
const BitmapEx& ))(
&OutputDevice::DrawBitmapEx),
@@ -585,7 +585,7 @@ void setupMethodStubs( functor_vector_type& res )
boost::bind(
(void (OutputDevice::*)( const Point&,
const Size&,
- const Point&,
+ const Point&,
const Size&,
const BitmapEx& ))(
&OutputDevice::DrawBitmapEx),
@@ -601,7 +601,7 @@ void setupMethodStubs( functor_vector_type& res )
boost::bind(
(void (OutputDevice::*)( const Point&,
const Size&,
- const Point&,
+ const Point&,
const Size&,
const BitmapEx& ))(
&OutputDevice::DrawBitmapEx),
@@ -671,7 +671,7 @@ void setupMethodStubs( functor_vector_type& res )
boost::bind(
(void (OutputDevice::*)( const Point&,
const Size&,
- const Point&,
+ const Point&,
const Size&,
const Bitmap&,
const Color& ))(
@@ -688,7 +688,7 @@ void setupMethodStubs( functor_vector_type& res )
boost::bind(
(void (OutputDevice::*)( const Point&,
const Size&,
- const Point&,
+ const Point&,
const Size&,
const Bitmap&,
const Color& ))(
@@ -703,7 +703,7 @@ void setupMethodStubs( functor_vector_type& res )
"DrawImage",
boost::bind(
(void (OutputDevice::*)( const Point&,
- const Image&,
+ const Image&,
USHORT nStyle ))(
&OutputDevice::DrawImage),
_1,
@@ -717,7 +717,7 @@ void setupMethodStubs( functor_vector_type& res )
boost::bind(
(void (OutputDevice::*)( const Point&,
const Size&,
- const Image&,
+ const Image&,
USHORT nStyle ))(
&OutputDevice::DrawImage),
_1,
@@ -774,7 +774,7 @@ void setupMethodStubs( functor_vector_type& res )
aRect,Size(10,20),GRID_HORZLINES|GRID_VERTLINES ));
/* void DrawTransparent( const PolyPolygon& rPolyPoly,
- USHORT nTransparencePercent );
+ USHORT nTransparencePercent );
*/
add(res,
"DrawTransparent",
@@ -792,7 +792,7 @@ void setupMethodStubs( functor_vector_type& res )
"DrawTransparent(metafile)",
boost::bind(
(void (OutputDevice::*)( const GDIMetaFile&,
- const Point&,
+ const Point&,
const Size&,
const Gradient& ))(
&OutputDevice::DrawTransparent),
@@ -810,9 +810,9 @@ void setupMethodStubs( functor_vector_type& res )
//----------------------------------------------------------------------------------
-void grindFunc( OutputDevice& rTarget,
+void grindFunc( OutputDevice& rTarget,
functor_vector_type::const_iterator iter,
- sal_Int32 nTurns,
+ sal_Int32 nTurns,
const char* pMsg )
{
const sal_uInt32 nStartTime( osl_getGlobalTimer() );
@@ -823,7 +823,7 @@ void grindFunc( OutputDevice& rTarget,
if( rTarget.GetOutDevType() == OUTDEV_WINDOW )
static_cast<Window&>(rTarget).Sync();
- fprintf( stdout,
+ fprintf( stdout,
"Duration: %d ms (%d repetitions)\tOperation: %s\tSetup: %s\n",
(int)(osl_getGlobalTimer() - nStartTime),
(int)(nTurns),
@@ -908,7 +908,7 @@ USHORT GrindApp::Exception( USHORT nError )
switch( nError & EXC_MAJORTYPE )
{
case EXC_RSCNOTLOADED:
- Abort( String::CreateFromAscii(
+ Abort( String::CreateFromAscii(
"Error: could not load language resources.\nPlease check your installation.\n" ) );
break;
}
@@ -941,7 +941,7 @@ void GrindApp::Main()
try
{
uno::Reference< uno::XComponentContext > xCtx = ::cppu::defaultBootstrap_InitialComponentContext();
- xFactory = uno::Reference< lang::XMultiServiceFactory >( xCtx->getServiceManager(),
+ xFactory = uno::Reference< lang::XMultiServiceFactory >( xCtx->getServiceManager(),
uno::UNO_QUERY );
if( xFactory.is() )
::comphelper::setProcessServiceFactory( xFactory );
@@ -952,7 +952,7 @@ void GrindApp::Main()
if( !xFactory.is() )
{
- fprintf( stderr,
+ fprintf( stderr,
"Could not bootstrap UNO, installation must be in disorder. Exiting.\n" );
exit( 1 );
}