t4 is always true, probably some debugging thing
Change-Id: I8038174c64d2ed5eb3cae503dbde49be96dd7d5c
This commit is contained in:
parent
d4fb3b42b8
commit
850b4ce041
1 changed files with 0 additions and 3 deletions
|
@ -122,13 +122,10 @@ void OSectionWindow::_propertyChanged(const beans::PropertyChangeEvent& _rEvent)
|
||||||
const uno::Reference< report::XSection> xCurrentSection = m_aReportSection.getSection();
|
const uno::Reference< report::XSection> xCurrentSection = m_aReportSection.getSection();
|
||||||
if ( _rEvent.PropertyName.equals(PROPERTY_HEIGHT) )
|
if ( _rEvent.PropertyName.equals(PROPERTY_HEIGHT) )
|
||||||
{
|
{
|
||||||
static bool t4 = true;
|
|
||||||
if ( t4 )
|
|
||||||
m_pParent->getView()->SetUpdateMode(sal_False);
|
m_pParent->getView()->SetUpdateMode(sal_False);
|
||||||
//Resize();
|
//Resize();
|
||||||
m_pParent->getView()->notifySizeChanged();
|
m_pParent->getView()->notifySizeChanged();
|
||||||
m_pParent->resize(*this);
|
m_pParent->resize(*this);
|
||||||
if ( t4 )
|
|
||||||
m_pParent->getView()->SetUpdateMode(sal_True);
|
m_pParent->getView()->SetUpdateMode(sal_True);
|
||||||
// getViewsWindow()->getView()->getReportView()->getController().resetZoomType();
|
// getViewsWindow()->getView()->getReportView()->getController().resetZoomType();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue