summaryrefslogtreecommitdiff
path: root/vcl/ios
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-01-08 03:34:57 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-01-08 03:35:43 +0900
commitff580eb39b46646309feba447f6bf485124db6b1 (patch)
tree5dbea85aed84589c0c1bd9859f487b9af0df7558 /vcl/ios
parent5b031b4ea68df5ca210a5631c801414b476d8094 (diff)
catch exception by constant reference
Diffstat (limited to 'vcl/ios')
-rw-r--r--vcl/ios/source/gdi/salbmp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/ios/source/gdi/salbmp.cxx b/vcl/ios/source/gdi/salbmp.cxx
index a88299c70c26..5a7b1450079d 100644
--- a/vcl/ios/source/gdi/salbmp.cxx
+++ b/vcl/ios/source/gdi/salbmp.cxx
@@ -229,7 +229,7 @@ bool IosSalBitmap::CreateContext()
32, nContextBytesPerRow, maPalette, maContextBuffer.get(),
mnBits, mnBytesPerRow, maPalette, maUserBuffer.get() );
}
- catch( std::bad_alloc )
+ catch( const std::bad_alloc& )
{
mxGraphicContext = 0;
}