Tag: cws_src680_oj14 User: fs Date: 2007-06-27 04:48:40+0000 Modified: dba/reportdesign/source/core/api/ReportDefinition.cxx dba/reportdesign/source/core/api/Section.cxx dba/reportdesign/source/core/api/Shape.cxx
Log: #i10000# removed unreachable statements (unxsols* warns about them) File Changes: Directory: /dba/reportdesign/source/core/api/ ============================================= File [changed]: ReportDefinition.cxx Url: http://dba.openoffice.org/source/browse/dba/reportdesign/source/core/api/ReportDefinition.cxx?r1=1.1.2.7&r2=1.1.2.8 Delta lines: +2 -3 ------------------- --- ReportDefinition.cxx 2007-06-18 08:54:27+0000 1.1.2.7 +++ ReportDefinition.cxx 2007-06-27 04:48:38+0000 1.1.2.8 @@ -4,9 +4,9 @@ * * $RCSfile: ReportDefinition.cxx,v $ * - * $Revision: 1.1.2.7 $ + * $Revision: 1.1.2.8 $ * - * last change: $Author: fs $ $Date: 2007/06/18 08:54:27 $ + * last change: $Author: fs $ $Date: 2007/06/27 04:48:38 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -1743,7 +1743,6 @@ (void)e; // helper to know what e contains throw; } - return sal_False; } // ----------------------------------------------------------------------------- sal_Bool OReportDefinition::WriteThroughComponent( File [changed]: Section.cxx Url: http://dba.openoffice.org/source/browse/dba/reportdesign/source/core/api/Section.cxx?r1=1.1.2.1&r2=1.1.2.2 Delta lines: +2 -8 ------------------- --- Section.cxx 2007-05-09 13:51:09+0000 1.1.2.1 +++ Section.cxx 2007-06-27 04:48:38+0000 1.1.2.2 @@ -4,9 +4,9 @@ * * $RCSfile: Section.cxx,v $ * - * $Revision: 1.1.2.1 $ + * $Revision: 1.1.2.2 $ * - * last change: $Author: oj $ $Date: 2007/05/09 13:51:09 $ + * last change: $Author: fs $ $Date: 2007/06/27 04:48:38 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -412,27 +412,21 @@ ::sal_Bool SAL_CALL OSection::getCanGrow() throw (beans::UnknownPropertyException, uno::RuntimeException) { throw beans::UnknownPropertyException(); ///TODO: unsupported at the moment - ::osl::MutexGuard aGuard(m_aMutex); - return m_bCanGrow; } // ----------------------------------------------------------------------------- void SAL_CALL OSection::setCanGrow( ::sal_Bool _cangrow ) throw (lang::IllegalArgumentException, beans::UnknownPropertyException, uno::RuntimeException) { throw beans::UnknownPropertyException(); ///TODO: unsupported at the moment - set(PROPERTY_CANGROW,_cangrow,m_bCanGrow); } // ----------------------------------------------------------------------------- ::sal_Bool SAL_CALL OSection::getCanShrink() throw (beans::UnknownPropertyException, uno::RuntimeException) { throw beans::UnknownPropertyException(); ///TODO: unsupported at the moment - ::osl::MutexGuard aGuard(m_aMutex); - return m_bCanShrink; } // ----------------------------------------------------------------------------- void SAL_CALL OSection::setCanShrink( ::sal_Bool _canshrink ) throw (lang::IllegalArgumentException, beans::UnknownPropertyException, uno::RuntimeException) { throw beans::UnknownPropertyException(); ///TODO: unsupported at the moment - set(PROPERTY_CANSHRINK,_canshrink,m_bCanShrink); } // ----------------------------------------------------------------------------- ::sal_Bool SAL_CALL OSection::getRepeatSection() throw (beans::UnknownPropertyException, uno::RuntimeException) File [changed]: Shape.cxx Url: http://dba.openoffice.org/source/browse/dba/reportdesign/source/core/api/Shape.cxx?r1=1.1.2.2&r2=1.1.2.3 Delta lines: +2 -5 ------------------- --- Shape.cxx 2007-05-18 12:18:44+0000 1.1.2.2 +++ Shape.cxx 2007-06-27 04:48:38+0000 1.1.2.3 @@ -4,9 +4,9 @@ * * $RCSfile: Shape.cxx,v $ * - * $Revision: 1.1.2.2 $ + * $Revision: 1.1.2.3 $ * - * last change: $Author: oj $ $Date: 2007/05/18 12:18:44 $ + * last change: $Author: fs $ $Date: 2007/06/27 04:48:38 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -196,7 +196,6 @@ ::sal_Int32 SAL_CALL OShape::getControlBackground() throw (beans::UnknownPropertyException, uno::RuntimeException) { throw beans::UnknownPropertyException(); - return COL_TRANSPARENT; } // ----------------------------------------------------------------------------- void SAL_CALL OShape::setControlBackground( ::sal_Int32 /*_backgroundcolor*/ ) throw (uno::RuntimeException,beans::UnknownPropertyException) @@ -207,7 +206,6 @@ ::sal_Bool SAL_CALL OShape::getControlBackgroundTransparent() throw (beans::UnknownPropertyException, uno::RuntimeException) { throw beans::UnknownPropertyException(); - return sal_False; } // ----------------------------------------------------------------------------- void SAL_CALL OShape::setControlBackgroundTransparent( ::sal_Bool /*_controlbackgroundtransparent*/ ) throw (beans::UnknownPropertyException, uno::RuntimeException) @@ -300,7 +298,6 @@ ::rtl::OUString SAL_CALL OShape::getDataField() throw ( beans::UnknownPropertyException, uno::RuntimeException) { throw beans::UnknownPropertyException(); - return m_aProps.aDataField; } // ----------------------------------------------------------------------------- void SAL_CALL OShape::setDataField( const ::rtl::OUString& /*_datafield*/ ) throw (lang::IllegalArgumentException, beans::UnknownPropertyException, uno::RuntimeException) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
