t4 is always true, probably some debugging thing

Change-Id: I8038174c64d2ed5eb3cae503dbde49be96dd7d5c
This commit is contained in:
Caolán McNamara 2012-10-27 16:17:08 +01:00
parent d4fb3b42b8
commit 850b4ce041

View file

@ -122,13 +122,10 @@ void OSectionWindow::_propertyChanged(const beans::PropertyChangeEvent& _rEvent)
const uno::Reference< report::XSection> xCurrentSection = m_aReportSection.getSection();
if ( _rEvent.PropertyName.equals(PROPERTY_HEIGHT) )
{
static bool t4 = true;
if ( t4 )
m_pParent->getView()->SetUpdateMode(sal_False);
//Resize();
m_pParent->getView()->notifySizeChanged();
m_pParent->resize(*this);
if ( t4 )
m_pParent->getView()->SetUpdateMode(sal_True);
// getViewsWindow()->getView()->getReportView()->getController().resetZoomType();
}