summaryrefslogtreecommitdiff
path: root/sd/source/ui/dlg/vectdlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/dlg/vectdlg.cxx')
-rw-r--r--sd/source/ui/dlg/vectdlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/dlg/vectdlg.cxx b/sd/source/ui/dlg/vectdlg.cxx
index 066fe9d8a659..704a0f77862b 100644
--- a/sd/source/ui/dlg/vectdlg.cxx
+++ b/sd/source/ui/dlg/vectdlg.cxx
@@ -135,7 +135,7 @@ void SdVectorizeDlg::Calculate( Bitmap const & rBmp, GDIMetaFile& rMtf )
Fraction aScale;
Bitmap aTmp( GetPreparedBitmap( rBmp, aScale ) );
- if( !!aTmp )
+ if( !aTmp.IsEmpty() )
{
const Link<::tools::Long,void> aPrgsHdl( LINK( this, SdVectorizeDlg, ProgressHdl ) );
aTmp.Vectorize( rMtf, static_cast<sal_uInt8>(m_xMtReduce->get_value(FieldUnit::NONE)), &aPrgsHdl );