summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-08-11 12:37:46 +0200
committerJulien Nabet <serval2412@yahoo.fr>2019-08-12 10:38:49 +0200
commitd4cea44bf212da4365deb4593f5c1957798f6629 (patch)
treefa538bb6842929c8d61b2ce030a72618c48be0ec
parentcdd5869152f2dfbb5ea6698978dfa98fa43a4c20 (diff)
Fix typos
Change-Id: I359ac987daa01e624bdf889c319eeb660f88bbfd Reviewed-on: https://gerrit.libreoffice.org/77260 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
-rw-r--r--svl/qa/unit/svl.cxx2
-rw-r--r--svl/source/items/style.cxx2
-rw-r--r--svl/source/items/stylepool.cxx2
-rw-r--r--svl/source/numbers/supservs.cxx2
-rw-r--r--svl/source/numbers/supservs.hxx4
-rw-r--r--svl/source/numbers/zforfind.cxx2
-rw-r--r--svl/source/undo/undo.cxx2
-rw-r--r--xmloff/source/draw/ximpshap.cxx2
8 files changed, 9 insertions, 9 deletions
diff --git a/svl/qa/unit/svl.cxx b/svl/qa/unit/svl.cxx
index 4a781627f9bc..9136dc76e930 100644
--- a/svl/qa/unit/svl.cxx
+++ b/svl/qa/unit/svl.cxx
@@ -108,7 +108,7 @@ Test::Test()
//Without this we're crashing because callees are using
//getProcessServiceFactory. In general those should be removed in favour
- //of retaining references to the root ServiceFactory as its passed around
+ //of retaining references to the root ServiceFactory as it's passed around
comphelper::setProcessServiceFactory(xSM);
m_pDefaultTimeZone.reset(icu::TimeZone::createDefault());
}
diff --git a/svl/source/items/style.cxx b/svl/source/items/style.cxx
index 4ce1a225948a..9e15baa034f5 100644
--- a/svl/source/items/style.cxx
+++ b/svl/source/items/style.cxx
@@ -637,7 +637,7 @@ SfxStyleSheetBase* SfxStyleSheetBasePool::Create( const SfxStyleSheetBase& r )
SfxStyleSheetBase& SfxStyleSheetBasePool::Make( const OUString& rName, SfxStyleFamily eFam, SfxStyleSearchBits mask)
{
- OSL_ENSURE( eFam != SfxStyleFamily::All, "svl::SfxStyleSheetBasePool::Make(), FamilyAll is not a allowed Familie" );
+ OSL_ENSURE( eFam != SfxStyleFamily::All, "svl::SfxStyleSheetBasePool::Make(), FamilyAll is not an allowed Family" );
SfxStyleSheetIterator aIter(this, eFam, mask);
rtl::Reference< SfxStyleSheetBase > xStyle( aIter.Find( rName ) );
diff --git a/svl/source/items/stylepool.cxx b/svl/source/items/stylepool.cxx
index 33e8fddbce11..14f30f35b26a 100644
--- a/svl/source/items/stylepool.cxx
+++ b/svl/source/items/stylepool.cxx
@@ -415,7 +415,7 @@ std::shared_ptr<SfxItemSet> StylePoolImpl::insertItemSet( const SfxItemSet& rSet
}
// Every leaf node represents an inserted item set, but "non-leaf" nodes represents subsets
// of inserted itemsets.
- // These nodes could have but does not need to have a shared_ptr to a item set.
+ // These nodes could have but does not need to have a shared_ptr to an item set.
if( !pCurNode->hasItemSet( false ) )
{
pCurNode->setItemSet( rSet );
diff --git a/svl/source/numbers/supservs.cxx b/svl/source/numbers/supservs.cxx
index bbdf1dc7c70d..307dbd11cbb2 100644
--- a/svl/source/numbers/supservs.cxx
+++ b/svl/source/numbers/supservs.cxx
@@ -66,7 +66,7 @@ void SAL_CALL SvNumberFormatsSupplierServiceObject::initialize( const Sequence<
// maybe you already called a method which needed the formatter
// you should use XMultiServiceFactory::createInstanceWithArguments to avoid that
if (m_pOwnFormatter)
- { // !!! this is only a emergency handling, normally this should not occur !!!
+ { // !!! this is only an emergency handling, normally this should not occur !!!
m_pOwnFormatter.reset();
SetNumberFormatter(m_pOwnFormatter.get());
}
diff --git a/svl/source/numbers/supservs.hxx b/svl/source/numbers/supservs.hxx
index 88676b5e5668..64ed4b3fe943 100644
--- a/svl/source/numbers/supservs.hxx
+++ b/svl/source/numbers/supservs.hxx
@@ -28,7 +28,7 @@
/**
* SvNumberFormatsSupplierServiceObject - a number formats supplier which
- * - can be instantiated as an service
+ * - can be instantiated as a service
* - works with its own SvNumberFormatter instance
* - can be initialized (css::lang::XInitialization)
* with a specific language (i.e. css::lang::Locale)
@@ -70,7 +70,7 @@ public:
virtual css::uno::Reference< css::util::XNumberFormats > SAL_CALL
getNumberFormats() override;
- // XUnoTunnler
+ // XUnoTunneler
virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) override;
};
diff --git a/svl/source/numbers/zforfind.cxx b/svl/source/numbers/zforfind.cxx
index 63209ca04b0c..ea7b9ee61c0d 100644
--- a/svl/source/numbers/zforfind.cxx
+++ b/svl/source/numbers/zforfind.cxx
@@ -2343,7 +2343,7 @@ bool ImpSvNumberInputScan::ScanStartString( const OUString& rString )
if (nPos < rString.getLength() || (nStringsCnt >= 4 && nNumericsCnt >= 2))
{
nMonth = nTempMonth;
- nMonthPos = 1; // month a the beginning
+ nMonthPos = 1; // month at the beginning
if ( nMonth < 0 )
{
SkipChar( '.', rString, nPos ); // abbreviated
diff --git a/svl/source/undo/undo.cxx b/svl/source/undo/undo.cxx
index 5cccb085d65f..e3c78895a8fe 100644
--- a/svl/source/undo/undo.cxx
+++ b/svl/source/undo/undo.cxx
@@ -809,7 +809,7 @@ bool SfxUndoManager::ImplRedo( SfxUndoContext* i_contextOrNull )
const OUString sActionComment = pAction->GetComment();
try
{
- // clear the guard/mutex before calling into the SfxUndoAction - this can be a extension-implemented UNO component
+ // clear the guard/mutex before calling into the SfxUndoAction - this can be an extension-implemented UNO component
// nowadays ...
aGuard.clear();
if ( i_contextOrNull != nullptr )
diff --git a/xmloff/source/draw/ximpshap.cxx b/xmloff/source/draw/ximpshap.cxx
index 8139020afdf5..d61cee0a708e 100644
--- a/xmloff/source/draw/ximpshap.cxx
+++ b/xmloff/source/draw/ximpshap.cxx
@@ -669,7 +669,7 @@ void SdXMLShapeContext::SetStyle( bool bSupportsStyle /* = true */)
}
else
{
- // get graphics familie
+ // get graphics family
xFamilies->getByName("graphics") >>= xFamily;
aStyleName = GetImport().GetStyleDisplayName(
XML_STYLE_FAMILY_SD_GRAPHICS_ID,