diff options
author | Rüdiger Timm <rt@openoffice.org> | 2004-09-20 12:32:31 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2004-09-20 12:32:31 +0000 |
commit | ee978b0231c702a6c90d52ac6d7d0f6f70586f3d (patch) | |
tree | 4aad2770f5148216425b5b4505bd848ce0dc5d74 /sd/source/ui/slidesorter/cache/SlsGenericPageCache.hxx | |
parent | a3891a3a6b5300b07b868d9f1cb68f3f511605bf (diff) |
INTEGRATION: CWS impress21ea (1.2.60); FILE MERGED
2004/08/26 11:11:56 af 1.2.60.1: #i32627# Code cleanup.
Diffstat (limited to 'sd/source/ui/slidesorter/cache/SlsGenericPageCache.hxx')
-rw-r--r-- | sd/source/ui/slidesorter/cache/SlsGenericPageCache.hxx | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/sd/source/ui/slidesorter/cache/SlsGenericPageCache.hxx b/sd/source/ui/slidesorter/cache/SlsGenericPageCache.hxx index c20450f53a3e..4506b82dca87 100644 --- a/sd/source/ui/slidesorter/cache/SlsGenericPageCache.hxx +++ b/sd/source/ui/slidesorter/cache/SlsGenericPageCache.hxx @@ -2,9 +2,9 @@ * * $RCSfile: SlsGenericPageCache.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: rt $ $Date: 2004-07-13 14:10:17 $ + * last change: $Author: rt $ $Date: 2004-09-20 13:32:31 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -63,7 +63,6 @@ #define SD_SLIDESORTER_GENERIC_PAGE_CACHE_HXX #include "SlsQueueProcessor.hxx" -#include "SlsPreviewBitmapFactory.hxx" #include "view/SlsPageObjectViewObjectContact.hxx" @@ -262,12 +261,12 @@ BitmapEx GenericPageCache< Size aBitmapSize (aPreview.GetSizePixel()); if (aBitmapSize != rSize) { - OSL_ASSERT (rSize.Width() < 1000); - // The bitmap has the wrong size. + DBG_ASSERT (rSize.Width() < 1000, + "GenericPageCache<>::GetPreviewBitmap(): bitmap requested with large width. This may indicate an error."); // Scale the bitmap to the desired size when that is possible, // i.e. the bitmap is not empty. - if (aBitmapSize.Width() != 0 && aBitmapSize.Height()) + if (aBitmapSize.Width()>0 && aBitmapSize.Height()>0) // BMP_SCALE_NONE 0x00000000UL // BMP_SCALE_FAST 0x00000001UL // BMP_SCALE_INTERPOLATE 0x00000002UL |