summaryrefslogtreecommitdiff
path: root/vcl/test/canvasbitmaptest.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/test/canvasbitmaptest.cxx')
-rw-r--r--vcl/test/canvasbitmaptest.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/test/canvasbitmaptest.cxx b/vcl/test/canvasbitmaptest.cxx
index 66e68c10a93e..9f753ff44923 100644
--- a/vcl/test/canvasbitmaptest.cxx
+++ b/vcl/test/canvasbitmaptest.cxx
@@ -877,7 +877,7 @@ void TestWindow::Paint( const Rectangle& )
// Testing VclCanvasBitmap wrapper
// ===============================
- for( unsigned int i=0; i<sizeof(lcl_depths)/sizeof(*lcl_depths); ++i )
+ for( unsigned int i=0; i<SAL_N_ELEMENTS(lcl_depths); ++i )
{
const sal_Int8 nDepth( lcl_depths[i] );
Bitmap aBitmap(Size(200,200),nDepth);