summaryrefslogtreecommitdiff
path: root/sd/source/ui/presenter/PresenterTextView.cxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2008-04-07 12:02:58 +0000
committerKurt Zenker <kz@openoffice.org>2008-04-07 12:02:58 +0000
commite516c78e674950b44d2dbd0e567c14e91ef4c224 (patch)
treebf7f1bd27a035493b7011deeef7eb8a1b37b0df0 /sd/source/ui/presenter/PresenterTextView.cxx
parente7da5542a8ec5f23a97df8889871c360141d1b90 (diff)
#i87927# WaE fixes
Diffstat (limited to 'sd/source/ui/presenter/PresenterTextView.cxx')
-rw-r--r--sd/source/ui/presenter/PresenterTextView.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sd/source/ui/presenter/PresenterTextView.cxx b/sd/source/ui/presenter/PresenterTextView.cxx
index 360dbd2016d2..b4d9c5c224d4 100644
--- a/sd/source/ui/presenter/PresenterTextView.cxx
+++ b/sd/source/ui/presenter/PresenterTextView.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: PresenterTextView.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: kz $ $Date: 2008-04-03 14:08:34 $
+ * last change: $Author: kz $ $Date: 2008-04-07 13:02:58 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -252,13 +252,13 @@ Any PresenterTextView::SetPropertyValue (
}
else if (rsPropertyName == mpImplementation->msBackgroundColorPropertyName)
{
- util::Color aColor;
+ util::Color aColor = util::Color();
if (rValue >>= aColor)
mpImplementation->SetBackgroundColor(Color(aColor));
}
else if (rsPropertyName == mpImplementation->msTextColorPropertyName)
{
- util::Color aColor;
+ util::Color aColor = util::Color();
if (rValue >>= aColor)
mpImplementation->SetTextColor(Color(aColor));
}
@@ -270,7 +270,7 @@ Any PresenterTextView::SetPropertyValue (
}
else if (rsPropertyName == mpImplementation->msTopPropertyName)
{
- sal_Int32 nTop;
+ sal_Int32 nTop = 0;
if (rValue >>= nTop)
mpImplementation->SetTop(nTop);
}