From 6a8f6c4b1324e28c598a065683103ac2ef8ea3fc Mon Sep 17 00:00:00 2001 From: Jesse Date: Wed, 14 Dec 2011 14:43:58 -0500 Subject: Removed extra semicolons --- svx/inc/svx/svdmrkv.hxx | 2 +- svx/source/form/fmsrcimp.cxx | 2 +- svx/source/gallery2/galctrl.cxx | 2 +- svx/source/inc/fmundo.hxx | 2 +- svx/source/items/numfmtsh.cxx | 2 +- svx/source/stbctrls/zoomsliderctrl.cxx | 6 +++--- svx/source/svdraw/svdopath.cxx | 2 +- svx/source/table/accessibletableshape.cxx | 2 +- svx/source/table/propertyset.cxx | 2 +- 9 files changed, 11 insertions(+), 11 deletions(-) (limited to 'svx') 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; } // ----------------------------------------------------------------------------- -- cgit