summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2004-09-08 14:58:05 +0000
committerRüdiger Timm <rt@openoffice.org>2004-09-08 14:58:05 +0000
commit149022b21ffb0f7583898cf6754bc15310cd718a (patch)
tree1cbee511cccefe2aa8541e497afdd16f7e4fc4ee /toolkit
parent7170ed1df820130ae09e4d3f38e7d09b73fa56b0 (diff)
INTEGRATION: CWS ooo20040704 (1.3.20); FILE MERGED
2004/07/20 06:00:47 svesik 1.3.20.2: RESYNC: (1.3-1.4); FILE MERGED 2004/07/02 23:35:46 waratah 1.3.20.1: #i30874# Add initial values to potentially uninitialised values
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/controls/tkscrollbar.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/toolkit/source/controls/tkscrollbar.cxx b/toolkit/source/controls/tkscrollbar.cxx
index c3fbb132c022..b6e3982fe322 100644
--- a/toolkit/source/controls/tkscrollbar.cxx
+++ b/toolkit/source/controls/tkscrollbar.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: tkscrollbar.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: obo $ $Date: 2004-07-05 15:56:17 $
+ * last change: $Author: rt $ $Date: 2004-09-08 15:58:05 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -255,7 +255,7 @@ namespace toolkit
sal_Int32 UnoScrollBarControl::getValue() throw(::com::sun::star::uno::RuntimeException)
{
- sal_Int32 n;
+ sal_Int32 n = 0;
if ( getPeer().is() )
{
uno::Reference< awt::XScrollBar > xScrollBar( getPeer(), uno::UNO_QUERY );
@@ -271,7 +271,7 @@ namespace toolkit
sal_Int32 UnoScrollBarControl::getMaximum() throw(::com::sun::star::uno::RuntimeException)
{
- sal_Int32 n;
+ sal_Int32 n = 0;
if ( getPeer().is() )
{
uno::Reference< awt::XScrollBar > xScrollBar( getPeer(), uno::UNO_QUERY );
@@ -287,7 +287,7 @@ namespace toolkit
sal_Int32 UnoScrollBarControl::getLineIncrement() throw(::com::sun::star::uno::RuntimeException)
{
- sal_Int32 n;
+ sal_Int32 n = 0;
if ( getPeer().is() )
{
uno::Reference< awt::XScrollBar > xScrollBar( getPeer(), uno::UNO_QUERY );
@@ -303,7 +303,7 @@ namespace toolkit
sal_Int32 UnoScrollBarControl::getBlockIncrement() throw(::com::sun::star::uno::RuntimeException)
{
- sal_Int32 n;
+ sal_Int32 n = 0;
if ( getPeer().is() )
{
uno::Reference< awt::XScrollBar > xScrollBar( getPeer(), uno::UNO_QUERY );
@@ -319,7 +319,7 @@ namespace toolkit
sal_Int32 UnoScrollBarControl::getVisibleSize() throw(::com::sun::star::uno::RuntimeException)
{
- sal_Int32 n;
+ sal_Int32 n = 0;
if ( getPeer().is() )
{
uno::Reference< awt::XScrollBar > xScrollBar( getPeer(), uno::UNO_QUERY );
@@ -335,7 +335,7 @@ namespace toolkit
sal_Int32 UnoScrollBarControl::getOrientation() throw(::com::sun::star::uno::RuntimeException)
{
- sal_Int32 n;
+ sal_Int32 n = 0;
if ( getPeer().is() )
{
uno::Reference< awt::XScrollBar > xScrollBar( getPeer(), uno::UNO_QUERY );