summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/dialog/infobar.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sfx2/source/dialog/infobar.cxx b/sfx2/source/dialog/infobar.cxx
index 82c2c3a56cea..e14b8bba8209 100644
--- a/sfx2/source/dialog/infobar.cxx
+++ b/sfx2/source/dialog/infobar.cxx
@@ -251,6 +251,7 @@ void SfxInfoBarContainerWindow::appendInfoBar( const OUString& sId, const OUStri
SfxInfoBarWindow* pInfoBar = new SfxInfoBarWindow( this, sId, sMessage, aButtons );
pInfoBar->SetPosPixel( Point( 0, aSize.getHeight( ) ) );
pInfoBar->Show( );
+ m_pInfoBars.push_back( pInfoBar );
long nHeight = pInfoBar->GetSizePixel( ).getHeight( );
aSize.setHeight( aSize.getHeight() + nHeight );