summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2016-10-23 12:56:00 +0200
committerjan iversen <jani@documentfoundation.org>2016-10-23 17:17:01 +0000
commit525311b0d6db11f247097fe76d1b2967966cf669 (patch)
treef1b6e1c427ba7134bad76151b0acfac90c252151
parent40d39343cccff39e1f83c4553fda45478de577a9 (diff)
Fix typos
Change-Id: Ib7b17f85c7b6a1937c3f6e1617ceec58074643b4 Reviewed-on: https://gerrit.libreoffice.org/30040 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
-rw-r--r--basic/source/classes/sbxmod.cxx2
-rw-r--r--comphelper/source/misc/backupfilehelper.cxx2
-rw-r--r--configmgr/source/components.cxx2
-rw-r--r--configmgr/source/writemodfile.cxx2
-rw-r--r--dtrans/source/win32/clipb/WinClipbImpl.cxx2
-rw-r--r--include/basegfx/polygon/b2dtrapezoid.hxx2
-rw-r--r--include/comphelper/backupfilehelper.hxx2
-rw-r--r--include/xmloff/xmlexp.hxx2
-rw-r--r--sc/source/core/data/table1.cxx2
-rw-r--r--solenv/gdb/libreoffice/util/string.py2
-rw-r--r--svx/source/sdr/contact/viewcontactofsdrobj.cxx2
-rw-r--r--ucb/source/ucp/webdav-neon/DAVTypes.hxx2
-rw-r--r--vcl/source/gdi/CommonSalLayout.cxx2
-rw-r--r--xmlsecurity/source/pdfio/pdfdocument.cxx4
14 files changed, 15 insertions, 15 deletions
diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx
index b7d9d5937b73..79cfa649e18f 100644
--- a/basic/source/classes/sbxmod.cxx
+++ b/basic/source/classes/sbxmod.cxx
@@ -676,7 +676,7 @@ void SbModule::Clear()
SbxVariable* SbModule::Find( const OUString& rName, SbxClassType t )
{
- // make sure a search in an uninstatiated class module will fail
+ // make sure a search in an uninstantiated class module will fail
SbxVariable* pRes = SbxObject::Find( rName, t );
if ( bIsProxyModule && !GetSbData()->bRunInit )
{
diff --git a/comphelper/source/misc/backupfilehelper.cxx b/comphelper/source/misc/backupfilehelper.cxx
index f975c9c6d527..f9587cecb4a7 100644
--- a/comphelper/source/misc/backupfilehelper.cxx
+++ b/comphelper/source/misc/backupfilehelper.cxx
@@ -994,7 +994,7 @@ namespace
sal_uInt32 mnOffset; // offset in File (zero identifies new file)
sal_uInt32 mnCrc32; // checksum
FileSharedPtr maFile; // file where to find the data (at offset)
- bool mbDoCompress; // flag if this file is scheduled to be compredded when written
+ bool mbDoCompress; // flag if this file is scheduled to be compressed when written
bool copy_content_straight(oslFileHandle& rTargetHandle)
{
diff --git a/configmgr/source/components.cxx b/configmgr/source/components.cxx
index 3e538402d955..7eb87968811a 100644
--- a/configmgr/source/components.cxx
+++ b/configmgr/source/components.cxx
@@ -628,7 +628,7 @@ Components::~Components()
if (bExitWasCalled)
{
- // do not write, re-join thereads
+ // do not write, re-join threads
osl::MutexGuard g(*lock_);
if (writeThread_.is())
diff --git a/configmgr/source/writemodfile.cxx b/configmgr/source/writemodfile.cxx
index 6f83216ec646..a1e545e5b5a3 100644
--- a/configmgr/source/writemodfile.cxx
+++ b/configmgr/source/writemodfile.cxx
@@ -632,7 +632,7 @@ void writeModFile(
// registrymodifications file, this is done based on file size in bytes and crc32.
// Unfortunately this write is based on writing unordered map entries, which creates
// valid and semantically equal XML-Files, bubt with different crc32 checksums. For
- // the future usage it will be preferrable to have easily comparable config files
+ // the future usage it will be preferable to have easily comparable config files
// which is guaranteed by writing the entries in sorted order. Indeed with this change
// (and in the recursive writeModifications call) the same config files get written
diff --git a/dtrans/source/win32/clipb/WinClipbImpl.cxx b/dtrans/source/win32/clipb/WinClipbImpl.cxx
index d38c30855435..76d7b06c95c4 100644
--- a/dtrans/source/win32/clipb/WinClipbImpl.cxx
+++ b/dtrans/source/win32/clipb/WinClipbImpl.cxx
@@ -152,7 +152,7 @@ void SAL_CALL CWinClipbImpl::flushClipboard( ) throw( RuntimeException )
// The request is needed to prevent flushing if we are not clipboard owner (it is
// not known what happens if we flush but aren't clipoard owner).
// It may be possible to move the request to the clipboard STA thread by saving the
- // DataObject and call OleIsCurrentClipboard bevore flushing.
+ // DataObject and call OleIsCurrentClipboard before flushing.
if ( nullptr != m_pCurrentClipContent )
m_MtaOleClipboard.flushClipboard( );
diff --git a/include/basegfx/polygon/b2dtrapezoid.hxx b/include/basegfx/polygon/b2dtrapezoid.hxx
index e02636700219..d50772874709 100644
--- a/include/basegfx/polygon/b2dtrapezoid.hxx
+++ b/include/basegfx/polygon/b2dtrapezoid.hxx
@@ -97,7 +97,7 @@ namespace basegfx
double fLineWidth);
// create trapezoids for all edges of the given polygon. The closed state of
- // the polygon is taken into account. If curves are contaned, the default
+ // the polygon is taken into account. If curves are contained, the default
// AdaptiveSubdivision will be used.
BASEGFX_DLLPUBLIC void createLineTrapezoidFromB2DPolygon(
B2DTrapezoidVector& ro_Result,
diff --git a/include/comphelper/backupfilehelper.hxx b/include/comphelper/backupfilehelper.hxx
index 8d2161626af2..08572510e4b2 100644
--- a/include/comphelper/backupfilehelper.hxx
+++ b/include/comphelper/backupfilehelper.hxx
@@ -116,7 +116,7 @@ namespace comphelper
static void reactOnSafeMode(bool bSafeMode);
/** tries to create a new backup, if there is none yet, or if the
- * last differs from the base file. It will then put a new verion
+ * last differs from the base file. It will then put a new version
* on the 'stack' of copies and evtl. delete the oldest backup.
* Also may cleanup older backups when NumBackups given in the
* constructor has changed.
diff --git a/include/xmloff/xmlexp.hxx b/include/xmloff/xmlexp.hxx
index 2c9ed6d20bc1..1ee7ba625178 100644
--- a/include/xmloff/xmlexp.hxx
+++ b/include/xmloff/xmlexp.hxx
@@ -661,7 +661,7 @@ public:
SvXMLElementExport( SvXMLExport& rExp, const OUString& rQName,
bool bIgnWSOutside, bool bIgnWSInside );
- // Thes constructors do nothing if bDoSomething is not set
+ // These constructors do nothing if bDoSomething is not set
SvXMLElementExport( SvXMLExport& rExp, bool bDoSomething,
sal_uInt16 nPrefix,
enum ::xmloff::token::XMLTokenEnum eName,
diff --git a/sc/source/core/data/table1.cxx b/sc/source/core/data/table1.cxx
index 1ad6ebe3c147..8f34af0d0581 100644
--- a/sc/source/core/data/table1.cxx
+++ b/sc/source/core/data/table1.cxx
@@ -1509,7 +1509,7 @@ void ScTable::UpdateReference(
SCROW nRow1 = rCxt.maRange.aStart.Row(), nRow2 = rCxt.maRange.aEnd.Row();
SCTAB nTab1 = rCxt.maRange.aStart.Tab(), nTab2 = rCxt.maRange.aEnd.Tab();
- // Named expressions need to be updated before formulas acessing them.
+ // Named expressions need to be updated before formulas accessing them.
if (mpRangeName)
mpRangeName->UpdateReference(rCxt, nTab);
diff --git a/solenv/gdb/libreoffice/util/string.py b/solenv/gdb/libreoffice/util/string.py
index 4583f5960ae1..32583718f83b 100644
--- a/solenv/gdb/libreoffice/util/string.py
+++ b/solenv/gdb/libreoffice/util/string.py
@@ -28,7 +28,7 @@ class StringPrinterHelper(object):
len = self.length()
return self.make_string(data, self.encoding, len)
else:
- return "unintialized %s" % self.typename
+ return "uninitialized %s" % self.typename
def display_hint(self):
if self.valid():
diff --git a/svx/source/sdr/contact/viewcontactofsdrobj.cxx b/svx/source/sdr/contact/viewcontactofsdrobj.cxx
index 9b6713ec99bc..7147bdd01702 100644
--- a/svx/source/sdr/contact/viewcontactofsdrobj.cxx
+++ b/svx/source/sdr/contact/viewcontactofsdrobj.cxx
@@ -128,7 +128,7 @@ void ViewContactOfSdrObj::ActionChanged()
ViewContact::ActionChanged();
}
-// override for acessing the SdrObject
+// override for accessing the SdrObject
SdrObject* ViewContactOfSdrObj::TryToGetSdrObject() const
{
return &GetSdrObject();
diff --git a/ucb/source/ucp/webdav-neon/DAVTypes.hxx b/ucb/source/ucp/webdav-neon/DAVTypes.hxx
index 8474ad943f3a..2356ab132315 100644
--- a/ucb/source/ucp/webdav-neon/DAVTypes.hxx
+++ b/ucb/source/ucp/webdav-neon/DAVTypes.hxx
@@ -95,7 +95,7 @@ namespace webdav_ucp
/// The cached HTT response status code. It's 0 if the code was dealt with and there is no need to cache it
sal_uInt16 m_nHttpResponseStatusCode;
- /// The cached string with the server returned HTTP reponse status code string, corresponds to m_nHttpResponseStatusCode.
+ /// The cached string with the server returned HTTP response status code string, corresponds to m_nHttpResponseStatusCode.
OUString m_sHttpResponseStatusText;
public:
diff --git a/vcl/source/gdi/CommonSalLayout.cxx b/vcl/source/gdi/CommonSalLayout.cxx
index 0fba16b75b0b..4bd9f605cae0 100644
--- a/vcl/source/gdi/CommonSalLayout.cxx
+++ b/vcl/source/gdi/CommonSalLayout.cxx
@@ -609,7 +609,7 @@ bool CommonSalLayout::GetCharWidths(DeviceCoordinate* pCharWidths) const
// - In LayoutText() set KashidaJustification flag based on text script.
// - In ApplyDXArray():
// * Check the above flag to decide whether to insert Kashidas or not.
-// * For any RTL glyph that has DX adjustment, insert enough Khashidas to
+// * For any RTL glyph that has DX adjustment, insert enough Kashidas to
// fill in the added space.
void CommonSalLayout::ApplyDXArray(ImplLayoutArgs& rArgs)
diff --git a/xmlsecurity/source/pdfio/pdfdocument.cxx b/xmlsecurity/source/pdfio/pdfdocument.cxx
index 753c308fcfe9..2a5b70e92ac5 100644
--- a/xmlsecurity/source/pdfio/pdfdocument.cxx
+++ b/xmlsecurity/source/pdfio/pdfdocument.cxx
@@ -218,7 +218,7 @@ public:
bool Read(SvStream& rStream) override;
};
-/// The trailer signleton is at the end of the doc.
+/// The trailer singleton is at the end of the doc.
class PDFTrailerElement : public PDFElement
{
PDFDocument& m_rDoc;
@@ -854,7 +854,7 @@ void PDFDocument::ReadXRef(SvStream& rStream)
PDFNumberElement aGenerationNumber;
if (!aGenerationNumber.Read(rStream))
{
- SAL_WARN("xmlsecurity.pdfio", "PDFDocument::ReadXRef: failed to read genration number");
+ SAL_WARN("xmlsecurity.pdfio", "PDFDocument::ReadXRef: failed to read generation number");
return;
}