From 51d996354f11048d7759cd7e206a2383421c2c81 Mon Sep 17 00:00:00 2001
From: Andrea Gelmini
Date: Thu, 2 Mar 2017 10:03:34 +0100
Subject: Fix typos
Change-Id: If5e709c9d6e3a4fbb568bdc261cccd214dd0cbd3
Reviewed-on: https://gerrit.libreoffice.org/34784
Tested-by: Jenkins
Reviewed-by: Noel Grandin
---
sfx2/source/doc/DocumentMetadataAccess.cxx | 2 +-
sfx2/source/doc/sfxbasemodel.cxx | 4 ++--
sfx2/source/notebookbar/ContextVBox.cxx | 2 +-
sfx2/source/notebookbar/PriorityHBox.cxx | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
(limited to 'sfx2')
diff --git a/sfx2/source/doc/DocumentMetadataAccess.cxx b/sfx2/source/doc/DocumentMetadataAccess.cxx
index ce8374fc9fd0..2d7d3c685e40 100644
--- a/sfx2/source/doc/DocumentMetadataAccess.cxx
+++ b/sfx2/source/doc/DocumentMetadataAccess.cxx
@@ -439,7 +439,7 @@ mkException( OUString const & i_rMessage,
- (default:) cancel import, raise exception
- ignore the error and continue
- retry the action that led to the error
- N.B.: must not be called before DMA is fully initalized!
+ N.B.: must not be called before DMA is fully initialized!
@returns true iff caller should retry
*/
static bool
diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx
index 1d25ce1b8e20..5d46a2db7c60 100644
--- a/sfx2/source/doc/sfxbasemodel.cxx
+++ b/sfx2/source/doc/sfxbasemodel.cxx
@@ -4368,7 +4368,7 @@ SfxBaseModel::loadMetadataFromStorage(
} catch (lang::IllegalArgumentException &) {
throw; // not initialized
} catch (Exception &) {
- // UGLY: if it's a RuntimeException, we can't be sure DMA is initialzed
+ // UGLY: if it's a RuntimeException, we can't be sure DMA is initialized
m_pData->m_xDocumentMetadata = xDMA;
throw;
}
@@ -4407,7 +4407,7 @@ SfxBaseModel::loadMetadataFromMedium(
} catch (lang::IllegalArgumentException &) {
throw; // not initialized
} catch (Exception &) {
- // UGLY: if it's a RuntimeException, we can't be sure DMA is initialzed
+ // UGLY: if it's a RuntimeException, we can't be sure DMA is initialized
m_pData->m_xDocumentMetadata = xDMA;
throw;
}
diff --git a/sfx2/source/notebookbar/ContextVBox.cxx b/sfx2/source/notebookbar/ContextVBox.cxx
index 8b59cfaf5dce..a02cc51051ee 100644
--- a/sfx2/source/notebookbar/ContextVBox.cxx
+++ b/sfx2/source/notebookbar/ContextVBox.cxx
@@ -24,7 +24,7 @@
#include
/*
- * ContextVBox is a VclVBox which shows own childs depending on current context.
+ * ContextVBox is a VclVBox which shows own children depending on current context.
* This control can be used in the notebookbar .ui files
*/
diff --git a/sfx2/source/notebookbar/PriorityHBox.cxx b/sfx2/source/notebookbar/PriorityHBox.cxx
index 91d9fb877e87..596fb5e72912 100644
--- a/sfx2/source/notebookbar/PriorityHBox.cxx
+++ b/sfx2/source/notebookbar/PriorityHBox.cxx
@@ -31,7 +31,7 @@ bool lcl_comparePriority(const vcl::IPrioritable* a, const vcl::IPrioritable* b)
}
/*
- * PriorityHBox is a VclHBox which hides own childs if there is no sufficient space.
+ * PriorityHBox is a VclHBox which hides its own children if there is no sufficient space.
* Hiding order can be modified using child's priorities. If a control have default
* priority assigned (VCL_PRIORITY_DEFAULT), it is always shown.
*/
--
cgit