summaryrefslogtreecommitdiff
path: root/framework/source/accelerators
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2018-01-14 12:50:47 +0100
committerJulien Nabet <serval2412@yahoo.fr>2018-01-14 16:24:04 +0100
commitcfffb09b3d6d46c500e3be3fe601a4ff6944d40e (patch)
tree9cb01bdb90949dd670b8bb30d23cf4be32cefc89 /framework/source/accelerators
parentfa014ee6e13d182cb5830698558284e7caffa5f9 (diff)
Fix typos
Change-Id: I2a578961837076ebce3c1fb2681b0785d1d490ac Reviewed-on: https://gerrit.libreoffice.org/47857 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'framework/source/accelerators')
-rw-r--r--framework/source/accelerators/presethandler.cxx2
-rw-r--r--framework/source/accelerators/storageholder.cxx6
2 files changed, 4 insertions, 4 deletions
diff --git a/framework/source/accelerators/presethandler.cxx b/framework/source/accelerators/presethandler.cxx
index 3d6047dadaae..b5b309150fd6 100644
--- a/framework/source/accelerators/presethandler.cxx
+++ b/framework/source/accelerators/presethandler.cxx
@@ -761,7 +761,7 @@ css::uno::Reference< css::embed::XStorage > PresetHandler::impl_openLocalizedPat
// it doesn't matter, if there is a locale fallback or not
// If creation of storages is allowed, we do it anyway.
- // Otherwhise we have no acc config at all, which can make other trouble.
+ // Otherwise we have no acc config at all, which can make other trouble.
OUString sLocalizedPath;
sLocalizedPath = sPath;
sLocalizedPath += "/";
diff --git a/framework/source/accelerators/storageholder.cxx b/framework/source/accelerators/storageholder.cxx
index 7ea3d2f76ce2..0b29d038d1b2 100644
--- a/framework/source/accelerators/storageholder.cxx
+++ b/framework/source/accelerators/storageholder.cxx
@@ -110,7 +110,7 @@ css::uno::Reference< css::embed::XStorage > StorageHolder::openPath(const OUStri
aReadLock.reset();
// If we found an already open storage ... we must increase
- // its use count. Otherwhise it will may be closed to early :-)
+ // its use count. Otherwise it will may be closed to early :-)
TPath2StorageInfo::iterator pCheck = m_lStorages.find(sCheckPath);
TStorageInfo* pInfo = nullptr;
if (pCheck != m_lStorages.end())
@@ -429,7 +429,7 @@ css::uno::Reference< css::embed::XStorage > StorageHolder::openSubStorageWithFal
// c) try it readonly
// don't catch exception here! Outside code wish to know, if operation failed or not.
- // Otherwhise they work on NULL references ...
+ // Otherwise they work on NULL references ...
sal_Int32 eNewMode = (eOpenMode & ~css::embed::ElementModes::WRITE);
css::uno::Reference< css::embed::XStorage > xSubStorage = xBaseStorage->openStorageElement(sSubStorage, eNewMode);
if (xSubStorage.is())
@@ -468,7 +468,7 @@ css::uno::Reference< css::io::XStream > StorageHolder::openSubStreamWithFallback
// c) try it readonly
// don't catch exception here! Outside code wish to know, if operation failed or not.
- // Otherwhise they work on NULL references ...
+ // Otherwise they work on NULL references ...
sal_Int32 eNewMode = (eOpenMode & ~css::embed::ElementModes::WRITE);
css::uno::Reference< css::io::XStream > xSubStream = xBaseStorage->openStreamElement(sSubStream, eNewMode);
if (xSubStream.is())