diff options
author | Oliver Bolte <obo@openoffice.org> | 2006-10-12 12:27:15 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2006-10-12 12:27:15 +0000 |
commit | 2c63a0153aaf4964523dfda691eaaaf60e75dd00 (patch) | |
tree | 3677af0b1a21283a384ed44dfa3f294bcd9d0820 /svx | |
parent | 19dac5cb50709ff39bdd06e4e9fa9629fe656535 (diff) |
INTEGRATION: CWS sb59 (1.25.62); FILE MERGED
2006/09/01 08:01:27 sb 1.25.62.2: #i67535# Made code warning-free (GCC 4.0.3).
2006/08/03 13:52:02 cl 1.25.62.1: removed compiler warnings
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/unodraw/unoshap4.cxx | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/svx/source/unodraw/unoshap4.cxx b/svx/source/unodraw/unoshap4.cxx index 11f2103f5635..f318d547c059 100644 --- a/svx/source/unodraw/unoshap4.cxx +++ b/svx/source/unodraw/unoshap4.cxx @@ -4,9 +4,9 @@ * * $RCSfile: unoshap4.cxx,v $ * - * $Revision: 1.26 $ + * $Revision: 1.27 $ * - * last change: $Author: obo $ $Date: 2006-09-17 06:15:08 $ + * last change: $Author: obo $ $Date: 2006-10-12 13:27:15 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -484,7 +484,6 @@ Any SAL_CALL SvxAppletShape::getPropertyValue( const OUString& PropertyName ) th case OWN_ATTR_APPLET_COMMANDS: case OWN_ATTR_APPLET_ISSCRIPT: return xSet->getPropertyValue( PropertyName ); - break; default: throw IllegalArgumentException(); } @@ -593,7 +592,6 @@ Any SAL_CALL SvxPluginShape::getPropertyValue( const OUString& PropertyName ) th case OWN_ATTR_PLUGIN_URL: case OWN_ATTR_PLUGIN_COMMANDS: return xSet->getPropertyValue( PropertyName ); - break; default: throw IllegalArgumentException(); } @@ -712,7 +710,6 @@ Any SAL_CALL SvxFrameShape::getPropertyValue( const OUString& PropertyName ) thr case OWN_ATTR_FRAME_MARGIN_WIDTH: case OWN_ATTR_FRAME_MARGIN_HEIGHT: return xSet->getPropertyValue( PropertyName ); - break; default: throw IllegalArgumentException(); } @@ -767,7 +764,7 @@ void SAL_CALL SvxMediaShape::setPropertyValue( const OUString& rPropertyName, co case( OWN_ATTR_MEDIA_LOOP ): { - sal_Bool bLoop; + sal_Bool bLoop = sal_Bool(); if( rValue >>= bLoop ) aItem.setLoop( bLoop ); @@ -776,7 +773,7 @@ void SAL_CALL SvxMediaShape::setPropertyValue( const OUString& rPropertyName, co case( OWN_ATTR_MEDIA_MUTE ): { - sal_Bool bMute; + sal_Bool bMute = sal_Bool(); if( rValue >>= bMute ) aItem.setMute( bMute ); @@ -785,7 +782,7 @@ void SAL_CALL SvxMediaShape::setPropertyValue( const OUString& rPropertyName, co case( OWN_ATTR_MEDIA_VOLUMEDB ): { - sal_Int16 nVolumeDB; + sal_Int16 nVolumeDB = sal_Int16(); if( rValue >>= nVolumeDB ) aItem.setVolumeDB( nVolumeDB ); |