Tag: cws_dev300_odbmacros3 User: fs Date: 2008-04-21 21:21:59+0000 Modified: dba/dbaccess/source/ext/macromigration/macromigrationpages.cxx
Log: slight changes in how the progress is displayed File Changes: Directory: /dba/dbaccess/source/ext/macromigration/ =================================================== File [changed]: macromigrationpages.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ext/macromigration/macromigrationpages.cxx?r1=1.3&r2=1.3.2.1 Delta lines: +7 -4 ------------------- --- macromigrationpages.cxx 2008-04-10 13:13:36+0000 1.3 +++ macromigrationpages.cxx 2008-04-21 21:21:56+0000 1.3.2.1 @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: macromigrationpages.cxx,v $ - * $Revision: 1.3 $ + * $Revision: 1.3.2.1 $ * * This file is part of OpenOffice.org. * @@ -252,6 +252,8 @@ // since this is currently called from the main thread, which does not have the chance // to re-schedule, we need to explicitly update the display + m_aCurrentObject.Update(); + m_aCurrentAction.Update(); Update(); } @@ -259,6 +261,7 @@ void ProgressPage::setObjectProgressText( const ::rtl::OUString& _rText ) { m_aCurrentAction.SetText( _rText ); + m_aCurrentAction.Update(); Update(); } @@ -272,9 +275,9 @@ //-------------------------------------------------------------------- void ProgressPage::endObject() { - m_aCurrentObject.SetText( String() ); m_aCurrentAction.SetText( String() ); - m_aCurrentProgress.SetValue( (sal_uInt32)0 ); + m_aCurrentProgress.SetValue( m_aCurrentProgress.GetRange() ); + m_aCurrentAction.Update(); Update(); } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
