[Libreoffice-commits] .: 2 commits - basctl/source sc/source
Noel Power
noelp at kemper.freedesktop.org
Thu Aug 2 11:24:45 PDT 2012
basctl/source/basicide/baside2b.cxx | 1 +
sc/source/filter/excel/excdoc.cxx | 8 +++-----
2 files changed, 4 insertions(+), 5 deletions(-)
New commits:
commit 285a5ae06cf51927c2df4b47043e51394aab98b7
Author: Noel Power <noel.power at novell.com>
Date: Thu Aug 2 19:24:00 2012 +0100
new fix for fdo#47907
Change-Id: Icc5e90ac40056430bfbe36d8da1aaad8716cfee9
diff --git a/sc/source/filter/excel/excdoc.cxx b/sc/source/filter/excel/excdoc.cxx
index bf189bf..e83c119 100644
--- a/sc/source/filter/excel/excdoc.cxx
+++ b/sc/source/filter/excel/excdoc.cxx
@@ -510,7 +510,7 @@ void ExcTable::FillAsTable( SCTAB nCodeNameIdx )
}
// list of NOTE records, generated by the cell table
- aRecList.AppendRecord( mxCellTable->CreateRecord( EXC_ID_NOTE ) );
+ aRecList.AppendRecord( mxNoteList );
// sheet view settings: WINDOW2, SCL, PANE, SELECTION
aRecList.AppendNewRecord( new XclExpTabViewSettings( GetRoot(), mnScTab ) );
@@ -589,10 +589,8 @@ void ExcTable::FillAsXmlTable( SCTAB nCodeNameIdx )
aRecList.AppendRecord( GetPivotTableManager().CreatePivotTablesRecord( mnScTab ) );
// list of NOTE records, generated by the cell table
- XclExpRecordRef xNotes = mxCellTable->CreateRecord( EXC_ID_NOTE );
- XclExpRecordList< XclExpNote >* xNoteList = dynamic_cast< XclExpRecordList< XclExpNote >* >( xNotes.get() );
- if( xNoteList != NULL && !xNoteList->IsEmpty() )
- aRecList.AppendNewRecord( new XclExpComments( mnScTab, *xNoteList ) );
+ if( mxNoteList != NULL && !mxNoteList->IsEmpty() )
+ aRecList.AppendNewRecord( new XclExpComments( mnScTab, *mxNoteList ) );
// web queries
Add( new XclExpWebQueryBuffer( GetRoot() ) );
commit f29c91f3351db2887f994c2cc82ceaaa6d717906
Author: Noel Power <noel.power at novell.com>
Date: Thu Aug 2 19:23:23 2012 +0100
Revert "fix for fdo#47907"
This reverts commit 8ba8aca1ac4744a23eefb7bb5892e2a697d9d987.
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx
index c3223c6..a5702c1 100644
--- a/basctl/source/basicide/baside2b.cxx
+++ b/basctl/source/basicide/baside2b.cxx
@@ -682,6 +682,7 @@ void EditorWindow::Notify( SfxBroadcaster& /*rBC*/, const SfxHint& rHint )
( 0, pModulWindow->GetBreakPointWindow().GetCurYOffset() - pEditView->GetStartDocPos().Y() );
pModulWindow->GetLineNumberWindow().DoScroll
( 0, pModulWindow->GetLineNumberWindow().GetCurYOffset() - pEditView->GetStartDocPos().Y() );
+ pModulWindow->Invalidate();
}
else if( rTextHint.GetId() == TEXT_HINT_TEXTHEIGHTCHANGED )
{
More information about the Libreoffice-commits
mailing list