diff options
Diffstat (limited to 'canvas/source/tools/prioritybooster.cxx')
-rw-r--r-- | canvas/source/tools/prioritybooster.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/canvas/source/tools/prioritybooster.cxx b/canvas/source/tools/prioritybooster.cxx index 628a9f2853a0..4256965627f7 100644 --- a/canvas/source/tools/prioritybooster.cxx +++ b/canvas/source/tools/prioritybooster.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 @@ -30,7 +30,7 @@ #include "precompiled_canvas.hxx" -#ifdef WNT +#ifdef WNT # if defined _MSC_VER # pragma warning(push,1) # endif @@ -55,10 +55,10 @@ namespace canvas int mnOldPriority; }; - PriorityBooster::PriorityBooster( sal_Int32 nDelta ) : + PriorityBooster::PriorityBooster( sal_Int32 nDelta ) : mpImpl( new PriorityBooster_Impl ) { -#ifdef WNT +#ifdef WNT HANDLE aCurrThread = GetCurrentThread(); mpImpl->mnOldPriority = GetThreadPriority( aCurrThread ); @@ -74,8 +74,8 @@ namespace canvas PriorityBooster::~PriorityBooster() { -#ifdef WNT - SetThreadPriority( GetCurrentThread(), +#ifdef WNT + SetThreadPriority( GetCurrentThread(), mpImpl->mnOldPriority ); #endif } |