summaryrefslogtreecommitdiff
path: root/UnoControls
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 22:09:34 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 22:09:34 +0000
commit2472b572e6c3fda0d2373120ac698de59d2f6267 (patch)
tree0cb17930e1ed2a12401b92446b9ea3c44d695abd /UnoControls
parent3660bfaa2a553ee861a86b6c3a795c22b063d9cd (diff)
INTEGRATION: CWS warnings01 (1.6.4); FILE MERGED
2005/10/25 09:12:55 pl 1.6.4.1: #i55991# removed warnings for solaris platform
Diffstat (limited to 'UnoControls')
-rw-r--r--UnoControls/source/controls/progressbar.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/UnoControls/source/controls/progressbar.cxx b/UnoControls/source/controls/progressbar.cxx
index b9b58ada0cfe..af9a9fc47a8f 100644
--- a/UnoControls/source/controls/progressbar.cxx
+++ b/UnoControls/source/controls/progressbar.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: progressbar.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: rt $ $Date: 2005-09-09 09:18:39 $
+ * last change: $Author: hr $ $Date: 2006-06-19 23:09:34 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -117,12 +117,12 @@ Any SAL_CALL ProgressBar::queryInterface( const Type& rType ) throw( RuntimeExce
// Attention:
// Don't use mutex or guard in this method!!! Is a method of XInterface.
Any aReturn ;
- Reference< XInterface > xDelegator = BaseControl::impl_getDelegator();
- if ( xDelegator.is() == sal_True )
+ Reference< XInterface > xDel = BaseControl::impl_getDelegator();
+ if ( xDel.is() )
{
// If an delegator exist, forward question to his queryInterface.
// Delegator will ask his own queryAggregation!
- aReturn = xDelegator->queryInterface( rType );
+ aReturn = xDel->queryInterface( rType );
}
else
{
@@ -360,7 +360,7 @@ void SAL_CALL ProgressBar::setPosSize ( sal_Int32 nX, sal_Int32 nY, sal_Int32 nW
// XControl
//____________________________________________________________________________________________________________
-sal_Bool SAL_CALL ProgressBar::setModel( const Reference< XControlModel >& xModel ) throw( RuntimeException )
+sal_Bool SAL_CALL ProgressBar::setModel( const Reference< XControlModel >& /*xModel*/ ) throw( RuntimeException )
{
// A model is not possible for this control.
return sal_False ;