UnoControls/source/base/basecontrol.cxx | 2 +- UnoControls/source/controls/statusindicator.cxx | 10 +++++----- include/framework/addonsoptions.hxx | 2 +- include/svtools/menuoptions.hxx | 2 +- include/svtools/miscopt.hxx | 2 +- include/svtools/slidesorterbaropt.hxx | 2 +- include/unotools/cmdoptions.hxx | 2 +- include/unotools/compatibility.hxx | 2 +- include/unotools/dynamicmenuoptions.hxx | 2 +- include/unotools/extendedsecurityoptions.hxx | 2 +- include/unotools/securityoptions.hxx | 2 +- sd/source/ui/dlg/tpoption.cxx | 2 +- sdext/source/presenter/PresenterWindowManager.cxx | 8 ++++---- svx/inc/sdr/overlay/overlaytools.hxx | 2 +- svx/source/dialog/docrecovery.cxx | 4 ++-- svx/source/gengal/gengal.cxx | 2 +- svx/source/svdraw/svdorect.cxx | 2 +- svx/source/unodraw/unoshtxt.cxx | 4 ++-- sw/source/uibase/inc/cfgitems.hxx | 2 +- 19 files changed, 28 insertions(+), 28 deletions(-)
New commits: commit 01c43770b75fd4e48b2cda230feda37154f75bdd Author: Andrea Gelmini <andrea.gelm...@gelma.net> Date: Wed Jan 31 21:33:20 2018 +0100 Fix typos Change-Id: I455efa82de60b764a500e1cc092ae08e800ec824 Reviewed-on: https://gerrit.libreoffice.org/49068 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Michael Stahl <mst...@redhat.com> diff --git a/UnoControls/source/base/basecontrol.cxx b/UnoControls/source/base/basecontrol.cxx index 71e14d93ada5..24e62711b6ce 100644 --- a/UnoControls/source/base/basecontrol.cxx +++ b/UnoControls/source/base/basecontrol.cxx @@ -704,7 +704,7 @@ void SAL_CALL BaseControl::windowHidden( const EventObject& /*aEvent*/ ) WindowDescriptor* BaseControl::impl_getWindowDescriptor( const Reference< XWindowPeer >& xParentPeer ) { // - used from "createPeer()" to set the values of an css::awt::WindowDescriptor !!! - // - if you will change the descriptor-values, you must override this virtuell function + // - if you will change the descriptor-values, you must override this virtual function // - the caller must release the memory for this dynamical descriptor !!! WindowDescriptor* pDescriptor = new WindowDescriptor; diff --git a/UnoControls/source/controls/statusindicator.cxx b/UnoControls/source/controls/statusindicator.cxx index 4282169918a0..e678a2ff9ad2 100644 --- a/UnoControls/source/controls/statusindicator.cxx +++ b/UnoControls/source/controls/statusindicator.cxx @@ -301,7 +301,7 @@ void SAL_CALL StatusIndicator::dispose () removeControl( xTextControl ); removeControl( m_xProgressBar.get() ); - // do'nt use "...->clear ()" or "... = XFixedText ()" + // don't use "...->clear ()" or "... = XFixedText ()" // when other hold a reference at this object !!! xTextControl->dispose(); m_xProgressBar->dispose(); @@ -356,8 +356,8 @@ const OUString StatusIndicator::impl_getStaticImplementationName() WindowDescriptor* StatusIndicator::impl_getWindowDescriptor( const css::uno::Reference< XWindowPeer >& xParentPeer ) { // - used from "createPeer()" to set the values of an css::awt::WindowDescriptor !!! - // - if you will change the descriptor-values, you must override this virtuell function - // - the caller must release the memory for this dynamical descriptor !!! + // - if you will change the descriptor-values, you must override this virtual function + // - the caller must release the memory for this dynamical descriptor!!! WindowDescriptor* pDescriptor = new WindowDescriptor; @@ -374,8 +374,8 @@ WindowDescriptor* StatusIndicator::impl_getWindowDescriptor( const css::uno::Ref void StatusIndicator::impl_paint ( sal_Int32 nX, sal_Int32 nY, const css::uno::Reference< XGraphics > & rGraphics ) { - // This paint method is not buffered !! - // Every request paint the completely control. ( but only, if peer exist ) + // This paint method is not buffered! + // Every request paint the completely control. (But only, if peer exist) if ( rGraphics.is () ) { MutexGuard aGuard (m_aMutex); diff --git a/include/framework/addonsoptions.hxx b/include/framework/addonsoptions.hxx index 873315da46c0..68050cb9f611 100644 --- a/include/framework/addonsoptions.hxx +++ b/include/framework/addonsoptions.hxx @@ -199,7 +199,7 @@ class FWE_DLLPUBLIC AddonsOptions /*-**************************************************************************************************** @short return a reference to a static mutex @descr These class is partially threadsafe (for de-/initialization only). - All access methods are'nt safe! + All access methods aren't safe! We create a static mutex only for one ime and use at different times. @return A reference to a static mutex member. *//*-*****************************************************************************************************/ diff --git a/include/svtools/menuoptions.hxx b/include/svtools/menuoptions.hxx index 887d2e58c518..a50daf4ff10a 100644 --- a/include/svtools/menuoptions.hxx +++ b/include/svtools/menuoptions.hxx @@ -74,7 +74,7 @@ class SAL_WARN_UNUSED SVT_DLLPUBLIC SvtMenuOptions: public utl::detail::Options /*-**************************************************************************************************** @short return a reference to a static mutex @descr These class is partially threadsafe (for de-/initialization only). - All access methods are'nt safe! + All access methods aren't safe! We create a static mutex only for one ime and use at different times. @return A reference to a static mutex member. *//*-*****************************************************************************************************/ diff --git a/include/svtools/miscopt.hxx b/include/svtools/miscopt.hxx index 70e0d0ee539e..dc60c6a22745 100644 --- a/include/svtools/miscopt.hxx +++ b/include/svtools/miscopt.hxx @@ -95,7 +95,7 @@ class SVT_DLLPUBLIC SvtMiscOptions: public utl::detail::Options /*-**************************************************************************************************** @short return a reference to a static mutex @descr These class is partially threadsafe (for de-/initialization only). - All access methods are'nt safe! + All access methods aren't safe! We create a static mutex only for one ime and use at different times. @return A reference to a static mutex member. *//*-*****************************************************************************************************/ diff --git a/include/svtools/slidesorterbaropt.hxx b/include/svtools/slidesorterbaropt.hxx index 9908ed074bde..6471a6cca6e6 100644 --- a/include/svtools/slidesorterbaropt.hxx +++ b/include/svtools/slidesorterbaropt.hxx @@ -63,7 +63,7 @@ class SVT_DLLPUBLIC SvtSlideSorterBarOptions: public utl::detail::Options /** return a reference to a static mutex These class is partially threadsafe (for de-/initialization only). - All access methods are'nt safe! + All access methods aren't safe! We create a static mutex only for one ime and use at different times. \return A reference to a static mutex member.*/ diff --git a/include/unotools/cmdoptions.hxx b/include/unotools/cmdoptions.hxx index 3b5e36e9efd3..f8e876cd9a5a 100644 --- a/include/unotools/cmdoptions.hxx +++ b/include/unotools/cmdoptions.hxx @@ -103,7 +103,7 @@ class SAL_WARN_UNUSED UNOTOOLS_DLLPUBLIC SvtCommandOptions : public utl::detail: /*-**************************************************************************************************** @short return a reference to a static mutex @descr These class is partially threadsafe (for de-/initialization only). - All access methods are'nt safe! + All access methods aren't safe! We create a static mutex only for one ime and use at different times. @return A reference to a static mutex member. *//*-*****************************************************************************************************/ diff --git a/include/unotools/compatibility.hxx b/include/unotools/compatibility.hxx index f281f58aad1d..a8bd24f34cb3 100644 --- a/include/unotools/compatibility.hxx +++ b/include/unotools/compatibility.hxx @@ -221,7 +221,7 @@ class UNOTOOLS_DLLPUBLIC SvtCompatibilityOptions: public utl::detail::Options /*-**************************************************************************************************** @short return a reference to a static mutex @descr These class is partially threadsafe (for de-/initialization only). - All access methods are'nt safe! + All access methods aren't safe! We create a static mutex only for one ime and use at different times. @return A reference to a static mutex member. *//*-*****************************************************************************************************/ diff --git a/include/unotools/dynamicmenuoptions.hxx b/include/unotools/dynamicmenuoptions.hxx index 56ada999fac6..347574a2a500 100644 --- a/include/unotools/dynamicmenuoptions.hxx +++ b/include/unotools/dynamicmenuoptions.hxx @@ -82,7 +82,7 @@ class SAL_WARN_UNUSED UNOTOOLS_DLLPUBLIC SvtDynamicMenuOptions : public utl::det /*-**************************************************************************************************** @short return a reference to a static mutex @descr These class is partially threadsafe (for de-/initialization only). - All access methods are'nt safe! + All access methods aren't safe! We create a static mutex only for one ime and use at different times. @return A reference to a static mutex member. *//*-*****************************************************************************************************/ diff --git a/include/unotools/extendedsecurityoptions.hxx b/include/unotools/extendedsecurityoptions.hxx index 8a5f271f43ce..c6ca9b0d669c 100644 --- a/include/unotools/extendedsecurityoptions.hxx +++ b/include/unotools/extendedsecurityoptions.hxx @@ -62,7 +62,7 @@ class SAL_WARN_UNUSED UNOTOOLS_DLLPUBLIC SvtExtendedSecurityOptions : public utl /*-**************************************************************************************************** @short return a reference to a static mutex @descr These class is partially threadsafe (for de-/initialization only). - All access methods are'nt safe! + All access methods aren't safe! We create a static mutex only for one ime and use at different times. @return A reference to a static mutex member. *//*-*****************************************************************************************************/ diff --git a/include/unotools/securityoptions.hxx b/include/unotools/securityoptions.hxx index 405e2fcf502b..21382cc9505e 100644 --- a/include/unotools/securityoptions.hxx +++ b/include/unotools/securityoptions.hxx @@ -195,7 +195,7 @@ class SAL_WARN_UNUSED UNOTOOLS_DLLPUBLIC SvtSecurityOptions : public utl::detail /*-**************************************************************************************************** @short return a reference to a static mutex @descr These class is partially threadsafe (for de-/initialization only). - All access methods are'nt safe! + All access methods aren't safe! We create a static mutex only for one ime and use at different times. @return A reference to a static mutex member. *//*-*****************************************************************************************************/ diff --git a/sd/source/ui/dlg/tpoption.cxx b/sd/source/ui/dlg/tpoption.cxx index 26bd177b8df4..944d1c1c06bf 100644 --- a/sd/source/ui/dlg/tpoption.cxx +++ b/sd/source/ui/dlg/tpoption.cxx @@ -631,7 +631,7 @@ void SdTpOptionsMisc::UpdateCompatibilityControls() Reference<frame::XModel> xModel (xEnumeration->nextElement(), UNO_QUERY); if (xModel.is()) { - // There is at leas one model/document: Enable the compatibility controls. + // There is at least one model/document: Enable the compatibility controls. bIsEnabled = true; break; } diff --git a/sdext/source/presenter/PresenterWindowManager.cxx b/sdext/source/presenter/PresenterWindowManager.cxx index 5c206493768a..2830c444df97 100644 --- a/sdext/source/presenter/PresenterWindowManager.cxx +++ b/sdext/source/presenter/PresenterWindowManager.cxx @@ -599,7 +599,7 @@ void PresenterWindowManager::LayoutStandardMode() // For the current slide view calculate the outer height from the outer - // width. This takes into acount the slide aspect ratio and thus has to + // width. This takes into account the slide aspect ratio and thus has to // go over the inner pane size. PresenterPaneContainer::SharedPaneDescriptor pPane ( mpPaneContainer->FindPaneURL(PresenterPaneFactory::msCurrentSlidePreviewPaneURL)); @@ -622,7 +622,7 @@ void PresenterWindowManager::LayoutStandardMode() } // For the next slide view calculate the outer height from the outer - // width. This takes into acount the slide aspect ratio and thus has to + // width. This takes into account the slide aspect ratio and thus has to // go over the inner pane size. pPane = mpPaneContainer->FindPaneURL(PresenterPaneFactory::msNextSlidePreviewPaneURL); if (pPane.get() != nullptr) @@ -685,7 +685,7 @@ void PresenterWindowManager::LayoutNotesMode() } // For the current slide view calculate the outer height from the outer - // width. This takes into acount the slide aspect ratio and thus has to + // width. This takes into account the slide aspect ratio and thus has to // go over the inner pane size. pPane = mpPaneContainer->FindPaneURL(PresenterPaneFactory::msCurrentSlidePreviewPaneURL); if (pPane.get() != nullptr) @@ -706,7 +706,7 @@ void PresenterWindowManager::LayoutNotesMode() } // For the next slide view calculate the outer height from the outer - // width. This takes into acount the slide aspect ratio and thus has to + // width. This takes into account the slide aspect ratio and thus has to // go over the inner pane size. pPane = mpPaneContainer->FindPaneURL(PresenterPaneFactory::msNextSlidePreviewPaneURL); if (pPane.get() != nullptr) diff --git a/svx/inc/sdr/overlay/overlaytools.hxx b/svx/inc/sdr/overlay/overlaytools.hxx index f267d444a73c..ecc01bc72013 100644 --- a/svx/inc/sdr/overlay/overlaytools.hxx +++ b/svx/inc/sdr/overlay/overlaytools.hxx @@ -157,7 +157,7 @@ namespace drawinglayer // Overlay helper class for a hatch rectangle as used e.g. for text object -// selection hilighting +// selection highlighting namespace drawinglayer { namespace primitive2d diff --git a/svx/source/dialog/docrecovery.cxx b/svx/source/dialog/docrecovery.cxx index 704e90f47d64..baf6a20f4fe7 100644 --- a/svx/source/dialog/docrecovery.cxx +++ b/svx/source/dialog/docrecovery.cxx @@ -562,9 +562,9 @@ PluginProgress::~PluginProgress() void SAL_CALL PluginProgress::dispose() { - // m_pPluginProgressWindow was deleted ... + // m_pPluginProgressWindow was deleted... // So the internal pointer of this progress - // weill be dead! + // will be dead! m_xProgress.clear(); } diff --git a/svx/source/gengal/gengal.cxx b/svx/source/gengal/gengal.cxx index 5d6803f53365..6ae7a567b22b 100644 --- a/svx/source/gengal/gengal.cxx +++ b/svx/source/gengal/gengal.cxx @@ -75,7 +75,7 @@ static void createTheme( const OUString& aThemeName, const OUString& aGalleryURL pGallery = createGallery( aGalleryURL ); if (!pGallery ) { - fprintf( stderr, "Could't create '%s'\n", + fprintf( stderr, "Couldn't create '%s'\n", OUStringToOString( aGalleryURL, RTL_TEXTENCODING_UTF8 ).getStr() ); exit( 1 ); } diff --git a/svx/source/svdraw/svdorect.cxx b/svx/source/svdraw/svdorect.cxx index fea7ecd0fc2a..da431e9068e2 100644 --- a/svx/source/svdraw/svdorect.cxx +++ b/svx/source/svdraw/svdorect.cxx @@ -320,7 +320,7 @@ SdrHdl* SdrRectObj::GetHdl(sal_uInt32 nHdlNum) const { case 0: { - OSL_ENSURE(!IsTextEditActive(), "Do not use a ImpTextframeHdl for hilighting text in active text edit, this will collide with EditEngine paints (!)"); + OSL_ENSURE(!IsTextEditActive(), "Do not use a ImpTextframeHdl for highlighting text in active text edit, this will collide with EditEngine paints (!)"); // hack for calc grid sync to ensure the hatched area // for a textbox is displayed at correct position pH = new ImpTextframeHdl(maRect + GetGridOffset() ); diff --git a/svx/source/unodraw/unoshtxt.cxx b/svx/source/unodraw/unoshtxt.cxx index f0047d0aeb83..6c2f2ff825f0 100644 --- a/svx/source/unodraw/unoshtxt.cxx +++ b/svx/source/unodraw/unoshtxt.cxx @@ -358,9 +358,9 @@ void SvxTextEditSourceImpl::Notify(SfxBroadcaster& rBC, const SfxHint& rHint) // Once SdrHintKind::BeginEdit is broadcast, each EditSource of // AccessibleCell will handle it here and call below: // mpView->GetTextEditOutliner()->SetNotifyHdl(), which - // will replace the Notifer for current editable cell. It + // will replace the Notifier for current editable cell. It // is totally wrong. So add check here to avoid the - // incorrect replacement of notifer. + // incorrect replacement of notifier. // Currently it only happens on the editsource of // AccessibleCell diff --git a/sw/source/uibase/inc/cfgitems.hxx b/sw/source/uibase/inc/cfgitems.hxx index 908c2026cbb5..149cd77e7ac0 100644 --- a/sw/source/uibase/inc/cfgitems.hxx +++ b/sw/source/uibase/inc/cfgitems.hxx @@ -94,7 +94,7 @@ public: }; // OS 12.01.95 -// Item for settings dialog - printer/add ons +// Item for settings dialog - printer/add-ons class SW_DLLPUBLIC SwAddPrinterItem : public SfxPoolItem, public SwPrintData { friend class SwAddPrinterTabPage; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits