summaryrefslogtreecommitdiff
path: root/sd/source/ui
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-08-11 18:34:13 +0200
committerJulien Nabet <serval2412@yahoo.fr>2019-08-12 10:57:41 +0200
commit47445d15dc2d21649683f0c506b3646826d7f791 (patch)
treef56a14c1e142117062245a0d682aac1452e12514 /sd/source/ui
parent70a67eed625d3d0d0b3b21df8705b2b24e3f8baa (diff)
Fix typos
Change-Id: Id642284f48333b4f3aa957f5b6c786d3a059408c Reviewed-on: https://gerrit.libreoffice.org/77288 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sd/source/ui')
-rw-r--r--sd/source/ui/sidebar/DocumentHelper.cxx2
-rw-r--r--sd/source/ui/sidebar/DocumentHelper.hxx2
-rw-r--r--sd/source/ui/sidebar/MasterPageContainer.cxx4
-rw-r--r--sd/source/ui/sidebar/SlideBackground.cxx2
-rw-r--r--sd/source/ui/slideshow/showwin.cxx2
-rw-r--r--sd/source/ui/slidesorter/cache/SlsBitmapCache.hxx2
-rw-r--r--sd/source/ui/view/drtxtob.cxx2
-rw-r--r--sd/source/ui/view/drviews5.cxx2
-rw-r--r--sd/source/ui/view/drviews7.cxx4
-rw-r--r--sd/source/ui/view/drviews9.cxx2
10 files changed, 12 insertions, 12 deletions
diff --git a/sd/source/ui/sidebar/DocumentHelper.cxx b/sd/source/ui/sidebar/DocumentHelper.cxx
index c6e3d6afd4ab..5c26a4dc15c2 100644
--- a/sd/source/ui/sidebar/DocumentHelper.cxx
+++ b/sd/source/ui/sidebar/DocumentHelper.cxx
@@ -288,7 +288,7 @@ void DocumentHelper::AssignMasterPageToPageList (
if (pMasterPage == nullptr || !pMasterPage->IsMasterPage())
return;
- // Make the layout name by stripping ouf the layout postfix from the
+ // Make the layout name by stripping out the layout postfix from the
// layout name of the given master page.
OUString sFullLayoutName(pMasterPage->GetLayoutName());
OUString sBaseLayoutName (sFullLayoutName);
diff --git a/sd/source/ui/sidebar/DocumentHelper.hxx b/sd/source/ui/sidebar/DocumentHelper.hxx
index 0d935b9e5edf..c655611774d4 100644
--- a/sd/source/ui/sidebar/DocumentHelper.hxx
+++ b/sd/source/ui/sidebar/DocumentHelper.hxx
@@ -86,7 +86,7 @@ private:
In contrast to AssignMasterPageToPageList() this page is assumed
to be in the target document, i.e. the same document that pPage
is in. The caller will usually call AddMasterPage() to create a
- clone of a master page in a another document to create it.
+ clone of a master page in another document to create it.
@param rsBaseLayoutName
The layout name of the given master page. It is given so that
it has not to be created on every call. It could be generated
diff --git a/sd/source/ui/sidebar/MasterPageContainer.cxx b/sd/source/ui/sidebar/MasterPageContainer.cxx
index 425a04574910..971f164bd2fc 100644
--- a/sd/source/ui/sidebar/MasterPageContainer.cxx
+++ b/sd/source/ui/sidebar/MasterPageContainer.cxx
@@ -147,13 +147,13 @@ private:
static const int SMALL_PREVIEW_WIDTH = 72 + 2;
static const int LARGE_PREVIEW_WIDTH = 2*72 + 2;
- /** This substition of page preview shows "Preparing preview" and is
+ /** This substitution of page preview shows "Preparing preview" and is
shown as long as the actual previews are not being present.
*/
Image maLargePreviewBeingCreated;
Image maSmallPreviewBeingCreated;
- /** This substition of page preview is shown when a preview can not be
+ /** This substitution of page preview is shown when a preview can not be
created and thus is not available.
*/
Image maLargePreviewNotAvailable;
diff --git a/sd/source/ui/sidebar/SlideBackground.cxx b/sd/source/ui/sidebar/SlideBackground.cxx
index f90ea5afe201..0190ec029a5f 100644
--- a/sd/source/ui/sidebar/SlideBackground.cxx
+++ b/sd/source/ui/sidebar/SlideBackground.cxx
@@ -1022,7 +1022,7 @@ IMPL_LINK_NOARG(SlideBackground, PaperSizeModifyHdl, ListBox&, void)
GetBindings()->GetDispatcher()->ExecuteList(SID_ATTR_PAGE_SIZE, SfxCallMode::RECORD,
{ &aSizeItem, mpPageItem.get(), &aFitObjs });
- // Notify LOK clients of the page size chagne.
+ // Notify LOK clients of the page size change.
if (comphelper::LibreOfficeKit::isActive())
{
SfxViewShell* pViewShell = SfxViewShell::GetFirst();
diff --git a/sd/source/ui/slideshow/showwin.cxx b/sd/source/ui/slideshow/showwin.cxx
index 564e23f1e844..2958e241eee7 100644
--- a/sd/source/ui/slideshow/showwin.cxx
+++ b/sd/source/ui/slideshow/showwin.cxx
@@ -563,7 +563,7 @@ IMPL_LINK_NOARG(ShowWindow, MouseTimeoutHdl, Timer *, void)
}
else
{
- // mouse has been idle to long, hide pointer
+ // mouse has been idle too long, hide pointer
ShowPointer( false );
mbMouseCursorHidden = true;
}
diff --git a/sd/source/ui/slidesorter/cache/SlsBitmapCache.hxx b/sd/source/ui/slidesorter/cache/SlsBitmapCache.hxx
index 119067421db1..5d52bb245d51 100644
--- a/sd/source/ui/slidesorter/cache/SlsBitmapCache.hxx
+++ b/sd/source/ui/slidesorter/cache/SlsBitmapCache.hxx
@@ -58,7 +58,7 @@ public:
/** Create a new cache for bitmap objects.
The default value from the configuration is used.
- When that does not exist then a internal default value is
+ When that does not exist then an internal default value is
used.
*/
explicit BitmapCache ();
diff --git a/sd/source/ui/view/drtxtob.cxx b/sd/source/ui/view/drtxtob.cxx
index bf4deae1094a..5a0f0334277a 100644
--- a/sd/source/ui/view/drtxtob.cxx
+++ b/sd/source/ui/view/drtxtob.cxx
@@ -282,7 +282,7 @@ void TextObjectBar::GetAttrState( SfxItemSet& rSet )
pOLV->CreateSelectionList(aSelList);
Paragraph* pPara = aSelList.empty() ? nullptr : *(aSelList.begin());
- // find out if we are a OutlineView
+ // find out if we are an OutlineView
bool bIsOutlineView(OutlinerMode::OutlineView == pOLV->GetOutliner()->GetMode());
// This is ONLY for OutlineViews
diff --git a/sd/source/ui/view/drviews5.cxx b/sd/source/ui/view/drviews5.cxx
index f534127aafcb..3edf0bdab4c0 100644
--- a/sd/source/ui/view/drviews5.cxx
+++ b/sd/source/ui/view/drviews5.cxx
@@ -280,7 +280,7 @@ void DrawViewShell::ReadFrameViewData(FrameView* pView)
// #i57936# Force mbIsLayerModeActive to false so that ChangeEditMode
// below does something regarding LayerTabBar content refresh. That refresh
// is only done when IsLayerModeActive changes. It needs to be done
- // since e.g. Layer vsisibility was changed above and this may need
+ // since e.g. Layer visibility was changed above and this may need
// a refresh to show the correct graphical representation
mbIsLayerModeActive = false;
}
diff --git a/sd/source/ui/view/drviews7.cxx b/sd/source/ui/view/drviews7.cxx
index 390abefe2f42..0405b91f1387 100644
--- a/sd/source/ui/view/drviews7.cxx
+++ b/sd/source/ui/view/drviews7.cxx
@@ -380,7 +380,7 @@ void DrawViewShell::GetMenuState( SfxItemSet &rSet )
}
else
{
- // check if the object is in edit, than its temporarely not empty
+ // check if the object is in edit, then if it's temporarily not empty
SdrTextObj* pTextObj = dynamic_cast< SdrTextObj* >( pObj );
if( pTextObj )
{
@@ -700,7 +700,7 @@ void DrawViewShell::GetMenuState( SfxItemSet &rSet )
{
// The mpDrawView was not NULL but is now.
// The reason for this may be that the DrawViewShell has been
- // destroyed in the mean time.
+ // destroyed in the meantime.
// We can only return immediately and hope that the deleted
// DrawViewShell is not called again.
DBG_ASSERT(mpDrawView!=nullptr, "Please report this assertion to the Impress team.");
diff --git a/sd/source/ui/view/drviews9.cxx b/sd/source/ui/view/drviews9.cxx
index 48648a0d5189..18567d7d98e6 100644
--- a/sd/source/ui/view/drviews9.cxx
+++ b/sd/source/ui/view/drviews9.cxx
@@ -137,7 +137,7 @@ void DrawViewShell::ExecGallery(SfxRequest const & rReq)
if ( mpDrawView->AreObjectsMarked() )
{
- // is there a empty graphic object?
+ // is there an empty graphic object?
const SdrMarkList& rMarkList = mpDrawView->GetMarkedObjectList();
if (rMarkList.GetMarkCount() == 1)