From 64d624b65124ac02d8ee59b135593fd9d8eb9067 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Sat, 9 Jan 2016 22:55:28 +0100 Subject: Fix typos Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86 Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins Reviewed-by: Ashod Nakashian --- sd/qa/unit/export-tests.cxx | 2 +- sd/source/core/drawdoc3.cxx | 2 +- sd/source/core/sdiocmpt.cxx | 2 +- sd/source/filter/eppt/epptso.cxx | 4 ++-- sd/source/filter/eppt/pptexanimations.cxx | 2 +- sd/source/filter/html/pubdlg.cxx | 2 +- sd/source/filter/ppt/pptin.cxx | 2 +- sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx | 2 +- sd/source/ui/animations/CustomAnimationDialog.cxx | 2 +- sd/source/ui/controller/displaymodecontroller.cxx | 2 +- sd/source/ui/dlg/dlgass.cxx | 2 +- sd/source/ui/framework/configuration/ConfigurationUpdater.cxx | 2 +- sd/source/ui/inc/AccessibleDrawDocumentView.hxx | 2 +- sd/source/ui/inc/WindowUpdater.hxx | 4 ++-- sd/source/ui/inc/framework/Configuration.hxx | 2 +- sd/source/ui/inc/fuconstr.hxx | 2 +- sd/source/ui/inc/fupoor.hxx | 2 +- sd/source/ui/inc/strings.hrc | 2 +- sd/source/ui/inc/tools/IdleDetection.hxx | 2 +- sd/source/ui/presenter/PresenterCanvas.cxx | 2 +- sd/source/ui/remotecontrol/BluetoothServer.cxx | 4 ++-- sd/source/ui/slideshow/slideshow.cxx | 2 +- sd/source/ui/slideshow/slideshowimpl.cxx | 4 ++-- sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx | 2 +- sd/source/ui/slidesorter/inc/controller/SlsPageSelector.hxx | 2 +- sd/source/ui/slidesorter/inc/controller/SlsProperties.hxx | 2 +- sd/source/ui/slidesorter/view/SlsFramePainter.cxx | 2 +- sd/source/ui/unoidl/unoobj.cxx | 4 ++-- sd/source/ui/view/Outliner.cxx | 2 +- sd/source/ui/view/ToolBarManager.cxx | 2 +- sd/source/ui/view/drviewsj.cxx | 2 +- sd/source/ui/view/outlnvsh.cxx | 2 +- sd/source/ui/view/sdview2.cxx | 2 +- sd/source/ui/view/sdview3.cxx | 2 +- 34 files changed, 39 insertions(+), 39 deletions(-) (limited to 'sd') diff --git a/sd/qa/unit/export-tests.cxx b/sd/qa/unit/export-tests.cxx index 32175f4d5efe..3ddde53113b7 100644 --- a/sd/qa/unit/export-tests.cxx +++ b/sd/qa/unit/export-tests.cxx @@ -242,7 +242,7 @@ void SdExportTest::testBnc870233_1() const SdrPage *pPage = GetPage( 1, xDocShRef ); - // The problem was all shapes had the same font (the last parsed font attribues overwrote all previous ones) + // The problem was all shapes had the same font (the last parsed font attributes overwrote all previous ones) // First shape has red, bold font { diff --git a/sd/source/core/drawdoc3.cxx b/sd/source/core/drawdoc3.cxx index 0a3502e64815..b326667387cf 100644 --- a/sd/source/core/drawdoc3.cxx +++ b/sd/source/core/drawdoc3.cxx @@ -1467,7 +1467,7 @@ void SdDrawDocument::SetMasterPage(sal_uInt16 nSdPageNum, DBG_ASSERT(pMaster, "MasterPage (Standard page) not found"); DBG_ASSERT(pNotesMaster, "MasterPage (Notes page) not found"); - // this should not happen, but looking at crashreports, it does + // this should not happen, but looking at crash reports, it does if( (pMaster == nullptr) || (pNotesMaster == nullptr) ) { // so take the first MasterPage diff --git a/sd/source/core/sdiocmpt.cxx b/sd/source/core/sdiocmpt.cxx index 3795a4adef82..a6eee5d70dad 100644 --- a/sd/source/core/sdiocmpt.cxx +++ b/sd/source/core/sdiocmpt.cxx @@ -104,7 +104,7 @@ SdIOCompat::SdIOCompat(SvStream& rNewStream, StreamMode nNewMode, sal_uInt16 nVe if (nNewMode == StreamMode::WRITE) { DBG_ASSERT(nVer != SDIOCOMPAT_VERSIONDONTKNOW, - "canĀ“t write unknown version"); + "can't write unknown version"); rNewStream.WriteUInt16( nVersion ); } else if (nNewMode == StreamMode::READ) diff --git a/sd/source/filter/eppt/epptso.cxx b/sd/source/filter/eppt/epptso.cxx index 91a9cde63e94..901a1c0354d4 100644 --- a/sd/source/filter/eppt/epptso.cxx +++ b/sd/source/filter/eppt/epptso.cxx @@ -820,7 +820,7 @@ void PPTWriter::ImplWritePortions( SvStream& rOut, TextObj& rTextObj ) { sal_uInt32 nBackgroundColor = 0xffffff; - if ( !nCharColor ) // special threatment for + if ( !nCharColor ) // special treatment for nCharColor = 0xffffff; // black fontcolor css::uno::Any aAny; @@ -3006,7 +3006,7 @@ void PPTWriter::ImplWritePage( const PHLayout& rLayout, EscherSolverContainer& a mpExEmbed->WriteUInt32( EPP_ExEmbedAtom << 16 ) .WriteUInt32( 8 ) .WriteUInt32( 0 ) // follow colorscheme : 0->do not follow - // 1->follow collorscheme + // 1->follow colorscheme // 2->follow text and background scheme .WriteUChar( 1 ) // (bool)set if embedded server can not be locked .WriteUChar( 0 ) // (bool)do not need to send dimension diff --git a/sd/source/filter/eppt/pptexanimations.cxx b/sd/source/filter/eppt/pptexanimations.cxx index 2dcea0df8a8d..3ca397048a8e 100644 --- a/sd/source/filter/eppt/pptexanimations.cxx +++ b/sd/source/filter/eppt/pptexanimations.cxx @@ -909,7 +909,7 @@ void AnimationExporter::GetUserData( const Sequence< NamedValue >& rUserData, co } else if ( p->Name == "master-element" ) { - pAny[ DFF_ANIM_AFTEREFFECT ] = &(p->Value);; + pAny[ DFF_ANIM_AFTEREFFECT ] = &(p->Value); } p++; } diff --git a/sd/source/filter/html/pubdlg.cxx b/sd/source/filter/html/pubdlg.cxx index 214d5bf816af..084bfd432850 100644 --- a/sd/source/filter/html/pubdlg.cxx +++ b/sd/source/filter/html/pubdlg.cxx @@ -1578,7 +1578,7 @@ bool SdPublishingDlg::Save() sal_uInt16 aCheck = nMagic; pStream->WriteUInt16( aCheck ); - // Destroys the SdIOCompat before the Stream is being destributed + // Destroys the SdIOCompat before the Stream is being distributed { SdIOCompat aIO(*pStream, StreamMode::WRITE, 0); diff --git a/sd/source/filter/ppt/pptin.cxx b/sd/source/filter/ppt/pptin.cxx index 4d6535545d64..4d4d96510419 100644 --- a/sd/source/filter/ppt/pptin.cxx +++ b/sd/source/filter/ppt/pptin.cxx @@ -1864,7 +1864,7 @@ void ImplSdPPTImport::ImportPageEffect( SdPage* pPage, const bool bNewAnimations for( ;aIter != aEnd; ++aIter ) { - Ppt97AnimationPtr pPpt97Animation = (*aIter).second;; + Ppt97AnimationPtr pPpt97Animation = (*aIter).second; if( pPpt97Animation.get() ) pPpt97Animation->createAndSetCustomAnimationEffect( (*aIter).first ); } diff --git a/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx b/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx index 9706c33bc2f1..28c606216431 100644 --- a/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx +++ b/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx @@ -694,7 +694,7 @@ bool return bRet; } -/** Select or delselect the specified shapes. The corresponding accessible +/** Select or deselect the specified shapes. The corresponding accessible shapes are notified over the selection change listeners registered with the XSelectionSupplier of the controller. */ diff --git a/sd/source/ui/animations/CustomAnimationDialog.cxx b/sd/source/ui/animations/CustomAnimationDialog.cxx index 86c6723da8a8..7e90868080c4 100644 --- a/sd/source/ui/animations/CustomAnimationDialog.cxx +++ b/sd/source/ui/animations/CustomAnimationDialog.cxx @@ -1132,7 +1132,7 @@ CustomAnimationEffectTabPage::CustomAnimationEffectTabPage( vcl::Window* pParent mpFTProperty1->Enable( mpLBProperty1->IsEnabled() ); - // accelerate & deccelerate + // accelerate & decelerate if( pSet->getPropertyState( nHandleAccelerate ) == STLPropertyState_DIRECT ) { diff --git a/sd/source/ui/controller/displaymodecontroller.cxx b/sd/source/ui/controller/displaymodecontroller.cxx index a603a0372766..749ce71cf10d 100644 --- a/sd/source/ui/controller/displaymodecontroller.cxx +++ b/sd/source/ui/controller/displaymodecontroller.cxx @@ -270,7 +270,7 @@ void DisplayModeController::setToolboxItemImage( sal_uInt16 nImage ) OUString SAL_CALL DisplayModeController::getImplementationName() throw( RuntimeException, std::exception ) { - return OUString( "com.sun.star.comp.sd.DisplayModeController" );; + return OUString( "com.sun.star.comp.sd.DisplayModeController" ); } Sequence< OUString > SAL_CALL DisplayModeController::getSupportedServiceNames( ) throw( RuntimeException, std::exception ) diff --git a/sd/source/ui/dlg/dlgass.cxx b/sd/source/ui/dlg/dlgass.cxx index c6687cad1dcf..f4ba7956d4f0 100644 --- a/sd/source/ui/dlg/dlgass.cxx +++ b/sd/source/ui/dlg/dlgass.cxx @@ -1611,7 +1611,7 @@ uno::Sequence < beans::NamedValue > AssistentDlgImpl::GetPassword( const OUStrin if(pEntry->maPath == rPath) return pEntry->aEncryptionData; } - return uno::Sequence < beans::NamedValue > ();; + return uno::Sequence < beans::NamedValue > (); } void AssistentDlgImpl::DeletePasswords() diff --git a/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx b/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx index 060727fbc1fc..3cf708074154 100644 --- a/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx +++ b/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx @@ -326,7 +326,7 @@ void ConfigurationUpdater::CheckPureAnchors ( if (bDeactiveCurrentResource) { - SAL_INFO("sd.fwk", OSL_THIS_FUNC << ": deactiving pure anchor " << + SAL_INFO("sd.fwk", OSL_THIS_FUNC << ": deactivating pure anchor " << OUStringToOString( FrameworkHelper::ResourceIdToString(xResourceId), RTL_TEXTENCODING_UTF8).getStr() << "because it has no children"); diff --git a/sd/source/ui/inc/AccessibleDrawDocumentView.hxx b/sd/source/ui/inc/AccessibleDrawDocumentView.hxx index d8ff9e469392..0da01c7b8083 100644 --- a/sd/source/ui/inc/AccessibleDrawDocumentView.hxx +++ b/sd/source/ui/inc/AccessibleDrawDocumentView.hxx @@ -130,7 +130,7 @@ protected: @param nAccessibleChildIndex Index of the child to select or deselect. If the parameter has the value ACCESSIBLE_SELECTION_CHILD_ALL then all children are - selected or deslected. + selected or deselected. @param bSelect Indicates whether to select or deselect the specified child reps. children. diff --git a/sd/source/ui/inc/WindowUpdater.hxx b/sd/source/ui/inc/WindowUpdater.hxx index 0ea8a356deef..e444353850ee 100644 --- a/sd/source/ui/inc/WindowUpdater.hxx +++ b/sd/source/ui/inc/WindowUpdater.hxx @@ -94,7 +94,7 @@ public: nothing is done. @param pDocument When given a pointer to a document then tell it to reformat all - text objects. This refromatting is necessary for the new values + text objects. This refomatting is necessary for the new values to take effect. */ void Update (OutputDevice* pDevice, SdDrawDocument* pDocument=nullptr) const; @@ -125,7 +125,7 @@ private: tWindowList maWindowList; /** The central method of this class. Update the given output device. - It is the task of the caller to initiate a refrormatting of the + It is the task of the caller to initiate a reformatting of the document that is rendered on this device to reflect the changes. @param pWindow The output device to update. When it is then the call diff --git a/sd/source/ui/inc/framework/Configuration.hxx b/sd/source/ui/inc/framework/Configuration.hxx index d916d61cb83d..23c32f8832ac 100644 --- a/sd/source/ui/inc/framework/Configuration.hxx +++ b/sd/source/ui/inc/framework/Configuration.hxx @@ -52,7 +52,7 @@ namespace sd { namespace framework { instance. For resources, like panes, that are unique with respect to an application frame, that does not mean much of a difference. For other resources like views, that may have more than one instance per - application frame, this is different. To identify them unambigously a + application frame, this is different. To identify them unambiguously a second URL, one of a unique resource, is necessary. This second URL is called the anchor of the first. The two types of resources are called unique and linked respectively. diff --git a/sd/source/ui/inc/fuconstr.hxx b/sd/source/ui/inc/fuconstr.hxx index b50e31f31a01..5e30eb1e3f9f 100644 --- a/sd/source/ui/inc/fuconstr.hxx +++ b/sd/source/ui/inc/fuconstr.hxx @@ -51,7 +51,7 @@ public: void SetStyleSheet(SfxItemSet& rAttr, SdrObject* pObj); // SJ: setting stylesheet, the use of a filled or unfilled style - // is determinded by the parameters bUseFillStyle and bUseNoFillStyle : + // is determined by the parameters bUseFillStyle and bUseNoFillStyle : void SetStyleSheet( SfxItemSet& rAttr, SdrObject* pObj, const bool bUseFillStyle, const bool bUseNoFillStyle ); diff --git a/sd/source/ui/inc/fupoor.hxx b/sd/source/ui/inc/fupoor.hxx index 41da005bf6d3..b4be259eef2c 100644 --- a/sd/source/ui/inc/fupoor.hxx +++ b/sd/source/ui/inc/fupoor.hxx @@ -136,7 +136,7 @@ protected: next layer. If it is negative then select a previous one. An offset or zero does not change the current layer. If the resulting index lies outside the valid range of indices then it - is set to either the minimal or maximal valid index, whitchever + is set to either the minimal or maximal valid index, whichever is nearer. */ void SwitchLayer (sal_Int32 nOffset); diff --git a/sd/source/ui/inc/strings.hrc b/sd/source/ui/inc/strings.hrc index 06cc14c9531e..cbcf702da290 100644 --- a/sd/source/ui/inc/strings.hrc +++ b/sd/source/ui/inc/strings.hrc @@ -29,7 +29,7 @@ /* * Dummy-Strings, these ResourceIDs: should not be assigned to other strings * as they're used for popup-menus (a popup-menu and its - * configurationsstring should have identical ResourceID's!). + * configurations string should have identical ResourceID's!). * See also: res_bmp.hrc, popup.src */ diff --git a/sd/source/ui/inc/tools/IdleDetection.hxx b/sd/source/ui/inc/tools/IdleDetection.hxx index a5c4639b871a..49bc318da711 100644 --- a/sd/source/ui/inc/tools/IdleDetection.hxx +++ b/sd/source/ui/inc/tools/IdleDetection.hxx @@ -27,7 +27,7 @@ namespace vcl { class Window; } namespace sd { namespace tools { /** Detect whether the system is idle and some time consuming operation may - be carried out. This class ditinguishes between different states of + be carried out. This class distinguishes between different states of idle-ness. */ class IdleDetection diff --git a/sd/source/ui/presenter/PresenterCanvas.cxx b/sd/source/ui/presenter/PresenterCanvas.cxx index 43d5b7b28684..19953dac43fe 100644 --- a/sd/source/ui/presenter/PresenterCanvas.cxx +++ b/sd/source/ui/presenter/PresenterCanvas.cxx @@ -919,7 +919,7 @@ void SAL_CALL PresenterCustomSprite::move ( mpCanvas->MergeViewState(rViewState, mpCanvas->GetOffset(mxBaseWindow)), rRenderState); // Clip sprite against window bounds. This call is necessary because - // sprite clipping is done in the corrdinate system of the sprite. + // sprite clipping is done in the coordinate system of the sprite. // Therefore, after each change of the sprites location the window // bounds have to be transformed into the sprites coordinate system. clip(nullptr); diff --git a/sd/source/ui/remotecontrol/BluetoothServer.cxx b/sd/source/ui/remotecontrol/BluetoothServer.cxx index 7c1e4e898aa4..b29ce38d926b 100644 --- a/sd/source/ui/remotecontrol/BluetoothServer.cxx +++ b/sd/source/ui/remotecontrol/BluetoothServer.cxx @@ -1204,8 +1204,8 @@ void SAL_CALL BluetoothServer::run() // We don't need to listen to adapter changes anymore -- profile // registration is done globally for the entirety of bluez, so we only - // need adapters when setting discovereability, which can be done - // dyanmically without the need to listen for changes. + // need adapters when setting discoverability, which can be done + // dynamically without the need to listen for changes. // TODO: exit on SD deinit // Probably best to do that in SdModule::~SdModule? diff --git a/sd/source/ui/slideshow/slideshow.cxx b/sd/source/ui/slideshow/slideshow.cxx index c18c3880b2e4..e2b737efedfe 100644 --- a/sd/source/ui/slideshow/slideshow.cxx +++ b/sd/source/ui/slideshow/slideshow.cxx @@ -739,7 +739,7 @@ void SAL_CALL SlideShow::end() if( pViewShell ) { // invalidate the view shell so the presentation slot will be re-enabled - // and the rehersing will be updated + // and the rehearsing will be updated pViewShell->Invalidate(); if( xController->meAnimationMode ==ANIMATIONMODE_SHOW ) diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx index d4817e3d8a59..07287a08e996 100644 --- a/sd/source/ui/slideshow/slideshowimpl.cxx +++ b/sd/source/ui/slideshow/slideshowimpl.cxx @@ -1452,7 +1452,7 @@ void SAL_CALL SlideshowImpl::resume() throw (RuntimeException, std::exception) } else { - mbIsPaused = false;; + mbIsPaused = false; if( mxShow.is() ) { mxShow->pause(sal_False); @@ -1762,7 +1762,7 @@ IMPL_LINK_NOARG_TYPED(SlideshowImpl, ReadyForNextInputHdl, Timer *, void) } /** if I catch someone someday who calls this method by hand - and not by using the timer, I will personaly punish this + and not by using the timer, I will personally punish this person seriously, even if this person is me. */ IMPL_LINK_NOARG_TYPED(SlideshowImpl, updateHdl, Timer *, void) diff --git a/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx b/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx index 01d4bb3795f0..8b37209808cd 100644 --- a/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx +++ b/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx @@ -168,7 +168,7 @@ private: */ sal_Int32 PasteTransferable (sal_Int32 nInsertPosition); - /** Select a range of pages of the model. Typicall usage is the + /** Select a range of pages of the model. Typically usage is the selection of newly inserted pages. @param nFirstIndex The index of the first page to select. diff --git a/sd/source/ui/slidesorter/inc/controller/SlsPageSelector.hxx b/sd/source/ui/slidesorter/inc/controller/SlsPageSelector.hxx index d084044f7a08..5811df235a6a 100644 --- a/sd/source/ui/slidesorter/inc/controller/SlsPageSelector.hxx +++ b/sd/source/ui/slidesorter/inc/controller/SlsPageSelector.hxx @@ -68,7 +68,7 @@ public: void GetCoreSelection(); /** Update the selection state of the SdPage objects to be the same as - that of the correspinding page descriptors. + that of the corresponding page descriptors. */ void SetCoreSelection(); diff --git a/sd/source/ui/slidesorter/inc/controller/SlsProperties.hxx b/sd/source/ui/slidesorter/inc/controller/SlsProperties.hxx index bda279596a98..4d4d9919b90e 100644 --- a/sd/source/ui/slidesorter/inc/controller/SlsProperties.hxx +++ b/sd/source/ui/slidesorter/inc/controller/SlsProperties.hxx @@ -99,7 +99,7 @@ public: Color GetHighlightColor() const { return maHighlightColor;} void SetHighlightColor (const Color& rColor); - /** The UI can be set to be read only indepently from the model status. + /** The UI can be set to be read only independently from the model status. Used for instance in the presenter view. */ bool IsUIReadOnly() const { return mbIsUIReadOnly;} diff --git a/sd/source/ui/slidesorter/view/SlsFramePainter.cxx b/sd/source/ui/slidesorter/view/SlsFramePainter.cxx index 2c8813c43e0e..638a215e7c95 100644 --- a/sd/source/ui/slidesorter/view/SlsFramePainter.cxx +++ b/sd/source/ui/slidesorter/view/SlsFramePainter.cxx @@ -208,7 +208,7 @@ void FramePainter::OffsetBitmap::PaintSide ( } else { - // Diagonal sides indicatee an error. + // Diagonal sides indicates an error. OSL_ASSERT(false); } } diff --git a/sd/source/ui/unoidl/unoobj.cxx b/sd/source/ui/unoidl/unoobj.cxx index 508555afdd13..42c02bdfe690 100644 --- a/sd/source/ui/unoidl/unoobj.cxx +++ b/sd/source/ui/unoidl/unoobj.cxx @@ -1510,7 +1510,7 @@ uno::Any SAL_CALL SdUnoEventsAccess::getByName( const OUString& aName ) if ( SfxApplication::IsXScriptURL( pInfo->GetBookmark() ) ) { // Scripting Framework URL - aAny <<= maStrScript;; + aAny <<= maStrScript; pProperties->Name = maStrEventType; pProperties->Handle = -1; pProperties->Value = aAny; @@ -1527,7 +1527,7 @@ uno::Any SAL_CALL SdUnoEventsAccess::getByName( const OUString& aName ) else { // Old Basic macro URL - aAny <<= maStrStarBasic;; + aAny <<= maStrStarBasic; pProperties->Name = maStrEventType; pProperties->Handle = -1; pProperties->Value = aAny; diff --git a/sd/source/ui/view/Outliner.cxx b/sd/source/ui/view/Outliner.cxx index 72d7bce2756e..69ec22274a1f 100644 --- a/sd/source/ui/view/Outliner.cxx +++ b/sd/source/ui/view/Outliner.cxx @@ -1343,7 +1343,7 @@ void Outliner::SetViewMode (PageKind ePageKind) // Force (well, request) a synchronous update of the configuration. // In a better world we would handle the asynchronous view update - // instead. But that would involve major restucturing of the + // instead. But that would involve major restructuring of the // Outliner code. framework::FrameworkHelper::Instance(rBase)->RequestSynchronousUpdate(); SetViewShell(rBase.GetMainViewShell()); diff --git a/sd/source/ui/view/ToolBarManager.cxx b/sd/source/ui/view/ToolBarManager.cxx index 93b9340a7200..6ccf7bc083f6 100644 --- a/sd/source/ui/view/ToolBarManager.cxx +++ b/sd/source/ui/view/ToolBarManager.cxx @@ -1427,7 +1427,7 @@ void ToolBarShellList::UpdateShells ( rpManager->ActivateSubShell(*rpMainViewShell, iShell->mnId); } - // The maNewList now refelects the current state and thus is made + // The maNewList now reflects the current state and thus is made // maCurrentList. maCurrentList = maNewList; } diff --git a/sd/source/ui/view/drviewsj.cxx b/sd/source/ui/view/drviewsj.cxx index f056d621905e..0773fc9ebbce 100644 --- a/sd/source/ui/view/drviewsj.cxx +++ b/sd/source/ui/view/drviewsj.cxx @@ -279,7 +279,7 @@ void DrawViewShell::GetMenuStateSel( SfxItemSet &rSet ) // multi-selection else if( nMarkCount > 1 ) { - // distribure dialog for 3+n objects + // distribute dialog for 3+n objects if(nMarkCount <= 2) rSet.DisableItem(SID_DISTRIBUTE_DLG); diff --git a/sd/source/ui/view/outlnvsh.cxx b/sd/source/ui/view/outlnvsh.cxx index c81906ba648e..2391a02c4618 100644 --- a/sd/source/ui/view/outlnvsh.cxx +++ b/sd/source/ui/view/outlnvsh.cxx @@ -1776,7 +1776,7 @@ sal_uLong OutlineViewShell::Read(SvStream& rInput, const OUString& rBaseURL, sal bRet = rOutl.Read( rInput, rBaseURL, eFormat, GetDocSh()->GetHeaderAttributes() ); - SdPage* pPage = GetDoc()->GetSdPage( GetDoc()->GetSdPageCount(PK_STANDARD) - 1, PK_STANDARD );; + SdPage* pPage = GetDoc()->GetSdPage( GetDoc()->GetSdPageCount(PK_STANDARD) - 1, PK_STANDARD ); SfxStyleSheet* pTitleSheet = pPage->GetStyleSheetForPresObj( PRESOBJ_TITLE ); SfxStyleSheet* pOutlSheet = pPage->GetStyleSheetForPresObj( PRESOBJ_OUTLINE ); diff --git a/sd/source/ui/view/sdview2.cxx b/sd/source/ui/view/sdview2.cxx index 5caafe9165e2..598faf4e9fa7 100644 --- a/sd/source/ui/view/sdview2.cxx +++ b/sd/source/ui/view/sdview2.cxx @@ -933,7 +933,7 @@ void ImplProcessObjectList(SdrObject* pObj, SdrObjectVector& rVector ) SdrModel* View::GetMarkedObjModel() const { - return FmFormView::GetMarkedObjModel();; + return FmFormView::GetMarkedObjModel(); } bool View::Paste( diff --git a/sd/source/ui/view/sdview3.cxx b/sd/source/ui/view/sdview3.cxx index 7e5ec285e6c1..5b89c81f0d94 100644 --- a/sd/source/ui/view/sdview3.cxx +++ b/sd/source/ui/view/sdview3.cxx @@ -763,7 +763,7 @@ bool View::InsertData( const TransferableDataHelper& rDataHelper, if(pSdrGrafObj) { - // If we have a graphic as source object, use it's graphic + // If we have a graphic as source object, use its graphic // content as fill style aSet.Put(XFillStyleItem(drawing::FillStyle_BITMAP)); aSet.Put(XFillBitmapItem(&mrDoc.GetPool(), pSdrGrafObj->GetGraphic())); -- cgit