diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-09-08 12:57:23 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-09-08 12:57:23 +0000 |
commit | 331bcab4967665ddd5effab0c940de397e589b24 (patch) | |
tree | 00eee16f5471131dffb1307fdfee3b4e4c3c564f /sc/source/ui/unoobj/editsrc.cxx | |
parent | f6283c0e7c9b4aa54b54b94313ac2a858fb34412 (diff) |
INTEGRATION: CWS dr12 (1.18.280); FILE MERGED
2004/02/24 10:15:48 jmarmion 1.18.280.1: #i21255# text formatting for cell notes
Diffstat (limited to 'sc/source/ui/unoobj/editsrc.cxx')
-rw-r--r-- | sc/source/ui/unoobj/editsrc.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/unoobj/editsrc.cxx b/sc/source/ui/unoobj/editsrc.cxx index e63e96d444ce..a14eb639d4a4 100644 --- a/sc/source/ui/unoobj/editsrc.cxx +++ b/sc/source/ui/unoobj/editsrc.cxx @@ -2,9 +2,9 @@ * * $RCSfile: editsrc.cxx,v $ * - * $Revision: 1.18 $ + * $Revision: 1.19 $ * - * last change: $Author: sab $ $Date: 2002-03-21 06:32:37 $ + * last change: $Author: hr $ $Date: 2004-09-08 13:57:23 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -271,8 +271,8 @@ SvxTextForwarder* ScAnnotationEditSource::GetTextForwarder() if ( pDocShell ) { - ScPostIt aNote; ScDocument* pDoc = pDocShell->GetDocument(); + ScPostIt aNote(pDoc); pDoc->GetNote( aCellPos.Col(), aCellPos.Row(), aCellPos.Tab(), aNote ); pEditEngine->SetText( aNote.GetText() ); // incl. Umbrueche |