diff options
author | Jesse <jspears@umd.edu> | 2011-12-14 14:43:58 -0500 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2011-12-15 16:38:50 +0000 |
commit | 6a8f6c4b1324e28c598a065683103ac2ef8ea3fc (patch) | |
tree | d59cda7401565170e32c7d06af9755f3110651fd | |
parent | 63a817d2fb00f248053566c8b8364667432fa8b3 (diff) |
Removed extra semicolons
116 files changed, 151 insertions, 151 deletions
diff --git a/canvas/source/cairo/cairo_spritecanvashelper.cxx b/canvas/source/cairo/cairo_spritecanvashelper.cxx index 549bc95ffa23..d651fa4a3d95 100644 --- a/canvas/source/cairo/cairo_spritecanvashelper.cxx +++ b/canvas/source/cairo/cairo_spritecanvashelper.cxx @@ -122,7 +122,7 @@ namespace cairocanvas { if( rSprite.is() ) { - ::boost::polymorphic_downcast< Sprite* >( rSprite.get() )->redraw( pCairo, true );; + ::boost::polymorphic_downcast< Sprite* >( rSprite.get() )->redraw( pCairo, true ); } } diff --git a/chart2/source/controller/main/DragMethod_Base.cxx b/chart2/source/controller/main/DragMethod_Base.cxx index f4ae3fb9fd9d..d517ea205afb 100644 --- a/chart2/source/controller/main/DragMethod_Base.cxx +++ b/chart2/source/controller/main/DragMethod_Base.cxx @@ -67,7 +67,7 @@ DragMethod_Base::~DragMethod_Base() Reference< frame::XModel > DragMethod_Base::getChartModel() const { - return Reference< frame::XModel >( m_xChartModel );; + return Reference< frame::XModel >( m_xChartModel ); } rtl::OUString DragMethod_Base::getUndoDescription() const diff --git a/comphelper/source/misc/interaction.cxx b/comphelper/source/misc/interaction.cxx index bfd8d3d1ae95..cce5e6a9337f 100644 --- a/comphelper/source/misc/interaction.cxx +++ b/comphelper/source/misc/interaction.cxx @@ -43,7 +43,7 @@ namespace comphelper //-------------------------------------------------------------------- void SAL_CALL OInteractionPassword::setPassword( const ::rtl::OUString& _Password ) throw (RuntimeException) { - m_sPassword = _Password;; + m_sPassword = _Password; } //-------------------------------------------------------------------- diff --git a/connectivity/source/drivers/ado/adoimp.cxx b/connectivity/source/drivers/ado/adoimp.cxx index d5c37c08f974..14f5f52bbbf6 100644 --- a/connectivity/source/drivers/ado/adoimp.cxx +++ b/connectivity/source/drivers/ado/adoimp.cxx @@ -85,7 +85,7 @@ OLEString& ADOS::GetKeyStr() // ------------------------------------------------------------------------- sal_Int32 ADOS::MapADOType2Jdbc(DataTypeEnum eType) { - sal_Int32 nType = DataType::VARCHAR;; + sal_Int32 nType = DataType::VARCHAR; switch (eType) { case adUnsignedSmallInt: diff --git a/connectivity/source/drivers/file/fanalyzer.cxx b/connectivity/source/drivers/file/fanalyzer.cxx index 2213e6a6220d..b954b61e764f 100644 --- a/connectivity/source/drivers/file/fanalyzer.cxx +++ b/connectivity/source/drivers/file/fanalyzer.cxx @@ -297,7 +297,7 @@ sal_Bool OSQLAnalyzer::hasFunctions() const m_bHasSelectionCode = aIter->first->hasCode(); } } - return m_bHasSelectionCode;; + return m_bHasSelectionCode; } // ----------------------------------------------------------------------------- void OSQLAnalyzer::setSelectionEvaluationResult(OValueRefRow& _pRow,const ::std::vector<sal_Int32>& _rColumnMapping) diff --git a/connectivity/source/drivers/hsqldb/HDriver.cxx b/connectivity/source/drivers/hsqldb/HDriver.cxx index 215c0e257b83..5e62a0bd957b 100644 --- a/connectivity/source/drivers/hsqldb/HDriver.cxx +++ b/connectivity/source/drivers/hsqldb/HDriver.cxx @@ -175,7 +175,7 @@ namespace connectivity aPermittedMethods.append( sPermittedMethod ); } - return aPermittedMethods.makeStringAndClear();; + return aPermittedMethods.makeStringAndClear(); } } diff --git a/connectivity/source/drivers/mozab/bootstrap/MMozillaBootstrap.cxx b/connectivity/source/drivers/mozab/bootstrap/MMozillaBootstrap.cxx index 191885cf804d..93c07f1c95b6 100644 --- a/connectivity/source/drivers/mozab/bootstrap/MMozillaBootstrap.cxx +++ b/connectivity/source/drivers/mozab/bootstrap/MMozillaBootstrap.cxx @@ -226,7 +226,7 @@ Sequence< ::rtl::OUString > SAL_CALL MozillaBootstrap::getSupportedServiceNames( setCurrentProfile(aCode->getProductType(),profileName); MNSRunnable xRunnable; - return xRunnable.StartProxy(aCode);; + return xRunnable.StartProxy(aCode); #else (void)aCode; /* avoid warning about unused parameter */ return -1; diff --git a/connectivity/source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx b/connectivity/source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx index 9f38974acb39..e2eb236349e7 100644 --- a/connectivity/source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx +++ b/connectivity/source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx @@ -632,7 +632,7 @@ sal_Bool MDatabaseMetaDataHelper::getTables( OConnection* _pCon, ::std::vector< ::rtl::OUString > tables; ::std::vector< ::rtl::OUString > tabletypes; - ::rtl::OUString matchAny = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("%"));; + ::rtl::OUString matchAny = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("%")); if ( !getTableStrings( _pCon, tables,tabletypes ) ) return sal_False; diff --git a/connectivity/source/drivers/mozab/mozillasrc/MNameMapper.cxx b/connectivity/source/drivers/mozab/mozillasrc/MNameMapper.cxx index f05abfaf2cc9..b47b249c0f04 100644 --- a/connectivity/source/drivers/mozab/mozillasrc/MNameMapper.cxx +++ b/connectivity/source/drivers/mozab/mozillasrc/MNameMapper.cxx @@ -109,7 +109,7 @@ MNameMapper::add( ::rtl::OUString& str, nsIAbDirectory* abook ) long count =1; while ( mDirMap->find( tempStr ) != mDirMap->end() ) { - tempStr = str + ::rtl::OUString::valueOf(count);; + tempStr = str + ::rtl::OUString::valueOf(count); count ++; } str = tempStr; diff --git a/cui/source/inc/treeopt.hxx b/cui/source/inc/treeopt.hxx index ac12fc2abbbb..af461faa61f3 100644 --- a/cui/source/inc/treeopt.hxx +++ b/cui/source/inc/treeopt.hxx @@ -202,7 +202,7 @@ private: // for the ColorTabPage SfxItemSet* pColorPageItemSet; - SvxColorTabPage *mpColorPage;; + SvxColorTabPage *mpColorPage; sal_Bool bForgetSelection; sal_Bool bExternBrowserActive; diff --git a/dbaccess/source/core/dataaccess/ContentHelper.cxx b/dbaccess/source/core/dataaccess/ContentHelper.cxx index 911810d3b2f8..af4d66c8e19d 100644 --- a/dbaccess/source/core/dataaccess/ContentHelper.cxx +++ b/dbaccess/source/core/dataaccess/ContentHelper.cxx @@ -318,7 +318,7 @@ void SAL_CALL OContentHelper::initialize( const Sequence< Any >& _aArguments ) t { const Any* pBegin = _aArguments.getConstArray(); const Any* pEnd = pBegin + _aArguments.getLength(); - PropertyValue aValue;; + PropertyValue aValue; for(;pBegin != pEnd;++pBegin) { *pBegin >>= aValue; diff --git a/dbaccess/source/core/misc/DatabaseDataProvider.cxx b/dbaccess/source/core/misc/DatabaseDataProvider.cxx index e817f2f43d7e..4489044cf657 100644 --- a/dbaccess/source/core/misc/DatabaseDataProvider.cxx +++ b/dbaccess/source/core/misc/DatabaseDataProvider.cxx @@ -308,7 +308,7 @@ uno::Any DatabaseDataProvider::impl_getNumberFormatKey_nothrow(const ::rtl::OUSt uno::Reference< chart2::data::XDataSequence > SAL_CALL DatabaseDataProvider::createDataSequenceByRangeRepresentation(const ::rtl::OUString & _sRangeRepresentation) throw (uno::RuntimeException, lang::IllegalArgumentException) { osl::MutexGuard g(m_aMutex); - uno::Reference< chart2::data::XDataSequence > xData = m_xInternal->createDataSequenceByRangeRepresentation(_sRangeRepresentation);; + uno::Reference< chart2::data::XDataSequence > xData = m_xInternal->createDataSequenceByRangeRepresentation(_sRangeRepresentation); uno::Reference<beans::XPropertySet> xProp(xData,uno::UNO_QUERY); const static ::rtl::OUString s_sNumberFormatKey(RTL_CONSTASCII_USTRINGPARAM("NumberFormatKey")); if ( xProp.is() && xProp->getPropertySetInfo()->hasPropertyByName(s_sNumberFormatKey) ) diff --git a/dbaccess/source/ui/tabledesign/FieldDescriptions.cxx b/dbaccess/source/ui/tabledesign/FieldDescriptions.cxx index fa7f6630db2d..2880cad46b25 100644 --- a/dbaccess/source/ui/tabledesign/FieldDescriptions.cxx +++ b/dbaccess/source/ui/tabledesign/FieldDescriptions.cxx @@ -122,7 +122,7 @@ OFieldDescription::OFieldDescription(const Reference< XPropertySet >& xAffectedC if ( _bUseAsDest ) { m_xDest = xAffectedCol; - m_xDestInfo = xAffectedCol->getPropertySetInfo();; + m_xDestInfo = xAffectedCol->getPropertySetInfo(); } else { diff --git a/desktop/source/app/appinit.cxx b/desktop/source/app/appinit.cxx index c4c8f4bfa531..e4a4230547aa 100644 --- a/desktop/source/app/appinit.cxx +++ b/desktop/source/app/appinit.cxx @@ -181,7 +181,7 @@ static bool configureUcb(bool bServer, rtl::OUString const & rPortalConnect) } #endif // GNOME_VFS_ENABLED - return ret;; + return ret; } Reference< XMultiServiceFactory > Desktop::CreateApplicationServiceManager() diff --git a/dtrans/source/win32/dnd/source.cxx b/dtrans/source/win32/dnd/source.cxx index 116a114fe93c..f242688188b7 100644 --- a/dtrans/source/win32/dnd/source.cxx +++ b/dtrans/source/win32/dnd/source.cxx @@ -336,7 +336,7 @@ dwEffect // XServiceInfo OUString SAL_CALL DragSource::getImplementationName( ) throw (RuntimeException) { - return OUString(RTL_CONSTASCII_USTRINGPARAM(DNDSOURCE_IMPL_NAME));; + return OUString(RTL_CONSTASCII_USTRINGPARAM(DNDSOURCE_IMPL_NAME)); } // XServiceInfo sal_Bool SAL_CALL DragSource::supportsService( const OUString& ServiceName ) throw (RuntimeException) diff --git a/dtrans/source/win32/dnd/target.cxx b/dtrans/source/win32/dnd/target.cxx index 4e3e4db40569..b16a62c1b6b7 100644 --- a/dtrans/source/win32/dnd/target.cxx +++ b/dtrans/source/win32/dnd/target.cxx @@ -265,7 +265,7 @@ DWORD WINAPI DndTargetOleSTAFunc(LPVOID pParams) // XServiceInfo OUString SAL_CALL DropTarget::getImplementationName( ) throw (RuntimeException) { - return OUString(RTL_CONSTASCII_USTRINGPARAM(DNDTARGET_IMPL_NAME));; + return OUString(RTL_CONSTASCII_USTRINGPARAM(DNDTARGET_IMPL_NAME)); } // XServiceInfo sal_Bool SAL_CALL DropTarget::supportsService( const OUString& ServiceName ) throw (RuntimeException) diff --git a/editeng/source/misc/unolingu.cxx b/editeng/source/misc/unolingu.cxx index db37c0573d8d..ba14ec5f1297 100644 --- a/editeng/source/misc/unolingu.cxx +++ b/editeng/source/misc/unolingu.cxx @@ -268,8 +268,8 @@ void SvxLinguConfigUpdate::UpdateAll( sal_Bool bForceCheck ) Sequence< OUString > aAvailSvcs( xLngSvcMgr->getAvailableServices( aService, aLocale )); #if OSL_DEBUG_LEVEL > 1 - const OUString * pCfgSvcs = aCfgSvcs.getConstArray();; - const OUString * pAvailSvcs = aAvailSvcs.getConstArray();; + const OUString * pCfgSvcs = aCfgSvcs.getConstArray(); + const OUString * pAvailSvcs = aAvailSvcs.getConstArray(); (void) pCfgSvcs; (void) pAvailSvcs; #endif diff --git a/editeng/source/uno/unoedprx.cxx b/editeng/source/uno/unoedprx.cxx index 5964d91b01f3..0b96a9523ae0 100644 --- a/editeng/source/uno/unoedprx.cxx +++ b/editeng/source/uno/unoedprx.cxx @@ -533,7 +533,7 @@ String SvxAccessibleTextAdapter::GetText( const ESelection& rSel ) const if( aEndIndex.InBullet() ) { // append trailing bullet - sStr += aBulletInfo2.aText;; + sStr += aBulletInfo2.aText; DBG_ASSERT(sStr.Len() - (aEndIndex.GetBulletLen() - aEndIndex.GetBulletOffset()) >= 0 && sStr.Len() - (aEndIndex.GetBulletLen() - aEndIndex.GetBulletOffset()) <= USHRT_MAX, diff --git a/extensions/source/bibliography/general.cxx b/extensions/source/bibliography/general.cxx index 16e2a13d2c24..9c8077820f9e 100644 --- a/extensions/source/bibliography/general.cxx +++ b/extensions/source/bibliography/general.cxx @@ -720,7 +720,7 @@ IMPL_LINK(BibGeneralPage, ScrollHdl, ScrollBar*, pScroll) nCurrentOffset = aFixedTexts[0]->GetPosPixel().Y() - aBasePos.Y(); else nCurrentOffset = aFixedTexts[0]->GetPosPixel().X() - aBasePos.X(); - nOffset = pScroll->IsVisible() ? pScroll->GetThumbPos() + nCurrentOffset : nCurrentOffset;; + nOffset = pScroll->IsVisible() ? pScroll->GetThumbPos() + nCurrentOffset : nCurrentOffset; for(sal_uInt16 i = 0; i < FIELD_COUNT; i++) { diff --git a/extensions/source/ole/oleobjw.cxx b/extensions/source/ole/oleobjw.cxx index 77e45daf6891..8fb92610a7da 100644 --- a/extensions/source/ole/oleobjw.cxx +++ b/extensions/source/ole/oleobjw.cxx @@ -702,7 +702,7 @@ sal_Bool SAL_CALL IUnknownWrapper_Impl::hasMethod( const OUString& aName ) catch (...) { throw RuntimeException(OUSTR("[automation bridge] unexpected exception in " - "IUnknownWrapper_Impl::hasMethod !"), Reference<XInterface>());; + "IUnknownWrapper_Impl::hasMethod !"), Reference<XInterface>()); } return ret; } diff --git a/extensions/source/ole/unoconversionutilities.hxx b/extensions/source/ole/unoconversionutilities.hxx index 4827d690d0e3..c94b0bc72998 100644 --- a/extensions/source/ole/unoconversionutilities.hxx +++ b/extensions/source/ole/unoconversionutilities.hxx @@ -1968,7 +1968,7 @@ bool UnoConversionUtilities<T>::convertValueObject( const VARIANTARG *var, Any& } } else - bFail = true;; + bFail = true; } } } diff --git a/extensions/source/propctrlr/editpropertyhandler.cxx b/extensions/source/propctrlr/editpropertyhandler.cxx index e4929a72dc1d..79c319c65ecd 100644 --- a/extensions/source/propctrlr/editpropertyhandler.cxx +++ b/extensions/source/propctrlr/editpropertyhandler.cxx @@ -267,7 +267,7 @@ namespace pcr if ( implHaveTextTypeProperty() ) aInterestingActuatingProps.push_back( static_cast<const rtl::OUString&>(PROPERTY_TEXTTYPE) ); aInterestingActuatingProps.push_back( static_cast<const rtl::OUString&>(PROPERTY_MULTILINE) ); - return Sequence< ::rtl::OUString >( &(*aInterestingActuatingProps.begin()), aInterestingActuatingProps.size() );; + return Sequence< ::rtl::OUString >( &(*aInterestingActuatingProps.begin()), aInterestingActuatingProps.size() ); } //-------------------------------------------------------------------- diff --git a/extensions/test/ole/cpptest/cpptest.cxx b/extensions/test/ole/cpptest/cpptest.cxx index 29e0f7cf2aef..981c3f08e50d 100644 --- a/extensions/test/ole/cpptest/cpptest.cxx +++ b/extensions/test/ole/cpptest/cpptest.cxx @@ -98,7 +98,7 @@ HRESULT doTest() args[3]= _variant_t(L"private:factory/swriter"); args[2]= _variant_t(L"Test"); args[1]= _variant_t((long) 40); - args[0].vt= VT_ARRAY | VT_DISPATCH;; + args[0].vt= VT_ARRAY | VT_DISPATCH; args[0].parray= ar; if (FAILED(hr= dispDesk.InvokeN(L"loadComponentFromURL", args, 4, &varRet))) { diff --git a/filter/source/msfilter/eschesdo.cxx b/filter/source/msfilter/eschesdo.cxx index 438a72d44afe..96e81d9dd037 100644 --- a/filter/source/msfilter/eschesdo.cxx +++ b/filter/source/msfilter/eschesdo.cxx @@ -235,7 +235,7 @@ sal_uInt32 ImplEESdrWriter::ImplWriteShape( ImplEESdrObject& rObj, pMemStrm->ObjectOwnsMemory( sal_False ); sal_uInt8* pBuf = (sal_uInt8*) pMemStrm->GetData(); sal_uInt32 nSize = pMemStrm->Seek( STREAM_SEEK_TO_END ); - aPropOpt.AddOpt( ESCHER_Prop_pihlShape, sal_False, nSize, pBuf, nSize );; + aPropOpt.AddOpt( ESCHER_Prop_pihlShape, sal_False, nSize, pBuf, nSize ); } if ( pInteraction->hasInteraction() ) aPropOpt.AddOpt( ESCHER_Prop_fPrint, 0x00080008 ); @@ -346,7 +346,7 @@ sal_uInt32 ImplEESdrWriter::ImplWriteShape( ImplEESdrObject& rObj, { mpEscherEx->OpenContainer( ESCHER_SpContainer ); ADD_SHAPE( ESCHER_ShpInst_Ellipse, 0xa00 ); // Flags: Connector | HasSpt - aPropOpt.CreateFillProperties( rObj.mXPropSet, sal_True );; + aPropOpt.CreateFillProperties( rObj.mXPropSet, sal_True ); } else { @@ -1005,7 +1005,7 @@ ImplEESdrObject::ImplEESdrObject( ImplEscherExSdr& rEx, { // why not declare a const parameter if the object will // not be modified? - mXShape = uno::Reference< drawing::XShape >::query( ((SdrObject*)&rObj)->getUnoShape() );; + mXShape = uno::Reference< drawing::XShape >::query( ((SdrObject*)&rObj)->getUnoShape() ); Init( rEx ); } } diff --git a/filter/source/svg/svgreader.cxx b/filter/source/svg/svgreader.cxx index 796bea9d4bf4..cfeaaf4c892b 100644 --- a/filter/source/svg/svgreader.cxx +++ b/filter/source/svg/svgreader.cxx @@ -185,7 +185,7 @@ struct AnnotatingVisitor if (sValue.copy(0,1).equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("#"))) aFound = maGradientIdMap.find(sValue.copy(1)); else - aFound = maGradientIdMap.find(sValue);; + aFound = maGradientIdMap.find(sValue); if( aFound != maGradientIdMap.end() ) maGradientVector.back() = maGradientVector[aFound->second]; @@ -223,7 +223,7 @@ struct AnnotatingVisitor if (sValue.copy(0,1).equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("#"))) aFound = maGradientIdMap.find(sValue.copy(1)); else - aFound = maGradientIdMap.find(sValue);; + aFound = maGradientIdMap.find(sValue); if( aFound != maGradientIdMap.end() ) maGradientVector.back() = maGradientVector[aFound->second]; @@ -829,7 +829,7 @@ struct AnnotatingVisitor if (sValue.copy(0,1).equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("#"))) aFound = maStopIdMap.find(sValue.copy(1)); else - aFound = maStopIdMap.find(sValue);; + aFound = maStopIdMap.find(sValue); if( aFound != maStopIdMap.end() ) io_rGradientStop = maGradientStopVector[aFound->second]; diff --git a/filter/source/t602/t602filter.cxx b/filter/source/t602/t602filter.cxx index 1f95aa95c4f7..8556e14e1663 100644 --- a/filter/source/t602/t602filter.cxx +++ b/filter/source/t602/t602filter.cxx @@ -181,7 +181,7 @@ T602ImportFilter::~T602ImportFilter() (aData[1] != 'C') || (aData[2] != 'T') || (aData[3] != ' ')) return ::rtl::OUString(); - return rtl::OUString( RTL_CONSTASCII_USTRINGPARAM ( "writer_T602_Document" ) );; + return rtl::OUString( RTL_CONSTASCII_USTRINGPARAM ( "writer_T602_Document" ) ); } // XFilter diff --git a/forms/source/misc/componenttools.cxx b/forms/source/misc/componenttools.cxx index c85624d0ccf0..66c1fde30bf7 100644 --- a/forms/source/misc/componenttools.cxx +++ b/forms/source/misc/componenttools.cxx @@ -106,7 +106,7 @@ namespace frm Reference< XModel > getXModel( const Reference< XInterface >& _rxComponent ) { Reference< XInterface > xParent = _rxComponent; - Reference< XModel > xModel( xParent, UNO_QUERY );; + Reference< XModel > xModel( xParent, UNO_QUERY ); while ( xParent.is() && !xModel.is() ) { Reference< XChild > xChild( xParent, UNO_QUERY ); diff --git a/framework/source/lomenubar/AwtKeyToDbusmenuString.cxx b/framework/source/lomenubar/AwtKeyToDbusmenuString.cxx index e03073db53a1..3845d79e4739 100644 --- a/framework/source/lomenubar/AwtKeyToDbusmenuString.cxx +++ b/framework/source/lomenubar/AwtKeyToDbusmenuString.cxx @@ -59,7 +59,7 @@ AwtKeyToDbusmenuString (guint16 aKeyCode) if (code == 0) return NULL; - return XKeysymToString (code);; + return XKeysymToString (code); } diff --git a/lotuswordpro/source/filter/lwpnumericfmt.cxx b/lotuswordpro/source/filter/lwpnumericfmt.cxx index 4a4964920632..ea025d9ebe31 100644 --- a/lotuswordpro/source/filter/lwpnumericfmt.cxx +++ b/lotuswordpro/source/filter/lwpnumericfmt.cxx @@ -88,7 +88,7 @@ String LwpCurrencyPool::GetCurrencySymbol(sal_uInt16 nFormat) */ sal_Bool LwpCurrencyPool::IsSymbolPost(sal_uInt16 nFormat) { - return m_aCurrencyInfo[nFormat].bPost;; + return m_aCurrencyInfo[nFormat].bPost; } /** diff --git a/oox/source/drawingml/diagram/diagramfragmenthandler.cxx b/oox/source/drawingml/diagram/diagramfragmenthandler.cxx index 6361f07f23d9..7fab89f6ce72 100644 --- a/oox/source/drawingml/diagram/diagramfragmenthandler.cxx +++ b/oox/source/drawingml/diagram/diagramfragmenthandler.cxx @@ -223,16 +223,16 @@ ColorFragmentHandler::ColorFragmentHandler( ::oox::core::XmlFilterBase& rFilter, switch( getCurrentElement() ) { case XML_ROOT_CONTEXT: - return nElement == DGM_TOKEN(colorsDef) ? this : NULL;; + return nElement == DGM_TOKEN(colorsDef) ? this : NULL; case DGM_TOKEN(colorsDef): - return nElement == DGM_TOKEN(styleLbl) ? this : NULL;; + return nElement == DGM_TOKEN(styleLbl) ? this : NULL; case DGM_TOKEN(styleLbl): return ((nElement == DGM_TOKEN(fillClrLst)) || (nElement == DGM_TOKEN(linClrLst)) || (nElement == DGM_TOKEN(effectClrLst)) || (nElement == DGM_TOKEN(txLinClrLst)) || (nElement == DGM_TOKEN(txFillClrLst)) || - (nElement == DGM_TOKEN(txEffectClrLst))) ? this : NULL;; + (nElement == DGM_TOKEN(txEffectClrLst))) ? this : NULL; // the actual colors - defer to color fragment handlers. diff --git a/oox/source/ppt/pptimport.cxx b/oox/source/ppt/pptimport.cxx index fd2e36dc2cd3..e542e5353971 100644 --- a/oox/source/ppt/pptimport.cxx +++ b/oox/source/ppt/pptimport.cxx @@ -180,7 +180,7 @@ const oox::drawingml::table::TableStyleListPtr PowerPointImport::getTableStyles( importFragment( new oox::drawingml::table::TableStyleListFragmentHandler( *this, maTableStyleListPath, *mpTableStyleList ) ); } - return mpTableStyleList;; + return mpTableStyleList; } ::oox::drawingml::chart::ChartConverter* PowerPointImport::getChartConverter() diff --git a/rdbmaker/source/codemaker/typemanager.cxx b/rdbmaker/source/codemaker/typemanager.cxx index 075b8f2a30dd..cf6c77638961 100644 --- a/rdbmaker/source/codemaker/typemanager.cxx +++ b/rdbmaker/source/codemaker/typemanager.cxx @@ -56,7 +56,7 @@ sal_Int32 TypeManager::release() { delete m_pImpl; } - return refCount;; + return refCount; } RegistryTypeManager::RegistryTypeManager() diff --git a/sc/source/ui/docshell/olinefun.cxx b/sc/source/ui/docshell/olinefun.cxx index 92dc97f84ee6..e99ff87778e6 100644 --- a/sc/source/ui/docshell/olinefun.cxx +++ b/sc/source/ui/docshell/olinefun.cxx @@ -310,9 +310,9 @@ sal_Bool ScOutlineDocFunc::AutoOutline( const ScRange& rRange, sal_Bool bRecord, SCCOLROW nCol1, nCol2, nRow1, nRow2; pTable->GetColArray()->GetRange( nCol1, nCol2 ); pTable->GetRowArray()->GetRange( nRow1, nRow2 ); - SCCOL nOutStartCol = static_cast<SCCOL>(nCol1);; + SCCOL nOutStartCol = static_cast<SCCOL>(nCol1); SCROW nOutStartRow = nRow1; - SCCOL nOutEndCol = static_cast<SCCOL>(nCol2);; + SCCOL nOutEndCol = static_cast<SCCOL>(nCol2); SCROW nOutEndRow = nRow2; pUndoDoc = new ScDocument( SCDOCMODE_UNDO ); diff --git a/sc/source/ui/miscdlgs/conflictsdlg.cxx b/sc/source/ui/miscdlgs/conflictsdlg.cxx index 71171ee03b89..4e087cb6221f 100644 --- a/sc/source/ui/miscdlgs/conflictsdlg.cxx +++ b/sc/source/ui/miscdlgs/conflictsdlg.cxx @@ -278,7 +278,7 @@ bool ScConflictsFinder::Find() if ( aOwnActions.size() ) { - ScConflictsListEntry* pEntry = GetEntry( pSharedAction->GetActionNumber(), aOwnActions );; + ScConflictsListEntry* pEntry = GetEntry( pSharedAction->GetActionNumber(), aOwnActions ); ScChangeActionList::iterator aEnd = aOwnActions.end(); for ( ScChangeActionList::iterator aItr = aOwnActions.begin(); aItr != aEnd; ++aItr ) { diff --git a/sc/source/ui/vba/vbachart.cxx b/sc/source/ui/vba/vbachart.cxx index 36c123e8253b..beaa45702743 100644 --- a/sc/source/ui/vba/vbachart.cxx +++ b/sc/source/ui/vba/vbachart.cxx @@ -592,7 +592,7 @@ ScVbaChart::setSourceData( const css::uno::Reference< ::ooo::vba::excel::XRange ScDocument* pDoc = pRange->getScDocument(); if ( pDoc ) { - bsetRowHeaders = pDoc->HasRowHeader( static_cast< SCCOL >( mSingleRangeAddress.StartColumn ), static_cast< SCROW >( mSingleRangeAddress.StartRow ), static_cast< SCCOL >( mSingleRangeAddress.EndColumn ), static_cast< SCROW >( mSingleRangeAddress.EndRow ), static_cast< SCTAB >( mSingleRangeAddress.Sheet ) );; + bsetRowHeaders = pDoc->HasRowHeader( static_cast< SCCOL >( mSingleRangeAddress.StartColumn ), static_cast< SCROW >( mSingleRangeAddress.StartRow ), static_cast< SCCOL >( mSingleRangeAddress.EndColumn ), static_cast< SCROW >( mSingleRangeAddress.EndRow ), static_cast< SCTAB >( mSingleRangeAddress.Sheet ) ); bsetColumnHeaders = pDoc->HasColHeader( static_cast< SCCOL >( mSingleRangeAddress.StartColumn ), static_cast< SCROW >( mSingleRangeAddress.StartRow ), static_cast< SCCOL >( mSingleRangeAddress.EndColumn ), static_cast< SCROW >( mSingleRangeAddress.EndRow ), static_cast< SCTAB >( mSingleRangeAddress.Sheet )); ; } diff --git a/sc/source/ui/view/printfun.cxx b/sc/source/ui/view/printfun.cxx index e6484ceec031..476bc52b2064 100644 --- a/sc/source/ui/view/printfun.cxx +++ b/sc/source/ui/view/printfun.cxx @@ -624,7 +624,7 @@ void lcl_FillHFParam( ScPrintHFParam& rParam, const SfxItemSet* pHFSet ) rParam.nRight = nTmp < 0 ? 0 : sal_uInt16(nTmp); rParam.pBorder = (const SvxBoxItem*) &pHFSet->Get(ATTR_BORDER); rParam.pBack = (const SvxBrushItem*) &pHFSet->Get(ATTR_BACKGROUND); - rParam.pShadow = (const SvxShadowItem*)&pHFSet->Get(ATTR_SHADOW);; + rParam.pShadow = (const SvxShadowItem*)&pHFSet->Get(ATTR_SHADOW); // jetzt doch wieder schon im Dialog: // rParam.nHeight += rParam.nDistance; // nicht mehr im Dialog ??? diff --git a/sc/source/ui/view/viewfun4.cxx b/sc/source/ui/view/viewfun4.cxx index 184aa3623932..86c44961a02d 100644 --- a/sc/source/ui/view/viewfun4.cxx +++ b/sc/source/ui/view/viewfun4.cxx @@ -403,7 +403,7 @@ void ScViewFunc::DoThesaurus( sal_Bool bRecord ) { OSL_FAIL("DoThesaurus: Keine String oder Editzelle"); } - pEditView = GetViewData()->GetEditView(GetViewData()->GetActivePart());; + pEditView = GetViewData()->GetEditView(GetViewData()->GetActivePart()); if (pEditSel) pEditView->SetSelection(*pEditSel); else diff --git a/scripting/source/basprov/basprov.cxx b/scripting/source/basprov/basprov.cxx index 6273ddfe2555..4d1ff81e87e5 100644 --- a/scripting/source/basprov/basprov.cxx +++ b/scripting/source/basprov/basprov.cxx @@ -251,7 +251,7 @@ namespace basprov Reference< frame::XModel > xModel; - m_xInvocationContext.set( aArguments[0], UNO_QUERY );; + m_xInvocationContext.set( aArguments[0], UNO_QUERY ); if ( m_xInvocationContext.is() ) { xModel.set( m_xInvocationContext->getScriptContainer(), UNO_QUERY ); diff --git a/sd/source/ui/dlg/prltempl.cxx b/sd/source/ui/dlg/prltempl.cxx index 9d7145179ebf..f0d92c8cc993 100644 --- a/sd/source/ui/dlg/prltempl.cxx +++ b/sd/source/ui/dlg/prltempl.cxx @@ -102,7 +102,7 @@ SdPresLayoutTemplateDlg::SdPresLayoutTemplateDlg( SfxObjectShell* pDocSh, aInputSet.Put( rStyleBase.GetItemSet() ); // need parent-relationship - const SfxItemSet* pParentItemSet = rStyleBase.GetItemSet().GetParent();; + const SfxItemSet* pParentItemSet = rStyleBase.GetItemSet().GetParent(); if( pParentItemSet ) aInputSet.SetParent( pParentItemSet ); diff --git a/sd/source/ui/toolpanel/TaskPaneTreeNode.cxx b/sd/source/ui/toolpanel/TaskPaneTreeNode.cxx index bce9a06e9ebe..3a57e814951e 100644 --- a/sd/source/ui/toolpanel/TaskPaneTreeNode.cxx +++ b/sd/source/ui/toolpanel/TaskPaneTreeNode.cxx @@ -99,7 +99,7 @@ sal_Int32 TreeNode::GetMinimumWidth (void) nTotalMinimumWidth = nMinimumWidth; } - return nTotalMinimumWidth;; + return nTotalMinimumWidth; } diff --git a/sd/source/ui/view/drawview.cxx b/sd/source/ui/view/drawview.cxx index 33e7d57f3fc8..7d20db8adabc 100644 --- a/sd/source/ui/view/drawview.cxx +++ b/sd/source/ui/view/drawview.cxx @@ -542,7 +542,7 @@ void DrawView::PresPaint(const Region& rRegion) sal_Bool DrawView::IsObjMarkable(SdrObject* pObj, SdrPageView* pPV) const { - return FmFormView::IsObjMarkable(pObj, pPV);; + return FmFormView::IsObjMarkable(pObj, pPV); } /************************************************************************* diff --git a/sd/source/ui/view/drtxtob.cxx b/sd/source/ui/view/drtxtob.cxx index 6f7a83cfaa67..9362c48300e7 100644 --- a/sd/source/ui/view/drtxtob.cxx +++ b/sd/source/ui/view/drtxtob.cxx @@ -382,7 +382,7 @@ void TextObjectBar::GetAttrState( SfxItemSet& rSet ) { if( mpView && mpView->GetTextEditOutlinerView() ) { - EditView & rEditView = mpView->GetTextEditOutlinerView()->GetEditView();; + EditView & rEditView = mpView->GetTextEditOutlinerView()->GetEditView(); String aStatusVal; LanguageType nLang = LANGUAGE_NONE; bool bIsLookUpWord = GetStatusValueForThesaurusFromContext( aStatusVal, nLang, rEditView ); diff --git a/sfx2/source/appl/helpinterceptor.cxx b/sfx2/source/appl/helpinterceptor.cxx index 5f5327375743..47d22e9b74e2 100644 --- a/sfx2/source/appl/helpinterceptor.cxx +++ b/sfx2/source/appl/helpinterceptor.cxx @@ -234,7 +234,7 @@ Sequence< ::rtl::OUString > SAL_CALL HelpInterceptor_Impl::getInterceptedURLs() { Sequence< ::rtl::OUString > aURLList( 1 ); aURLList[0] = DEFINE_CONST_UNICODE("vnd.sun.star.help://*"); - return aURLList;; + return aURLList; } // ----------------------------------------------------------------------- diff --git a/sfx2/source/bastyp/progress.cxx b/sfx2/source/bastyp/progress.cxx index bac4b53c0de3..d6fb7798c61e 100644 --- a/sfx2/source/bastyp/progress.cxx +++ b/sfx2/source/bastyp/progress.cxx @@ -158,7 +158,7 @@ SfxProgress::SfxProgress bSuspended(sal_True) { pImp->bRunning = sal_True; - pImp->bAllowRescheduling = Application::IsInExecute();; + pImp->bAllowRescheduling = Application::IsInExecute(); pImp->xObjSh = pObjSh; pImp->aText = rText; diff --git a/sfx2/source/statbar/stbitem.cxx b/sfx2/source/statbar/stbitem.cxx index bf569b59f4e0..b97c0d58d91e 100644 --- a/sfx2/source/statbar/stbitem.cxx +++ b/sfx2/source/statbar/stbitem.cxx @@ -403,7 +403,7 @@ throw ( ::uno::RuntimeException ) { SolarMutexGuard aGuard; - OutputDevice* pOutDev = VCLUnoHelper::GetOutputDevice( xGraphics );; + OutputDevice* pOutDev = VCLUnoHelper::GetOutputDevice( xGraphics ); if ( pOutDev ) { ::Rectangle aRect = VCLRectangle( rOutputRectangle ); diff --git a/slideshow/source/engine/shapes/viewmediashape.cxx b/slideshow/source/engine/shapes/viewmediashape.cxx index 5957cf6bf097..f13e883ca9f6 100644 --- a/slideshow/source/engine/shapes/viewmediashape.cxx +++ b/slideshow/source/engine/shapes/viewmediashape.cxx @@ -188,7 +188,7 @@ namespace slideshow bool ViewMediaShape::render( const ::basegfx::B2DRectangle& rBounds ) const { - ::cppcanvas::CanvasSharedPtr pCanvas = mpViewLayer->getCanvas();; + ::cppcanvas::CanvasSharedPtr pCanvas = mpViewLayer->getCanvas(); if( !pCanvas ) return false; @@ -208,7 +208,7 @@ namespace slideshow { maBounds = rNewBounds; - ::cppcanvas::CanvasSharedPtr pCanvas = mpViewLayer->getCanvas();; + ::cppcanvas::CanvasSharedPtr pCanvas = mpViewLayer->getCanvas(); if( !pCanvas ) return false; diff --git a/slideshow/source/engine/transitions/slidetransitionfactory.cxx b/slideshow/source/engine/transitions/slidetransitionfactory.cxx index 11d21e699e62..afe3a956dd3a 100644 --- a/slideshow/source/engine/transitions/slidetransitionfactory.cxx +++ b/slideshow/source/engine/transitions/slidetransitionfactory.cxx @@ -115,7 +115,7 @@ class PluginSlideChange: public SlideChangeBase ~TransitionViewPair() { mxTransition.clear(); - mpView.reset();; + mpView.reset(); } void update( double t ) diff --git a/starmath/source/cfgitem.cxx b/starmath/source/cfgitem.cxx index 39e7afe38a17..33c83c1c4717 100644 --- a/starmath/source/cfgitem.cxx +++ b/starmath/source/cfgitem.cxx @@ -781,7 +781,7 @@ void SmMathConfig::SaveFontFormatList() aNodeNameDelim += aFntFmtId; aNodeNameDelim += aDelim; - const OUString *pName = aNames.getConstArray();; + const OUString *pName = aNames.getConstArray(); // Name pVal->Name = aNodeNameDelim; diff --git a/stoc/source/proxy_factory/proxyfac.cxx b/stoc/source/proxy_factory/proxyfac.cxx index c165ffdd8ab8..aab09d88de93 100644 --- a/stoc/source/proxy_factory/proxyfac.cxx +++ b/stoc/source/proxy_factory/proxyfac.cxx @@ -455,7 +455,7 @@ Reference< XAggregation > FactoryImpl::createProxy( OUString FactoryImpl::getImplementationName() throw (RuntimeException) { - return proxyfac_getImplementationName();; + return proxyfac_getImplementationName(); } //______________________________________________________________________________ diff --git a/svtools/source/control/headbar.cxx b/svtools/source/control/headbar.cxx index 233040e4e84d..08f2d3cc0b4c 100644 --- a/svtools/source/control/headbar.cxx +++ b/svtools/source/control/headbar.cxx @@ -585,7 +585,7 @@ void HeaderBar::ImplDrawItem( OutputDevice* pDev, else if ( nBits & HIB_BOTTOM ) nArrowY = aRect.Bottom()-HEAD_ARROWSIZE2-1; else - nArrowY = aRect.Top()+((aRect.GetHeight()-HEAD_ARROWSIZE2)/2);; + nArrowY = aRect.Top()+((aRect.GetHeight()-HEAD_ARROWSIZE2)/2); } nArrowY -= HEAD_ARROWSIZE1-1; if ( nBits & HIB_DOWNARROW ) diff --git a/svtools/source/filter/exportdialog.cxx b/svtools/source/filter/exportdialog.cxx index 7cf171f3e868..d251517334d7 100644 --- a/svtools/source/filter/exportdialog.cxx +++ b/svtools/source/filter/exportdialog.cxx @@ -487,7 +487,7 @@ sal_Bool ExportDialog::GetGraphicStream() else if ( mxShapes.is() ) xSourceDoc = uno::Reference< lang::XComponent >( mxShapes, uno::UNO_QUERY_THROW ); else if ( mxShape.is() ) - xSourceDoc = uno::Reference< lang::XComponent >( mxShape, uno::UNO_QUERY_THROW );; + xSourceDoc = uno::Reference< lang::XComponent >( mxShape, uno::UNO_QUERY_THROW ); if ( xSourceDoc.is() ) { xGraphicExporter->setSourceDocument( xSourceDoc ); diff --git a/svtools/source/uno/unoiface.cxx b/svtools/source/uno/unoiface.cxx index cac5bf642dea..c00f0749146c 100644 --- a/svtools/source/uno/unoiface.cxx +++ b/svtools/source/uno/unoiface.cxx @@ -1514,7 +1514,7 @@ RMItemData SVTXRoadmap::GetRMItemData( const ::com::sun::star::container::Contai aValue = xPropertySet->getPropertyValue(::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Enabled" ))); aValue >>= aCurRMItemData.b_Enabled; } - return aCurRMItemData;; + return aCurRMItemData; } void SVTXRoadmap::elementInserted( const ::com::sun::star::container::ContainerEvent& _rEvent )throw(::com::sun::star::uno::RuntimeException) diff --git a/svx/inc/svx/svdmrkv.hxx b/svx/inc/svx/svdmrkv.hxx index b5442a3eb4bb..37c31345e4eb 100644 --- a/svx/inc/svx/svdmrkv.hxx +++ b/svx/inc/svx/svdmrkv.hxx @@ -240,7 +240,7 @@ public: void SetCreateMode(sal_Bool bOn=sal_True) { SetEditMode(bOn?SDREDITMODE_CREATE:SDREDITMODE_EDIT); } sal_Bool IsCreateMode() const { return eEditMode==SDREDITMODE_CREATE; } void SetGluePointEditMode(sal_Bool bOn=sal_True) { SetEditMode(bOn?SDREDITMODE_GLUEPOINTEDIT:eEditMode0); } - sal_Bool IsGluePointEditMode() const { return eEditMode==SDREDITMODE_GLUEPOINTEDIT;; } + sal_Bool IsGluePointEditMode() const { return eEditMode==SDREDITMODE_GLUEPOINTEDIT; } void SetDesignMode(sal_Bool bOn=sal_True); sal_Bool IsDesignMode() const { return bDesignMode; } diff --git a/svx/source/form/fmsrcimp.cxx b/svx/source/form/fmsrcimp.cxx index 722494154f9d..b4df4ed97cdb 100644 --- a/svx/source/form/fmsrcimp.cxx +++ b/svx/source/form/fmsrcimp.cxx @@ -903,7 +903,7 @@ void FmSearchEngine::Init(const ::rtl::OUString& sVisibleFields) } } // set the field selection back to the first - pFieldNames = seqFieldNames.getArray();; + pFieldNames = seqFieldNames.getArray(); DBG_ASSERT(nFoundIndex != -1, "FmSearchEngine::Init : Invalid field name were given !"); m_arrFieldMapping.push_back(nFoundIndex); } diff --git a/svx/source/gallery2/galctrl.cxx b/svx/source/gallery2/galctrl.cxx index 72a481e67691..3565f54afe52 100644 --- a/svx/source/gallery2/galctrl.cxx +++ b/svx/source/gallery2/galctrl.cxx @@ -535,7 +535,7 @@ String GalleryListView::GetCellText(long _nRow, sal_uInt16 nColumnId) const } } - return sRet;; + return sRet; } // ----------------------------------------------------------------------------- diff --git a/svx/source/inc/fmundo.hxx b/svx/source/inc/fmundo.hxx index 3451f7c78e49..3396bca06d1d 100644 --- a/svx/source/inc/fmundo.hxx +++ b/svx/source/inc/fmundo.hxx @@ -60,7 +60,7 @@ class FmXFormView; namespace com { namespace sun { namespace star { namespace awt { class XControl; - class XControlContainer;; + class XControlContainer; } }}} diff --git a/svx/source/items/numfmtsh.cxx b/svx/source/items/numfmtsh.cxx index e2f32ca66230..90c5f3a4d303 100644 --- a/svx/source/items/numfmtsh.cxx +++ b/svx/source/items/numfmtsh.cxx @@ -809,7 +809,7 @@ short SvxNumberFormatShell::FillEListWithSysCurrencys( SvStrings& rList,short nS short nMyCat = SELPOS_NONE; NfIndexTableOffset eOffsetStart=NF_CURRENCY_START; - NfIndexTableOffset eOffsetEnd=NF_CURRENCY_END;; + NfIndexTableOffset eOffsetEnd=NF_CURRENCY_END; long nIndex; for(nIndex=eOffsetStart;nIndex<=eOffsetEnd;nIndex++) diff --git a/svx/source/stbctrls/zoomsliderctrl.cxx b/svx/source/stbctrls/zoomsliderctrl.cxx index 048979a02481..aa8ae8a58972 100644 --- a/svx/source/stbctrls/zoomsliderctrl.cxx +++ b/svx/source/stbctrls/zoomsliderctrl.cxx @@ -94,7 +94,7 @@ sal_uInt16 SvxZoomSliderControl::Offset2Zoom( long nOffset ) const sal_uInt16 nRet = 0; if ( nOffset < nSliderXOffset ) - return mpImpl->mnMinZoom;; + return mpImpl->mnMinZoom; if ( nOffset > nControlWidth - nSliderXOffset ) return mpImpl->mnMaxZoom; @@ -344,7 +344,7 @@ void SvxZoomSliderControl::Paint( const UserDrawEvent& rUsrEvt ) sal_Bool SvxZoomSliderControl::MouseButtonDown( const MouseEvent & rEvt ) { if ( !mpImpl->mbValuesSet ) - return sal_True;; + return sal_True; const Rectangle aControlRect = getControlRect(); const Point aPoint = rEvt.GetPosPixel(); @@ -401,7 +401,7 @@ sal_Bool SvxZoomSliderControl::MouseButtonDown( const MouseEvent & rEvt ) sal_Bool SvxZoomSliderControl::MouseMove( const MouseEvent & rEvt ) { if ( !mpImpl->mbValuesSet ) - return sal_True;; + return sal_True; const short nButtons = rEvt.GetButtons(); diff --git a/svx/source/svdraw/svdopath.cxx b/svx/source/svdraw/svdopath.cxx index 677f6e718c2b..d559e31dfbfe 100644 --- a/svx/source/svdraw/svdopath.cxx +++ b/svx/source/svdraw/svdopath.cxx @@ -1446,7 +1446,7 @@ bool ImpPathForDragAndCreate::EndCreate(SdrDragStat& rStat, SdrCreateCmd eCmd) } } else { if (nActPoint==1 && IsBezier(pU->eAktKind) && !pU->bBezHasCtrl0) { - pU->aBezControl0=rStat.GetNow();; + pU->aBezControl0=rStat.GetNow(); pU->bBezHasCtrl0=sal_True; nActPoint--; } diff --git a/svx/source/table/accessibletableshape.cxx b/svx/source/table/accessibletableshape.cxx index 36956fdb78c1..24661655c9ad 100644 --- a/svx/source/table/accessibletableshape.cxx +++ b/svx/source/table/accessibletableshape.cxx @@ -334,7 +334,7 @@ OUString SAL_CALL AccessibleTableShape::getImplementationName(void) throw (Runti OUString AccessibleTableShape::CreateAccessibleBaseName(void) throw (RuntimeException) { - return OUString (RTL_CONSTASCII_USTRINGPARAM("TableShape"));; + return OUString (RTL_CONSTASCII_USTRINGPARAM("TableShape")); } //-------------------------------------------------------------------- diff --git a/svx/source/table/propertyset.cxx b/svx/source/table/propertyset.cxx index cbdd56184a02..ef15231d672c 100644 --- a/svx/source/table/propertyset.cxx +++ b/svx/source/table/propertyset.cxx @@ -122,7 +122,7 @@ Property SAL_CALL FastPropertySetInfo::getPropertyByName( const OUString& aName sal_Bool SAL_CALL FastPropertySetInfo::hasPropertyByName( const OUString& aName ) throw (RuntimeException) { - return hasProperty( aName ) != 0 ? sal_True : sal_False;; + return hasProperty( aName ) != 0 ? sal_True : sal_False; } // ----------------------------------------------------------------------------- diff --git a/sw/source/core/text/txthyph.cxx b/sw/source/core/text/txthyph.cxx index 729d7d3c3da8..511df2ae9b33 100644 --- a/sw/source/core/text/txthyph.cxx +++ b/sw/source/core/text/txthyph.cxx @@ -79,7 +79,7 @@ sal_Bool SwTxtFrm::Hyphenate( SwInterHyphInfo &rHyphInf ) OSL_ENSURE( ! IsVertical() || ! IsSwapped(),"swapped frame at SwTxtFrm::Hyphenate" ); if( !pBreakIt->GetBreakIter().is() ) - return sal_False;; + return sal_False; // Wir machen den Laden erstmal dicht: OSL_ENSURE( !IsLocked(), "SwTxtFrm::Hyphenate: this is locked" ); // 4935: Der frame::Frame muss eine gueltige SSize haben! diff --git a/sw/source/core/txtnode/txtedt.cxx b/sw/source/core/txtnode/txtedt.cxx index 86e4b69940af..e8335ee79654 100644 --- a/sw/source/core/txtnode/txtedt.cxx +++ b/sw/source/core/txtnode/txtedt.cxx @@ -428,7 +428,7 @@ void SwTxtNode::RstAttr(const SwIndex &rIdx, xub_StrLen nLen, sal_uInt16 nWhich, } // Default behavior is to process all attributes: - bool bSkipAttr = false;; + bool bSkipAttr = false; boost::shared_ptr<SfxItemSet> pStyleHandle; // 1. case: We want to reset only the attributes listed in pSet: diff --git a/sw/source/core/undo/rolbck.cxx b/sw/source/core/undo/rolbck.cxx index e2767a164c2d..027e95ef003e 100644 --- a/sw/source/core/undo/rolbck.cxx +++ b/sw/source/core/undo/rolbck.cxx @@ -288,7 +288,7 @@ SwHistorySetTxtFld::SwHistorySetTxtFld( SwTxtFld* pTxtFld, sal_uLong nNodePos ) String SwHistorySetTxtFld::GetDescription() const { - return m_pFld->GetFld()->GetDescription();; + return m_pFld->GetFld()->GetDescription(); } SwHistorySetTxtFld::~SwHistorySetTxtFld() diff --git a/sw/source/core/undo/unins.cxx b/sw/source/core/undo/unins.cxx index 2f1ee286e145..00c7b58e748a 100644 --- a/sw/source/core/undo/unins.cxx +++ b/sw/source/core/undo/unins.cxx @@ -378,7 +378,7 @@ void SwUndoInsert::RepeatImpl(::sw::RepeatContext & rContext) SwDoc & rDoc = rContext.GetDoc(); SwNodeIndex aNd( rDoc.GetNodes(), nNode ); - SwCntntNode* pCNd = aNd.GetNode().GetCntntNode();; + SwCntntNode* pCNd = aNd.GetNode().GetCntntNode(); if( !bIsAppend && 1 == nLen ) // >1 dann immer nur Text, ansonsten Grafik/OLE/Text/... { diff --git a/sw/source/core/unocore/unocrsrhelper.cxx b/sw/source/core/unocore/unocrsrhelper.cxx index 4c77cae0fc44..a44c14639e5f 100644 --- a/sw/source/core/unocore/unocrsrhelper.cxx +++ b/sw/source/core/unocore/unocrsrhelper.cxx @@ -543,7 +543,7 @@ sal_Bool getCrsrPropertyValue(const SfxItemPropertySimpleEntry& rEntry } eNewState = aCharStyles.getLength() ? - PropertyState_DIRECT_VALUE : PropertyState_DEFAULT_VALUE;; + PropertyState_DIRECT_VALUE : PropertyState_DEFAULT_VALUE; if(pAny) (*pAny) <<= aCharStyles; } @@ -615,7 +615,7 @@ void setNumberingProperty(const Any& rValue, SwPaM& rPam) SwCharFmt* pCharFmt = 0; for(sal_uInt16 nCharFmt = 0; nCharFmt < nChCount; nCharFmt++) { - SwCharFmt& rChFmt = *((*(pDoc->GetCharFmts()))[nCharFmt]);; + SwCharFmt& rChFmt = *((*(pDoc->GetCharFmts()))[nCharFmt]); if(rChFmt.GetName() == pNewCharStyles[i]) { pCharFmt = &rChFmt; diff --git a/sw/source/filter/basflt/shellio.cxx b/sw/source/filter/basflt/shellio.cxx index dc5c8a7d9ab6..3999f4707903 100644 --- a/sw/source/filter/basflt/shellio.cxx +++ b/sw/source/filter/basflt/shellio.cxx @@ -879,7 +879,7 @@ sal_uLong SwWriter::Write( WriterRef& rxWriter, const String* pRealFileName ) if ( pDoc && !pOutDoc->getPrinter( false ) ) { const SwPageDesc& rPgDsc = const_cast<const SwDoc *>(pOutDoc)->GetPageDesc( 0 ); - //const SwPageDesc& rPgDsc = *pOutDoc->GetPageDescFromPool( RES_POOLPAGE_STANDARD );; + //const SwPageDesc& rPgDsc = *pOutDoc->GetPageDescFromPool( RES_POOLPAGE_STANDARD ); const SwFmtFrmSize& rSz = rPgDsc.GetMaster().GetFrmSize(); // Clipboard-Dokument wird immer ohne Drucker angelegt, so ist // der Std.PageDesc immer aug LONG_MAX !! Mappe dann auf DIN A4 diff --git a/sw/source/filter/html/htmlplug.cxx b/sw/source/filter/html/htmlplug.cxx index f98542757322..d5c2d5fc161b 100644 --- a/sw/source/filter/html/htmlplug.cxx +++ b/sw/source/filter/html/htmlplug.cxx @@ -584,7 +584,7 @@ void SwHTMLParser::NewObject() // Objects that are declared only are not evaluated. Moreover, only // Java applets are supported. - sal_Bool bIsApplet = sal_False;; + sal_Bool bIsApplet = sal_False; if( !bDeclare && aClassID.Len() == 42 && aClassID.EqualsAscii( "clsid:", 0, 6 ) ) diff --git a/sw/source/filter/html/parcss1.cxx b/sw/source/filter/html/parcss1.cxx index ab13dfbe9171..feb6c1851718 100644 --- a/sw/source/filter/html/parcss1.cxx +++ b/sw/source/filter/html/parcss1.cxx @@ -201,7 +201,7 @@ CSS1Token CSS1Parser::GetNextToken() { case '{': if( !cQuoteCh && !bOldEscape ) - nBlockLvl++;; + nBlockLvl++; break; case ';': if( !cQuoteCh && !bOldEscape ) diff --git a/sw/source/ui/dochdl/swdtflvr.cxx b/sw/source/ui/dochdl/swdtflvr.cxx index f9bb431670f0..6f3905105b8b 100755 --- a/sw/source/ui/dochdl/swdtflvr.cxx +++ b/sw/source/ui/dochdl/swdtflvr.cxx @@ -766,7 +766,7 @@ int SwTransferable::PrepareForCopy( sal_Bool bIsCut ) { int nRet = 1; if(!pWrtShell) - return 0;; + return 0; String sGrfNm; const int nSelection = pWrtShell->GetSelectionType(); diff --git a/sw/source/ui/fldui/changedb.cxx b/sw/source/ui/fldui/changedb.cxx index 413080a6cf4f..5db57e0d4932 100644 --- a/sw/source/ui/fldui/changedb.cxx +++ b/sw/source/ui/fldui/changedb.cxx @@ -256,7 +256,7 @@ IMPL_LINK( SwChangeDBDlg, ButtonHdl, Button *, EMPTYARG ) sal_Bool bIsTable = sal_False; aData.sDataSource = aAvailDBTLB.GetDBName(sTableName, sColumnName, &bIsTable); aData.sCommand = sTableName; - aData.nCommandType = bIsTable ? 0 : 1;; + aData.nCommandType = bIsTable ? 0 : 1; pSh->ChgDBData(aData); ShowDBName(pSh->GetDBData()); EndDialog(RET_OK); diff --git a/sw/source/ui/inc/swcont.hxx b/sw/source/ui/inc/swcont.hxx index 9ae0856ea8d5..099ce7e6a6e9 100644 --- a/sw/source/ui/inc/swcont.hxx +++ b/sw/source/ui/inc/swcont.hxx @@ -102,7 +102,7 @@ public: // at first sort by position and then by name return nYPosition != rCont.nYPosition ? nYPosition < rCont.nYPosition : - sContentName < rCont.sContentName;; + sContentName < rCont.sContentName; } long GetYPos() const {return nYPosition;} diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx index 247c6f3b8709..3e07f62ba048 100644 --- a/sw/source/ui/index/cnttab.cxx +++ b/sw/source/ui/index/cnttab.cxx @@ -2505,7 +2505,7 @@ IMPL_LINK(SwTOXEntryTabPage, LevelHdl, SvTreeListBox*, pBox) // #i21237# SwFormTokens aPattern = m_pCurrentForm->GetPattern(nLevel + 1); - SwFormTokens::iterator aIt = aPattern.begin();; + SwFormTokens::iterator aIt = aPattern.begin(); while(aIt != aPattern.end()) { diff --git a/sw/source/ui/misc/pgfnote.cxx b/sw/source/ui/misc/pgfnote.cxx index 7088f5530f3d..661344c960a3 100644 --- a/sw/source/ui/misc/pgfnote.cxx +++ b/sw/source/ui/misc/pgfnote.cxx @@ -160,7 +160,7 @@ SwFootNotePage::SwFootNotePage(Window *pParent, const SfxItemSet &rSet) : SetMetric( aLineDistEdit, aMetric ); MeasurementSystem eSys = SvtSysLocale().GetLocaleData().getMeasurementSystemEnum(); long nHeightValue = MEASURE_METRIC != eSys ? 1440 : 1134; - aMaxHeightEdit.SetValue(aMaxHeightEdit.Normalize(nHeightValue),FUNIT_TWIP);; + aMaxHeightEdit.SetValue(aMaxHeightEdit.Normalize(nHeightValue),FUNIT_TWIP); aMaxHeightEdit.SetAccessibleRelationLabeledBy(&aMaxHeightBtn); } diff --git a/sw/source/ui/shells/drwtxtex.cxx b/sw/source/ui/shells/drwtxtex.cxx index 7839ed03313d..be020a989bb2 100644 --- a/sw/source/ui/shells/drwtxtex.cxx +++ b/sw/source/ui/shells/drwtxtex.cxx @@ -554,7 +554,7 @@ void SwDrawTextShell::GetState(SfxItemSet& rSet) { case SID_LANGUAGE_STATUS://20412: { - nSlotId = SwLangHelper::GetLanguageStatus(pOLV,rSet);; + nSlotId = SwLangHelper::GetLanguageStatus(pOLV,rSet); break; } diff --git a/sw/source/ui/uiview/srcview.cxx b/sw/source/ui/uiview/srcview.cxx index 023bf043e39f..d75a26e47e82 100644 --- a/sw/source/ui/uiview/srcview.cxx +++ b/sw/source/ui/uiview/srcview.cxx @@ -505,7 +505,7 @@ void SwSrcView::GetState(SfxItemSet& rSet) nCount = rMgr.GetUndoActionCount(); if(nCount) { - String aStr(SvtResId( STR_UNDO));; + String aStr(SvtResId( STR_UNDO)); aStr += rMgr.GetUndoActionComment(--nCount); rSet.Put(SfxStringItem(nWhich, aStr)); } @@ -517,7 +517,7 @@ void SwSrcView::GetState(SfxItemSet& rSet) nCount = rMgr.GetRedoActionCount(); if(nCount) { - String aStr(SvtResId( STR_REDO));; + String aStr(SvtResId( STR_REDO)); aStr += rMgr.GetRedoActionComment(--nCount); rSet.Put(SfxStringItem(nWhich,aStr)); } diff --git a/sw/source/ui/uiview/uivwimp.cxx b/sw/source/ui/uiview/uivwimp.cxx index 5f730ffa991c..e8787b2cb1c9 100644 --- a/sw/source/ui/uiview/uivwimp.cxx +++ b/sw/source/ui/uiview/uivwimp.cxx @@ -234,7 +234,7 @@ void SwView_Impl::Invalidate() void SwView_Impl::AddTransferable(SwTransferable& rTransferable) { //prevent removing of the non-referenced SwTransferable - rTransferable.m_refCount++;; + rTransferable.m_refCount++; { xTransferable = Reference<XUnoTunnel> (&rTransferable); } diff --git a/sw/source/ui/uiview/viewling.cxx b/sw/source/ui/uiview/viewling.cxx index 0da7e0f42030..10273953522b 100644 --- a/sw/source/ui/uiview/viewling.cxx +++ b/sw/source/ui/uiview/viewling.cxx @@ -193,7 +193,7 @@ void SwView::ExecLingu(SfxRequest &rReq) const SwPosition *pPoint = pWrtShell->GetCrsr()->GetPoint(); sal_Bool bRestoreCursor = pPoint->nNode.GetNode().IsTxtNode(); const SwNodeIndex aPointNodeIndex( pPoint->nNode ); - xub_StrLen nPointIndex = pPoint->nContent.GetIndex();; + xub_StrLen nPointIndex = pPoint->nContent.GetIndex(); // since this conversion is not interactive the whole converted // document should be undone in a single undo step. diff --git a/sw/source/ui/uiview/viewprt.cxx b/sw/source/ui/uiview/viewprt.cxx index 0ea40aac01c9..84162bdb9ab0 100644 --- a/sw/source/ui/uiview/viewprt.cxx +++ b/sw/source/ui/uiview/viewprt.cxx @@ -236,7 +236,7 @@ void SwView::ExecutePrint(SfxRequest& rReq) { short nBtn = SvxPrtQryBox(&GetEditWin()).Execute(); if( RET_CANCEL == nBtn ) - return;; + return; if( RET_OK == nBtn ) bPrintSelection = true; diff --git a/sw/source/ui/uno/unoatxt.cxx b/sw/source/ui/uno/unoatxt.cxx index 9aafcd308c92..dba39b10636c 100644 --- a/sw/source/ui/uno/unoatxt.cxx +++ b/sw/source/ui/uno/unoatxt.cxx @@ -75,7 +75,7 @@ uno::Reference< uno::XInterface > SAL_CALL SwXAutoTextContainer_createInstance( //the module may not be loaded SolarMutexGuard aGuard; SwGlobals::ensure(); - static uno::Reference< uno::XInterface > xAText = (cppu::OWeakObject*)new SwXAutoTextContainer();; + static uno::Reference< uno::XInterface > xAText = (cppu::OWeakObject*)new SwXAutoTextContainer(); return xAText; } diff --git a/sw/source/ui/uno/unomod.cxx b/sw/source/ui/uno/unomod.cxx index 299b17a3fa98..ac9ea9b173fa 100644 --- a/sw/source/ui/uno/unomod.cxx +++ b/sw/source/ui/uno/unomod.cxx @@ -208,7 +208,7 @@ static ChainablePropertySetInfo * lcl_createPrintSettingsInfo() Reference< uno::XInterface > SAL_CALL SwXModule_createInstance( const Reference< XMultiServiceFactory > & /*rSMgr*/) throw( Exception ) { - static Reference< uno::XInterface > xModule = (cppu::OWeakObject*)new SwXModule();; + static Reference< uno::XInterface > xModule = (cppu::OWeakObject*)new SwXModule(); return xModule; } diff --git a/sw/source/ui/uno/unotxdoc.cxx b/sw/source/ui/uno/unotxdoc.cxx index 6ac980825173..f0e3502c84b1 100644 --- a/sw/source/ui/uno/unotxdoc.cxx +++ b/sw/source/ui/uno/unotxdoc.cxx @@ -753,7 +753,7 @@ sal_Int32 SwXTextDocument::replaceAll(const Reference< util::XSearchDescriptor > else if(pSearch->bStyles) { SwTxtFmtColl *pSearchColl = lcl_GetParaStyle(pSearch->sSearchText, pUnoCrsr->GetDoc()); - SwTxtFmtColl *pReplaceColl = lcl_GetParaStyle(pSearch->sReplaceText, pUnoCrsr->GetDoc());; + SwTxtFmtColl *pReplaceColl = lcl_GetParaStyle(pSearch->sReplaceText, pUnoCrsr->GetDoc()); sal_Bool bCancel; nResult = pUnoCrsr->Find( *pSearchColl, @@ -3113,7 +3113,7 @@ uno::Sequence< lang::Locale > SAL_CALL SwXTextDocument::getDocumentLanguages( for (sal_uInt16 i = 0; i < pColls->Count(); ++i) { const SwAttrSet &rAttrSet = (*pColls)[i]->GetAttrSet(); - LanguageType nLang = LANGUAGE_DONTKNOW;; + LanguageType nLang = LANGUAGE_DONTKNOW; if (bLatin) { nLang = rAttrSet.GetLanguage( sal_False ).GetLanguage(); diff --git a/sw/source/ui/uno/unotxvw.cxx b/sw/source/ui/uno/unotxvw.cxx index 3635eb417c6b..b0b37db7f369 100644 --- a/sw/source/ui/uno/unotxvw.cxx +++ b/sw/source/ui/uno/unotxvw.cxx @@ -336,7 +336,7 @@ sal_Bool SwXTextView::select(const uno::Any& aInterface) throw( lang::IllegalArg } } - uno::Reference< text::XTextTable > xTbl(xInterface, uno::UNO_QUERY);; + uno::Reference< text::XTextTable > xTbl(xInterface, uno::UNO_QUERY); if(xTbl.is() && xIfcTunnel.is()) { @@ -385,7 +385,7 @@ sal_Bool SwXTextView::select(const uno::Any& aInterface) throw( lang::IllegalArg return sal_True; } } - uno::Reference< text::XTextContent > xBkm(xInterface, uno::UNO_QUERY);; + uno::Reference< text::XTextContent > xBkm(xInterface, uno::UNO_QUERY); if(xBkm.is() && xIfcTunnel.is()) { @@ -522,7 +522,7 @@ uno::Any SwXTextView::getSelection(void) throw( uno::RuntimeException ) OSL_ENSURE(rSh.GetTableFmt(), "kein Tabellenformat?"); uno::Reference< text::XTextTableCursor > xCrsr = new SwXTextTableCursor(*rSh.GetTableFmt(), rSh.GetTableCrsr()); - aRef = uno::Reference< uno::XInterface > (xCrsr, uno::UNO_QUERY);; + aRef = uno::Reference< uno::XInterface > (xCrsr, uno::UNO_QUERY); break; } @@ -591,7 +591,7 @@ uno::Any SwXTextView::getSelection(void) throw( uno::RuntimeException ) { SdrObject* pObj = rMarkList.GetMark(i)->GetMarkedSdrObj(); uno::Reference< uno::XInterface > xInt = pSvxDrawPage->GetInterface( pObj ); - uno::Reference< drawing::XShape > xShape(xInt, uno::UNO_QUERY);; + uno::Reference< drawing::XShape > xShape(xInt, uno::UNO_QUERY); xShCol->add(xShape); } aRef = uno::Reference< uno::XInterface >(xShCol, uno::UNO_QUERY); @@ -1941,7 +1941,7 @@ sal_Int64 SAL_CALL SwXTextViewCursor::getSomething( { return sal::static_int_cast< sal_Int64 >( reinterpret_cast< sal_IntPtr >( this )); } - return OTextCursorHelper::getSomething(rId);; + return OTextCursorHelper::getSomething(rId); } IMPLEMENT_FORWARD_XINTERFACE2(SwXTextViewCursor,SwXTextViewCursor_Base,OTextCursorHelper) diff --git a/sw/source/ui/vba/vbadocumentproperties.cxx b/sw/source/ui/vba/vbadocumentproperties.cxx index c0f12b3c7a96..1606d102f9e8 100644 --- a/sw/source/ui/vba/vbadocumentproperties.cxx +++ b/sw/source/ui/vba/vbadocumentproperties.cxx @@ -349,7 +349,7 @@ rtl::OUString SwVbaCustomDocumentProperty::getLinkSource( ) throw (script::BasicErrorException, uno::RuntimeException) { // #FIXME we need to store the link content somewhere - return rtl::OUString();; + return rtl::OUString(); } void diff --git a/testtools/source/bridgetest/cli/cli_cpp_bridgetest.cxx b/testtools/source/bridgetest/cli/cli_cpp_bridgetest.cxx index 7a9df4883b14..b1850d7f0efc 100644 --- a/testtools/source/bridgetest/cli/cli_cpp_bridgetest.cxx +++ b/testtools/source/bridgetest/cli/cli_cpp_bridgetest.cxx @@ -800,7 +800,7 @@ static bool raiseException(XBridgeTest* xLBT ) static private void perform_test( XBridgeTest* xLBT ) { - bool bRet= true;; + bool bRet= true; bRet = check( performTest( xLBT ), "standard test" ) && bRet; bRet = check( raiseException( xLBT ) , "exception test" )&& bRet; bRet = check( raiseOnewayException( xLBT ), "oneway exception test" ) && bRet; diff --git a/tools/source/fsys/unx.cxx b/tools/source/fsys/unx.cxx index 27ca617e86ac..9cea604c99a4 100644 --- a/tools/source/fsys/unx.cxx +++ b/tools/source/fsys/unx.cxx @@ -338,7 +338,7 @@ sal_uInt16 DirReader_Impl::Read() if ( pDir->pStatLst ) //Status fuer Sort gewuenscht? pDir->ImpSortedInsert( pTemp, new FileStat( aStat ) ); else - pDir->ImpSortedInsert( pTemp, NULL );; + pDir->ImpSortedInsert( pTemp, NULL ); return 1; } else diff --git a/tools/source/fsys/urlobj.cxx b/tools/source/fsys/urlobj.cxx index 40eb94691131..29d3f4821023 100644 --- a/tools/source/fsys/urlobj.cxx +++ b/tools/source/fsys/urlobj.cxx @@ -2888,7 +2888,7 @@ bool INetURLObject::parseHostOrNetBiosName( case ']': case '`': case '|': - return false;; + return false; } if (pCanonic != NULL) { appendUCS4( diff --git a/tools/source/generic/poly.cxx b/tools/source/generic/poly.cxx index f062b9e61185..9d81db3cc322 100644 --- a/tools/source/generic/poly.cxx +++ b/tools/source/generic/poly.cxx @@ -602,8 +602,8 @@ Polygon::Polygon( const Point& rBezPt1, const Point& rCtrlPt1, const double fY0 = rBezPt1.Y(); const double fX1 = 3.0 * rCtrlPt1.X(); const double fY1 = 3.0 * rCtrlPt1.Y(); - const double fX2 = 3.0 * rCtrlPt2.X();; - const double fY2 = 3.0 * rCtrlPt2.Y();; + const double fX2 = 3.0 * rCtrlPt2.X(); + const double fY2 = 3.0 * rCtrlPt2.Y(); const double fX3 = rBezPt2.X(); const double fY3 = rBezPt2.Y(); @@ -1644,7 +1644,7 @@ sal_Bool Polygon::operator==( const Polygon& rPoly ) const sal_Bool Polygon::IsEqual( const Polygon& rPoly ) const { - sal_Bool bIsEqual = sal_True;; + sal_Bool bIsEqual = sal_True; sal_uInt16 i; if ( GetSize() != rPoly.GetSize() ) bIsEqual = sal_False; diff --git a/tools/source/generic/poly2.cxx b/tools/source/generic/poly2.cxx index aa732f455262..089c7150d996 100644 --- a/tools/source/generic/poly2.cxx +++ b/tools/source/generic/poly2.cxx @@ -789,7 +789,7 @@ void PolyPolygon::Write( SvStream& rOStream ) const // Die einzelnen Polygone ausgeben for ( sal_uInt16 i = 0; i < nPolyCount; i++ ) - mpImplPolyPolygon->mpPolyAry[i]->ImplWrite( rOStream );; + mpImplPolyPolygon->mpPolyAry[i]->ImplWrite( rOStream ); } // ----------------------------------------------------------------------- diff --git a/ucbhelper/source/provider/providerhelper.cxx b/ucbhelper/source/provider/providerhelper.cxx index a994c8601527..d161d93269d3 100644 --- a/ucbhelper/source/provider/providerhelper.cxx +++ b/ucbhelper/source/provider/providerhelper.cxx @@ -185,7 +185,7 @@ sal_Int32 SAL_CALL ContentProviderImplHelper::compareContentIds( rtl::OUString aURL1( Id1->getContentIdentifier() ); rtl::OUString aURL2( Id2->getContentIdentifier() ); - return aURL1.compareTo( aURL2 );; + return aURL1.compareTo( aURL2 ); } //========================================================================= diff --git a/unotools/source/ucbhelper/ucblockbytes.cxx b/unotools/source/ucbhelper/ucblockbytes.cxx index a53c7bf883fd..e9fa41b353bf 100644 --- a/unotools/source/ucbhelper/ucblockbytes.cxx +++ b/unotools/source/ucbhelper/ucblockbytes.cxx @@ -1602,7 +1602,7 @@ IMPL_LINK( UcbLockBytes, DataAvailHdl, void*, EMPTYARG ) UcbLockBytesRef UcbLockBytes::CreateInputLockBytes( const Reference< XInputStream >& xInputStream ) { if( !xInputStream.is() ) - return NULL;; + return NULL; UcbLockBytesRef xLockBytes = new UcbLockBytes(); xLockBytes->setDontClose_Impl(); @@ -1614,7 +1614,7 @@ UcbLockBytesRef UcbLockBytes::CreateInputLockBytes( const Reference< XInputStrea UcbLockBytesRef UcbLockBytes::CreateLockBytes( const Reference< XStream >& xStream ) { if( !xStream.is() ) - return NULL;; + return NULL; UcbLockBytesRef xLockBytes = new UcbLockBytes(); xLockBytes->setDontClose_Impl(); @@ -1627,7 +1627,7 @@ UcbLockBytesRef UcbLockBytes::CreateLockBytes( const Reference < XContent >& xCo const Reference < XInputStream >& xPostData, const Reference < XInteractionHandler >& xInteractionHandler, UcbLockBytesHandler* pHandler ) { if( !xContent.is() ) - return NULL;; + return NULL; UcbLockBytesRef xLockBytes = new UcbLockBytes( pHandler ); xLockBytes->SetSynchronMode( !pHandler ); @@ -1666,7 +1666,7 @@ UcbLockBytesRef UcbLockBytes::CreateLockBytes( const Reference < XContent >& xCo StreamMode eOpenMode, const Reference < XInteractionHandler >& xInteractionHandler, UcbLockBytesHandler* pHandler ) { if( !xContent.is() ) - return NULL;; + return NULL; UcbLockBytesRef xLockBytes = new UcbLockBytes( pHandler ); xLockBytes->SetSynchronMode( !pHandler ); diff --git a/vbahelper/source/vbahelper/vbapagesetupbase.cxx b/vbahelper/source/vbahelper/vbapagesetupbase.cxx index 976fc232cc5b..1cdca49ed9fc 100644 --- a/vbahelper/source/vbahelper/vbapagesetupbase.cxx +++ b/vbahelper/source/vbahelper/vbapagesetupbase.cxx @@ -155,7 +155,7 @@ double SAL_CALL VbaPageSetupBase::getRightMargin() throw (css::uno::RuntimeExcep { } - return Millimeter::getInPoints( rightMargin );; + return Millimeter::getInPoints( rightMargin ); } void SAL_CALL VbaPageSetupBase::setRightMargin( double margin ) throw (css::uno::RuntimeException) @@ -185,7 +185,7 @@ double SAL_CALL VbaPageSetupBase::getLeftMargin() throw (css::uno::RuntimeExcept { } - return Millimeter::getInPoints( leftMargin );; + return Millimeter::getInPoints( leftMargin ); } void SAL_CALL VbaPageSetupBase::setLeftMargin( double margin ) throw (css::uno::RuntimeException) @@ -214,7 +214,7 @@ double SAL_CALL VbaPageSetupBase::getHeaderMargin() throw (css::uno::RuntimeExce { } - return Millimeter::getInPoints( headerMargin );; + return Millimeter::getInPoints( headerMargin ); } void SAL_CALL VbaPageSetupBase::setHeaderMargin( double margin ) throw (css::uno::RuntimeException) @@ -243,7 +243,7 @@ double SAL_CALL VbaPageSetupBase::getFooterMargin() throw (css::uno::RuntimeExce { } - return Millimeter::getInPoints( footerMargin );; + return Millimeter::getInPoints( footerMargin ); } void SAL_CALL VbaPageSetupBase::setFooterMargin( double margin ) throw (css::uno::RuntimeException) diff --git a/vcl/aqua/source/gdi/salnativewidgets.cxx b/vcl/aqua/source/gdi/salnativewidgets.cxx index 81060fd38633..1b3798e483b0 100644 --- a/vcl/aqua/source/gdi/salnativewidgets.cxx +++ b/vcl/aqua/source/gdi/salnativewidgets.cxx @@ -795,7 +795,7 @@ sal_Bool AquaSalGraphics::drawNativeControl(ControlType nType, { aTrackDraw.bounds = rc; aTrackDraw.min = pSLVal->mnMin; - aTrackDraw.max = pSLVal->mnMax;; + aTrackDraw.max = pSLVal->mnMax; aTrackDraw.value = pSLVal->mnCur; aTrackDraw.reserved = 0; aTrackDraw.attributes = kThemeTrackShowThumb; diff --git a/vcl/aqua/source/window/salobj.cxx b/vcl/aqua/source/window/salobj.cxx index 7abb49bd40f7..38fa396c4d51 100644 --- a/vcl/aqua/source/window/salobj.cxx +++ b/vcl/aqua/source/window/salobj.cxx @@ -188,7 +188,7 @@ void AquaSalObject::setClippedPosSize() aClipViewRect.size.height = mnClipHeight; aClipPt.x = mnClipX; if( mnClipY == 0 ) - aClipPt.y = mnHeight - mnClipHeight;; + aClipPt.y = mnHeight - mnClipHeight; } mpFrame->VCLToCocoa( aClipViewRect, false ); diff --git a/vcl/generic/fontmanager/parseAFM.cxx b/vcl/generic/fontmanager/parseAFM.cxx index 4abd4dbef76c..6297ef8cbc8b 100644 --- a/vcl/generic/fontmanager/parseAFM.cxx +++ b/vcl/generic/fontmanager/parseAFM.cxx @@ -834,7 +834,7 @@ static int parseCharMetrics( FileInputStream* fp, register FontInfo* fi) (*tail)->lig = (char *)strdup(keyword); break; } case ENDCHARMETRICS: - cont = false;; + cont = false; break; case ENDFONTMETRICS: cont = false; diff --git a/vcl/ios/source/window/salobj.cxx b/vcl/ios/source/window/salobj.cxx index 033e5316af32..ba2b1b0b8c7d 100644 --- a/vcl/ios/source/window/salobj.cxx +++ b/vcl/ios/source/window/salobj.cxx @@ -179,7 +179,7 @@ void IosSalObject::setClippedPosSize() aClipViewRect.size.height = mnClipHeight; aClipPt.x = mnClipX; if( mnClipY == 0 ) - aClipPt.y = mnHeight - mnClipHeight;; + aClipPt.y = mnHeight - mnClipHeight; } mpFrame->VCLToCocoaTouch( aClipViewRect, false ); diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx index 25e8de594664..f41cf74eb7fe 100644 --- a/vcl/source/control/button.cxx +++ b/vcl/source/control/button.cxx @@ -887,7 +887,7 @@ void PushButton::ImplDrawPushButtonContent( OutputDevice* pDev, sal_uLong nDrawF DecorationView aDecoView( pDev ); if( bMenuBtnSep ) { - long nX = aInRect.Left() - 2*nDistance;; + long nX = aInRect.Left() - 2*nDistance; Point aStartPt( nX, aInRect.Top()+nDistance ); Point aEndPt( nX, aInRect.Bottom()-nDistance ); aDecoView.DrawSeparator( aStartPt, aEndPt ); diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx index cfa4fc8bf702..a70ce3c7fcf0 100644 --- a/vcl/source/control/edit.cxx +++ b/vcl/source/control/edit.cxx @@ -764,7 +764,7 @@ void Edit::ImplDelete( const Selection& rSelection, sal_uInt8 nDirection, sal_uI else { sal_Int32 nCount = 1; - aSelection.Max() = xBI->nextCharacters( maText, aSelection.Max(), GetSettings().GetLocale(), i18n::CharacterIteratorMode::SKIPCHARACTER, nCount, nCount );; + aSelection.Max() = xBI->nextCharacters( maText, aSelection.Max(), GetSettings().GetLocale(), i18n::CharacterIteratorMode::SKIPCHARACTER, nCount, nCount ); } } } diff --git a/vcl/source/control/scrbar.cxx b/vcl/source/control/scrbar.cxx index 4004ba5cdf64..bb4cc3cfdb2c 100644 --- a/vcl/source/control/scrbar.cxx +++ b/vcl/source/control/scrbar.cxx @@ -335,7 +335,7 @@ long ScrollBar::ImplCalcThumbPosPix( long nPos ) void ScrollBar::ImplCalc( sal_Bool bUpdate ) { const Size aSize = GetOutputSizePixel(); - const long nMinThumbSize = GetSettings().GetStyleSettings().GetMinThumbSize();; + const long nMinThumbSize = GetSettings().GetStyleSettings().GetMinThumbSize(); Rectangle& maTrackRect = mpData->maTrackRect; // TODO: remove when maTrackRect is no longer in mpData if ( mbCalcSize ) diff --git a/vcl/source/gdi/bitmap2.cxx b/vcl/source/gdi/bitmap2.cxx index a8ac07b32335..90d407ee94e0 100644 --- a/vcl/source/gdi/bitmap2.cxx +++ b/vcl/source/gdi/bitmap2.cxx @@ -280,7 +280,7 @@ sal_Bool Bitmap::ImplReadDIBFileHeader( SvStream& rIStm, sal_uLong& rOffset ) rIStm >> nTmp16; rIStm.SeekRel( 8L ); rIStm >> nTmp32; - rOffset = nTmp32 - 28UL;; + rOffset = nTmp32 - 28UL; bRet = ( 0x4D42 == nTmp16 ); } else diff --git a/vcl/source/gdi/metaact.cxx b/vcl/source/gdi/metaact.cxx index 6d7ac00cf87f..a0b6c3b27c6b 100644 --- a/vcl/source/gdi/metaact.cxx +++ b/vcl/source/gdi/metaact.cxx @@ -962,7 +962,7 @@ void MetaPolyLineAction::Scale( double fScaleX, double fScaleY ) sal_Bool MetaPolyLineAction::Compare( const MetaAction& rMetaAction ) const { - sal_Bool bIsEqual = sal_True;; + sal_Bool bIsEqual = sal_True; if ( maLineInfo != ((MetaPolyLineAction&)rMetaAction).maLineInfo ) bIsEqual = sal_False; else diff --git a/vcl/source/gdi/outmap.cxx b/vcl/source/gdi/outmap.cxx index c4d03caf2a1e..6fca015a7066 100644 --- a/vcl/source/gdi/outmap.cxx +++ b/vcl/source/gdi/outmap.cxx @@ -274,7 +274,7 @@ static void ImplCalcMapResolution( const MapMode& rMapMode, else rMapRes.mnMapScNumX = pSVData->maGDIData.mnAppFontX; rMapRes.mnMapScDenomX = nDPIX * 40; - rMapRes.mnMapScNumY = pSVData->maGDIData.mnAppFontY;; + rMapRes.mnMapScNumY = pSVData->maGDIData.mnAppFontY; rMapRes.mnMapScDenomY = nDPIY * 80; } break; diff --git a/vcl/source/gdi/pngread.cxx b/vcl/source/gdi/pngread.cxx index 0d6a06c3632f..cb4f72ea37de 100644 --- a/vcl/source/gdi/pngread.cxx +++ b/vcl/source/gdi/pngread.cxx @@ -284,7 +284,7 @@ bool PNGReaderImpl::ReadNextChunk() return false; // calculate chunktype CRC (swap it back to original byte order) - sal_uInt32 nChunkType = mnChunkType;; + sal_uInt32 nChunkType = mnChunkType; #if defined(__LITTLEENDIAN) || defined(OSL_LITENDIAN) nChunkType = SWAPLONG( nChunkType ); #endif diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx index e143dfec8d22..65a83a5b82ea 100644 --- a/vcl/source/window/menu.cxx +++ b/vcl/source/window/menu.cxx @@ -341,7 +341,7 @@ MenuItemData* MenuItemList::SearchItem( { const vcl::I18nHelper& rI18nHelper = Application::GetSettings().GetUILocaleI18nHelper(); - size_t nListCount = maItemList.size();; + size_t nListCount = maItemList.size(); // try character code first nDuplicates = GetItemCount( cSelectChar ); // return number of duplicates diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx index 217cac0776c7..6fd3fab8f583 100644 --- a/vcl/source/window/toolbox.cxx +++ b/vcl/source/window/toolbox.cxx @@ -2621,7 +2621,7 @@ void ToolBox::ImplFormat( sal_Bool bResize ) } else { - maUpperRect.Top() = nTop+nMax+TB_SPIN_OFFSET;; + maUpperRect.Top() = nTop+nMax+TB_SPIN_OFFSET; maUpperRect.Bottom() = maUpperRect.Top()+TB_SPIN_SIZE-1; maUpperRect.Left() = nLeft; maLowerRect.Right() = mnDX-mnRightBorder-mnBorderX-TB_BORDER_OFFSET2-1; diff --git a/vcl/unx/generic/app/i18n_ic.cxx b/vcl/unx/generic/app/i18n_ic.cxx index f5f8138e527b..7b48cab75d12 100644 --- a/vcl/unx/generic/app/i18n_ic.cxx +++ b/vcl/unx/generic/app/i18n_ic.cxx @@ -202,7 +202,7 @@ SalI18N_InputContext::SalI18N_InputContext ( SalFrame *pFrame ) : maClientData.aText.pUnicodeBuffer = (sal_Unicode*)malloc(PREEDIT_BUFSZ * sizeof(sal_Unicode)); maClientData.aText.pCharStyle = - (XIMFeedback*)malloc(PREEDIT_BUFSZ * sizeof(XIMFeedback));; + (XIMFeedback*)malloc(PREEDIT_BUFSZ * sizeof(XIMFeedback)); maClientData.aText.nSize = PREEDIT_BUFSZ; maClientData.aText.nCursorPos = 0; maClientData.aText.nLength = 0; diff --git a/vcl/unx/kde4/KDESalGraphics.cxx b/vcl/unx/kde4/KDESalGraphics.cxx index b673644db165..c552d91b2e9d 100644 --- a/vcl/unx/kde4/KDESalGraphics.cxx +++ b/vcl/unx/kde4/KDESalGraphics.cxx @@ -281,7 +281,7 @@ sal_Bool KDESalGraphics::drawNativeControl( ControlType type, ControlPart part, OSL_ASSERT( value.getType() != CTRL_SPINBUTTONS ); const SpinbuttonValue* pSpinVal = static_cast<const SpinbuttonValue *>(&value); Rectangle aButtonRect( pSpinVal->maUpperRect); - aButtonRect.Union( pSpinVal->maLowerRect );; + aButtonRect.Union( pSpinVal->maLowerRect ); widgetRect = QRect( aButtonRect.Left(), aButtonRect.Top(), aButtonRect.Right(), aButtonRect.Bottom() ); } diff --git a/vcl/win/source/gdi/salgdi3.cxx b/vcl/win/source/gdi/salgdi3.cxx index 8be7a025b19b..cf7941e67805 100644 --- a/vcl/win/source/gdi/salgdi3.cxx +++ b/vcl/win/source/gdi/salgdi3.cxx @@ -515,7 +515,7 @@ bool WinGlyphFallbackSubstititution::HasMissingChars( const ImplFontData* pFace, HFONT hOldFont = ::SelectFont( mhDC, hNewFont ); // read CMAP table to update their pCharMap - pWinFont->UpdateFromHDC( mhDC );; + pWinFont->UpdateFromHDC( mhDC ); // cleanup temporary font ::SelectFont( mhDC, hOldFont ); @@ -1769,7 +1769,7 @@ void WinSalGraphics::GetFontMetric( ImplFontMetricData* pMetric, int nFallbackLe return; // device independent font attributes - pMetric->meFamily = ImplFamilyToSal( aWinMetric.tmPitchAndFamily );; + pMetric->meFamily = ImplFamilyToSal( aWinMetric.tmPitchAndFamily ); pMetric->mbSymbolFlag = (aWinMetric.tmCharSet == SYMBOL_CHARSET); pMetric->meWeight = ImplWeightToSal( aWinMetric.tmWeight ); pMetric->mePitch = ImplMetricPitchToSal( aWinMetric.tmPitchAndFamily ); @@ -2259,7 +2259,7 @@ static bool ImplGetFontAttrFromFile( const String& rFontFileURL, rDFA.meWidthType = WIDTH_DONTKNOW; rDFA.meWeight = WEIGHT_DONTKNOW; rDFA.meItalic = ITALIC_DONTKNOW; - rDFA.mePitch = PITCH_DONTKNOW;; + rDFA.mePitch = PITCH_DONTKNOW; rDFA.mbSubsettable= true; rDFA.mbEmbeddable = false; @@ -2377,7 +2377,7 @@ bool WinSalGraphics::AddTempDevFont( ImplDevFontList* pFontList, aDFA.meWidthType = WIDTH_DONTKNOW; aDFA.meWeight = WEIGHT_DONTKNOW; aDFA.meItalic = ITALIC_DONTKNOW; - aDFA.mePitch = PITCH_DONTKNOW;; + aDFA.mePitch = PITCH_DONTKNOW; aDFA.mbSubsettable= true; aDFA.mbEmbeddable = false; diff --git a/writerfilter/source/dmapper/FFDataHandler.cxx b/writerfilter/source/dmapper/FFDataHandler.cxx index 478aebdadaa8..4dac6f4996ea 100644 --- a/writerfilter/source/dmapper/FFDataHandler.cxx +++ b/writerfilter/source/dmapper/FFDataHandler.cxx @@ -141,7 +141,7 @@ void FFDataHandler::lcl_sprm(Sprm & r_Sprm) break; case NS_ooxml::LN_CT_FFDDList_listEntry: { - m_DropDownEntries.push_back(r_Sprm.getValue()->getString());; + m_DropDownEntries.push_back(r_Sprm.getValue()->getString()); } break; case NS_ooxml::LN_CT_FFData_ddList: diff --git a/writerfilter/source/doctok/WW8Picture.cxx b/writerfilter/source/doctok/WW8Picture.cxx index 402da093b4dd..ec733ea02216 100644 --- a/writerfilter/source/doctok/WW8Picture.cxx +++ b/writerfilter/source/doctok/WW8Picture.cxx @@ -133,7 +133,7 @@ static sal_uInt32 lcl_FFDATA_formatting_offset(WW8FFDATA & rRef) break; } - return nResult;; + return nResult; } static sal_uInt32 lcl_FFDATA_help_offset(WW8FFDATA & rRef) @@ -142,7 +142,7 @@ static sal_uInt32 lcl_FFDATA_help_offset(WW8FFDATA & rRef) nResult += (rRef.getU16(nResult) + 2) * 2; - return nResult;; + return nResult; } static sal_uInt32 lcl_FFDATA_tooltip_offset(WW8FFDATA & rRef) @@ -151,7 +151,7 @@ static sal_uInt32 lcl_FFDATA_tooltip_offset(WW8FFDATA & rRef) nResult += (rRef.getU16(nResult) + 2) * 2; - return nResult;; + return nResult; } rtl::OUString WW8FFDATA::get_default() diff --git a/xml2cmp/source/xcd/xmltree.cxx b/xml2cmp/source/xcd/xmltree.cxx index 6c823a1d8054..58e7c9278688 100644 --- a/xml2cmp/source/xcd/xmltree.cxx +++ b/xml2cmp/source/xcd/xmltree.cxx @@ -156,7 +156,7 @@ CompDescrList::Create_and_Add_NewElement() void CompDescrList::Get_SupportedServices( List< const MultipleTextElement * > & o_rResult ) const { - unsigned i_max = aCDs.size();; + unsigned i_max = aCDs.size(); for (unsigned i = 0; i < i_max; ++i) { o_rResult.push_back(& aCDs[i]->SupportedServices()); @@ -166,7 +166,7 @@ CompDescrList::Get_SupportedServices( List< const MultipleTextElement * > & o_rR void CompDescrList::Get_Types( List< const MultipleTextElement * > & o_rResult ) const { - unsigned i_max = aCDs.size();; + unsigned i_max = aCDs.size(); for (unsigned i = 0; i < i_max; ++i) { o_rResult.push_back(& aCDs[i]->Types()); @@ -176,7 +176,7 @@ CompDescrList::Get_Types( List< const MultipleTextElement * > & o_rResult ) cons void CompDescrList::Get_ServiceDependencies( List< const MultipleTextElement * > & o_rResult ) const { - unsigned i_max = aCDs.size();; + unsigned i_max = aCDs.size(); for (unsigned i = 0; i < i_max; ++i) { o_rResult.push_back(& aCDs[i]->ServiceDependencies()); diff --git a/xmloff/source/core/nmspmap.cxx b/xmloff/source/core/nmspmap.cxx index b6b2054518e9..24605cedb849 100644 --- a/xmloff/source/core/nmspmap.cxx +++ b/xmloff/source/core/nmspmap.cxx @@ -228,7 +228,7 @@ OUString SvXMLNamespaceMap::GetQNameByKey( sal_uInt16 nKey, sQName.append ( sal_Unicode(':') ); sQName.append ( rLocalName ); } - return sQName.makeStringAndClear();; + return sQName.makeStringAndClear(); } case XML_NAMESPACE_XML: { @@ -237,7 +237,7 @@ OUString SvXMLNamespaceMap::GetQNameByKey( sal_uInt16 nKey, sQName.append ( GetXMLToken(XML_XML) ); sQName.append ( sal_Unicode(':') ); sQName.append ( rLocalName ); - return sQName.makeStringAndClear();; + return sQName.makeStringAndClear(); } default: { diff --git a/xmloff/source/core/xmlexp.cxx b/xmloff/source/core/xmlexp.cxx index a074d03607e1..8576daed90ed 100644 --- a/xmloff/source/core/xmlexp.cxx +++ b/xmloff/source/core/xmlexp.cxx @@ -2437,7 +2437,7 @@ void SvXMLExport::DisposingModel() { mxModel.clear(); // Shapes in Writer cannot be named via context menu (#i51726#) - meModelType = SvtModuleOptions::E_UNKNOWN_FACTORY;; + meModelType = SvtModuleOptions::E_UNKNOWN_FACTORY; mxEventListener.clear(); } diff --git a/xmloff/source/style/xmlstyle.cxx b/xmloff/source/style/xmlstyle.cxx index b091d14663c7..668577c0322b 100644 --- a/xmloff/source/style/xmlstyle.cxx +++ b/xmloff/source/style/xmlstyle.cxx @@ -176,7 +176,7 @@ SvXMLImportContext *SvXMLStyleContext::CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const uno::Reference< xml::sax::XAttributeList > & ) { - return new SvXMLImportContext( GetImport(), nPrefix, rLocalName );; + return new SvXMLImportContext( GetImport(), nPrefix, rLocalName ); } void SvXMLStyleContext::StartElement( const uno::Reference< xml::sax::XAttributeList > & xAttrList ) diff --git a/xmloff/source/text/txtexppr.cxx b/xmloff/source/text/txtexppr.cxx index 48c2e64943b8..f7eb9c925487 100644 --- a/xmloff/source/text/txtexppr.cxx +++ b/xmloff/source/text/txtexppr.cxx @@ -881,7 +881,7 @@ void XMLTextExportPropertySetMapper::ContextFilter( if( pHoriOrientRelState && TextContentAnchorType_AT_FRAME == eAnchor ) pHoriOrientRelState->mnIndex = -1; if( pHoriOrientRelFrameState && TextContentAnchorType_AT_FRAME != eAnchor ) - pHoriOrientRelFrameState->mnIndex = -1;; + pHoriOrientRelFrameState->mnIndex = -1; if( pVertOrientState && TextContentAnchorType_AT_CHARACTER == eAnchor ) pVertOrientState->mnIndex = -1; @@ -943,7 +943,7 @@ void XMLTextExportPropertySetMapper::ContextFilter( if( pShapeHoriOrientRelState && TextContentAnchorType_AT_FRAME == eAnchor ) pShapeHoriOrientRelState->mnIndex = -1; if( pShapeHoriOrientRelFrameState && TextContentAnchorType_AT_FRAME != eAnchor ) - pShapeHoriOrientRelFrameState->mnIndex = -1;; + pShapeHoriOrientRelFrameState->mnIndex = -1; if( pShapeVertOrientState && TextContentAnchorType_AT_CHARACTER == eAnchor ) pShapeVertOrientState->mnIndex = -1; diff --git a/xmlsecurity/source/xmlsec/saxhelper.cxx b/xmlsecurity/source/xmlsec/saxhelper.cxx index 0fd2060c239b..d06c9a976d33 100644 --- a/xmlsecurity/source/xmlsec/saxhelper.cxx +++ b/xmlsecurity/source/xmlsec/saxhelper.cxx @@ -73,7 +73,7 @@ const xmlChar** attrlist_to_nxmlstr( const cssu::Sequence< cssxcsax::XMLAttribut const xmlChar** attrs = NULL ; rtl::OUString oustr ; - sal_Int32 nLength = aAttributes.getLength();; + sal_Int32 nLength = aAttributes.getLength(); if( nLength != 0 ) { |