No changes, just remove an unused variable.

Get rid of the g++ warning about it.
This commit is contained in:
Vadim Zeitlin
2015-05-24 02:00:34 +02:00
parent 982ebc8741
commit 5a9ce576a2

View File

@@ -2407,7 +2407,6 @@ bool wxRichTextParagraphLayoutBox::Layout(wxDC& dc, wxRichTextDrawingContext& co
// Check the bottom edge of any floating object
if (wxRichTextBuffer::GetFloatingLayoutMode() && GetFloatCollector() && GetFloatCollector()->HasFloats())
{
int bottom = GetFloatCollector()->GetLastRectBottom();
// The floating objects are positioned relative to entire buffer, not this box
int maxFloatHeight = GetFloatCollector()->GetLastRectBottom() - GetPosition().y - topMargin;
if (maxFloatHeight > maxHeight)