-Werror=int-in-bool-context (GCC 7)
Change-Id: I69f31a94f3e57b3488c576f8d8e0569f459a2117
This commit is contained in:
parent
85ccbb6f2e
commit
c65d6e9e5d
@ -73,7 +73,7 @@ void SfxPreviewWin_Impl::ImpPaint(vcl::RenderContext& rRenderContext, const Rect
|
||||
rRenderContext.DrawRect(Rectangle(Point(0,0), rRenderContext.GetOutputSize()));
|
||||
|
||||
Size aTmpSize = pFile ? pFile->GetPrefSize() : Size(1, 1);
|
||||
DBG_ASSERT(aTmpSize.Height() * aTmpSize.Width(), "size of first page is 0, override GetFirstPageSize or set vis-area!");
|
||||
DBG_ASSERT(aTmpSize.Height() != 0 && aTmpSize.Width() != 0, "size of first page is 0, override GetFirstPageSize or set vis-area!");
|
||||
|
||||
#define FRAME 4
|
||||
|
||||
|
@ -151,7 +151,7 @@ SfxObjectShell::CreatePreviewMetaFile_Impl( bool bFullContent ) const
|
||||
}
|
||||
|
||||
xFile->SetPrefSize( aTmpSize );
|
||||
DBG_ASSERT( aTmpSize.Height()*aTmpSize.Width(),
|
||||
DBG_ASSERT( aTmpSize.Height() != 0 && aTmpSize.Width() != 0,
|
||||
"size of first page is 0, override GetFirstPageSize or set vis-area!" );
|
||||
|
||||
xFile->Record( pDevice );
|
||||
|
Loading…
x
Reference in New Issue
Block a user