const_cast: convert some C-style casts and remove some redundant ones
Change-Id: I54b59f527e1e31e1949c1a0a52b0d8c603484cce
This commit is contained in:
@@ -288,7 +288,7 @@ namespace drawinglayer
|
||||
// at them. This is an error, but we need to work around this
|
||||
const Size aMetaFilePrefSize(rMetafile.GetPrefSize());
|
||||
const Size aMetaFileRealSize(
|
||||
const_cast< GDIMetaFile& >(rMetafile).GetBoundRect(
|
||||
rMetafile.GetBoundRect(
|
||||
*Application::GetDefaultDevice()).GetSize());
|
||||
|
||||
if(aMetaFileRealSize.getWidth() > aMetaFilePrefSize.getWidth()
|
||||
|
Reference in New Issue
Block a user