diff options
author | Rüdiger Timm <rt@openoffice.org> | 2008-04-21 05:55:29 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2008-04-21 05:55:29 +0000 |
commit | 8b8d061a9200d29605f6e24eaee105eb3d1da1b1 (patch) | |
tree | 41cab55fcad0f3ad3be44147a621100a4f7b4d26 | |
parent | a389cfa39cd426aaa0619a362cdf03b48a2d8e51 (diff) |
#i88490# Avoid 'uninitialized' warning.
-rw-r--r-- | sdext/source/presenter/PresenterNotesView.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sdext/source/presenter/PresenterNotesView.cxx b/sdext/source/presenter/PresenterNotesView.cxx index b44607bddcdb..2f099b808a27 100644 --- a/sdext/source/presenter/PresenterNotesView.cxx +++ b/sdext/source/presenter/PresenterNotesView.cxx @@ -8,7 +8,7 @@ * * $RCSfile: PresenterNotesView.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * * This file is part of OpenOffice.org. * @@ -519,7 +519,7 @@ void PresenterNotesView::UpdateScrollBar (void) { try { - double nHeight; + double nHeight = 0; if (mxTextView->getPropertyValue(OUString::createFromAscii("TotalHeight")) >>= nHeight) mpScrollBar->SetTotalSize(nHeight); } @@ -531,7 +531,7 @@ void PresenterNotesView::UpdateScrollBar (void) try { - double nTop; + double nTop = 0; if (mxTextView->getPropertyValue(OUString::createFromAscii("Top")) >>= nTop) mpScrollBar->SetThumbPosition(nTop); } |