summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2017-03-24 11:38:26 +0100
committerJulien Nabet <serval2412@yahoo.fr>2017-03-25 08:57:51 +0000
commite4af83972e6be8b94772e46741500225ac166774 (patch)
treebb55af4a24feac00f224a804492f7ef18349addf
parent74d67cffec4eea0a575869513158b050e42ec983 (diff)
Fix typos
Change-Id: Ifb779b6c96a009e6c770a8017bb2e2031a288f5f Reviewed-on: https://gerrit.libreoffice.org/35630 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
-rw-r--r--filter/source/graphicfilter/etiff/etiff.cxx2
-rw-r--r--filter/source/graphicfilter/ipict/ipict.cxx2
-rw-r--r--filter/source/graphicfilter/ipict/shape.cxx2
-rw-r--r--filter/source/msfilter/dffpropset.cxx2
-rw-r--r--filter/source/msfilter/svdfppt.cxx8
-rw-r--r--filter/source/msfilter/util.cxx4
-rw-r--r--forms/source/component/FormattedFieldWrapper.cxx2
-rw-r--r--forms/source/misc/InterfaceContainer.cxx4
-rw-r--r--forms/source/runtime/formoperations.hxx2
-rw-r--r--forms/source/xforms/binding.cxx2
-rw-r--r--forms/source/xforms/binding.hxx2
-rw-r--r--forms/source/xforms/submission.cxx2
-rw-r--r--fpicker/source/office/OfficeFilePicker.cxx2
-rw-r--r--fpicker/source/office/commonpicker.hxx2
-rw-r--r--fpicker/source/win32/filepicker/VistaFilePicker.hxx2
-rw-r--r--fpicker/source/win32/filepicker/VistaFilePickerEventHandler.hxx2
-rw-r--r--fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx8
17 files changed, 25 insertions, 25 deletions
diff --git a/filter/source/graphicfilter/etiff/etiff.cxx b/filter/source/graphicfilter/etiff/etiff.cxx
index 43b6730c5b3b..01520ae90949 100644
--- a/filter/source/graphicfilter/etiff/etiff.cxx
+++ b/filter/source/graphicfilter/etiff/etiff.cxx
@@ -253,7 +253,7 @@ bool TIFFWriter::ImplWriteHeader( bool bMultiPage )
// (OFS8) TIFF image file directory (IFD)
mnCurrentTagCountPos = m_rOStm.Tell();
- m_rOStm.WriteUInt16( 0 ); // the number of tagentrys is to insert later
+ m_rOStm.WriteUInt16( 0 ); // the number of tangents to insert later
sal_uInt32 nSubFileFlags = 0;
if ( bMultiPage )
diff --git a/filter/source/graphicfilter/ipict/ipict.cxx b/filter/source/graphicfilter/ipict/ipict.cxx
index dd5024df94e1..bcdbc3caa867 100644
--- a/filter/source/graphicfilter/ipict/ipict.cxx
+++ b/filter/source/graphicfilter/ipict/ipict.cxx
@@ -1231,7 +1231,7 @@ void PictReader::ReadHeader()
if (st < 2) { confidence[st] = --actualConfid; continue; }
IsVersion2 = false; return;
}
- if (sBuf[0] != 0x00) continue; // unrecovable error
+ if (sBuf[0] != 0x00) continue; // unrecoverable error
int numZero = 0;
do
{
diff --git a/filter/source/graphicfilter/ipict/shape.cxx b/filter/source/graphicfilter/ipict/shape.cxx
index 99b8719ad623..5aba327f869d 100644
--- a/filter/source/graphicfilter/ipict/shape.cxx
+++ b/filter/source/graphicfilter/ipict/shape.cxx
@@ -122,7 +122,7 @@ namespace PictReaderShape {
}
//-------------------- draws a rectangle --------------------
- /* Note(checkme): contradically with the QuickDraw's reference 3-23, it seems better to consider
+ /* Note(checkme): contradictally with the QuickDraw's reference 3-23, it seems better to consider
that the frame/content of a rectangle appears inside the given rectangle. Does a conversion
appear between the pascal functions and the data stored in the file ? */
void drawRectangle(VirtualDevice *dev, bool drawFrame, Rectangle const &orig, Size const &pSize) {
diff --git a/filter/source/msfilter/dffpropset.cxx b/filter/source/msfilter/dffpropset.cxx
index 214eb4808e88..5490fee57366 100644
--- a/filter/source/msfilter/dffpropset.cxx
+++ b/filter/source/msfilter/dffpropset.cxx
@@ -1160,7 +1160,7 @@ void DffPropSet::ReadPropSet( SvStream& rIn, bool bSetUninitializedOnly )
// normally nContent is the complete size of the complex property,
// but this is not always true for IMsoArrays ( what the hell is a IMsoArray ? )
- // I love special threatments :-(
+ // I love special treatments :-(
if ( ( nRecType == DFF_Prop_pVertices ) || ( nRecType == DFF_Prop_pSegmentInfo )
|| ( nRecType == DFF_Prop_fillShadeColors ) || ( nRecType == DFF_Prop_lineDashStyle )
|| ( nRecType == DFF_Prop_pWrapPolygonVertices ) || ( nRecType == DFF_Prop_connectorPoints )
diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx
index cac4f5b44066..b7e76ca57d6d 100644
--- a/filter/source/msfilter/svdfppt.cxx
+++ b/filter/source/msfilter/svdfppt.cxx
@@ -277,7 +277,7 @@ SvStream& ReadPptDocumentAtom(SvStream& rIn, PptDocumentAtom& rAtom)
rIn
.ReadInt32( nSlideX ).ReadInt32( nSlideY )
.ReadInt32( nNoticeX ).ReadInt32( nNoticeY )
- .ReadInt32( nDummy ).ReadInt32( nDummy ) // skip ZoomRation
+ .ReadInt32( nDummy ).ReadInt32( nDummy ) // skip ZoomRatio
.ReadUInt32( rAtom.nNotesMasterPersist )
.ReadUInt32( rAtom.nHandoutMasterPersist )
.ReadUInt16( rAtom.n1stPageNumber )
@@ -2502,7 +2502,7 @@ Size SdrPowerPointImport::GetPageSize() const
{
Size aRet( IsNoteOrHandout( nAktPageNum, eAktPageKind ) ? aDocAtom.GetNotesPageSize() : aDocAtom.GetSlidesPageSize() );
Scale( aRet );
- // PPT works with units of 576 dpi in any case. To avoid inacurracies
+ // PPT works with units of 576 dpi in any case. To avoid inaccuracies
// I do round the last decimal digit away.
if ( nMapMul > 2 * nMapDiv )
{
@@ -7802,7 +7802,7 @@ void SdrPowerPointImport::ApplyTextAnchorAttributes( PPTTextObj& rTextObj, Sf
{
// check if it is sensible to use the centered alignment
sal_uInt32 nMask = PPT_TEXTOBJ_FLAGS_PARA_ALIGNMENT_USED_LEFT | PPT_TEXTOBJ_FLAGS_PARA_ALIGNMENT_USED_RIGHT;
- if ( ( nTextFlags & nMask ) != nMask ) // if the textobject has left or also right aligned pararagraphs
+ if ( ( nTextFlags & nMask ) != nMask ) // if the textobject has left or also right aligned paragraphs
eTVA = SDRTEXTVERTADJUST_CENTER; // the text has to be displayed using the full width;
}
break;
@@ -7855,7 +7855,7 @@ void SdrPowerPointImport::ApplyTextAnchorAttributes( PPTTextObj& rTextObj, Sf
{
// check if it is sensible to use the centered alignment
sal_uInt32 nMask = PPT_TEXTOBJ_FLAGS_PARA_ALIGNMENT_USED_LEFT | PPT_TEXTOBJ_FLAGS_PARA_ALIGNMENT_USED_RIGHT;
- if ( ( nTextFlags & nMask ) != nMask ) // if the textobject has left or also right aligned pararagraphs
+ if ( ( nTextFlags & nMask ) != nMask ) // if the textobject has left or also right aligned paragraphs
eTHA = SDRTEXTHORZADJUST_CENTER; // the text has to be displayed using the full width;
}
break;
diff --git a/filter/source/msfilter/util.cxx b/filter/source/msfilter/util.cxx
index 714d74df6604..b105029a244f 100644
--- a/filter/source/msfilter/util.cxx
+++ b/filter/source/msfilter/util.cxx
@@ -369,7 +369,7 @@ sal_Int32 WW8ReadFieldParams::SkipToNextToken()
}
// FindNextPara searches the next backslash parameter or the next string
-// until the next blank or "\" or closing quatation mark
+// until the next blank or "\" or closing quotation mark
// or the end of the string of pStr.
//
// Output ppNext (if ppNext != 0) Suchbeginn fuer naechsten Parameter bzw. 0
@@ -403,7 +403,7 @@ sal_Int32 WW8ReadFieldParams::FindNextStringPiece(const sal_Int32 nStart)
// quotation marks before paragraph?
if ( aData[n]=='"' || aData[n]==0x201c || aData[n]==132 || aData[n]==0x14 )
{
- n++; // read over quatation marks
+ n++; // read over quotation marks
n2 = n; // search for the end from here on
while( (nLen > n2)
&& (aData[n2] != '"')
diff --git a/forms/source/component/FormattedFieldWrapper.cxx b/forms/source/component/FormattedFieldWrapper.cxx
index 3cc5c3848d8e..60adbca0e735 100644
--- a/forms/source/component/FormattedFieldWrapper.cxx
+++ b/forms/source/component/FormattedFieldWrapper.cxx
@@ -288,7 +288,7 @@ void SAL_CALL OFormattedFieldWrapper::read(const Reference<XObjectInputStream>&
}
else
{ // no -> substitute it with a formatted model
- // let the formmatted model do the reading
+ // let the formatted model do the reading
m_xFormattedPart.set(new OFormattedModel(m_xContext));
m_xFormattedPart->read(_rxInStream);
m_pEditPart = pBasicReader;
diff --git a/forms/source/misc/InterfaceContainer.cxx b/forms/source/misc/InterfaceContainer.cxx
index ca07115fd74f..492c4b063d5f 100644
--- a/forms/source/misc/InterfaceContainer.cxx
+++ b/forms/source/misc/InterfaceContainer.cxx
@@ -897,13 +897,13 @@ void OInterfaceContainer::removeElementsNoEvents()
void OInterfaceContainer::implInserted( const ElementDescription* /*_pElement*/ )
{
- // not inrerested in
+ // not interested in
}
void OInterfaceContainer::implRemoved( const css::uno::Reference<css::uno::XInterface>& /*_rxObject*/ )
{
- // not inrerested in
+ // not interested in
}
diff --git a/forms/source/runtime/formoperations.hxx b/forms/source/runtime/formoperations.hxx
index 233d59c50015..db76e57f7df8 100644
--- a/forms/source/runtime/formoperations.hxx
+++ b/forms/source/runtime/formoperations.hxx
@@ -209,7 +209,7 @@ namespace frm
/// determines whether our form is in "insert-only" mode
bool impl_isInsertOnlyForm_throw() const;
- /** retrieces the column to which the current control of our controller is bound
+ /** retrieves the column to which the current control of our controller is bound
@precond
m_xController.is()
*/
diff --git a/forms/source/xforms/binding.cxx b/forms/source/xforms/binding.cxx
index c0402ea2e35c..75e4f0de1817 100644
--- a/forms/source/xforms/binding.cxx
+++ b/forms/source/xforms/binding.cxx
@@ -1188,7 +1188,7 @@ void Binding::handleEvent( const css::uno::Reference<css::xml::dom::events::XEve
if(sType == "xforms-generic") {
// the modification of the 'mnDeferModifyNotifications'-member
- // is necessary to prevent infinite notication looping.
+ // is necessary to prevent infinite notification looping.
// This can happened in case the binding which caused
// the notification chain is listening to those events
// as well...
diff --git a/forms/source/xforms/binding.hxx b/forms/source/xforms/binding.hxx
index bf6cedc29bed..b5d042a4d25f 100644
--- a/forms/source/xforms/binding.hxx
+++ b/forms/source/xforms/binding.hxx
@@ -224,7 +224,7 @@ public:
/// get this binding's context node
xforms::EvaluationContext getEvaluationContext() const;
- /// get evalation contexts for this binding's MIPs
+ /// get evaluation contexts for this binding's MIPs
std::vector<xforms::EvaluationContext> getMIPEvaluationContexts();
/// get nodeset the bind is bound to
diff --git a/forms/source/xforms/submission.cxx b/forms/source/xforms/submission.cxx
index 55115077fda7..a0cd6e9fcdba 100644
--- a/forms/source/xforms/submission.cxx
+++ b/forms/source/xforms/submission.cxx
@@ -426,7 +426,7 @@ void SAL_CALL Submission::submitWithInteraction(
if( _rxHandler.is() )
{
- // labouriously create interaction request
+ // laboriously create interaction request
comphelper::OInteractionRequest* pRequest
= new comphelper::OInteractionRequest(
makeAny( aInvalidDataException ) );
diff --git a/fpicker/source/office/OfficeFilePicker.cxx b/fpicker/source/office/OfficeFilePicker.cxx
index 1022932c1042..82d39d1c9348 100644
--- a/fpicker/source/office/OfficeFilePicker.cxx
+++ b/fpicker/source/office/OfficeFilePicker.cxx
@@ -907,7 +907,7 @@ sal_Bool SAL_CALL SvtFilePicker::setShowState( sal_Bool )
// the preview window switchable because
// else we would have to change the layout
// of the file dialog dynamically
- // support for set/getShowState is opionally
+ // support for set/getShowState is optionally
// see css::ui::dialogs::XFilePreview
bRet = false;
diff --git a/fpicker/source/office/commonpicker.hxx b/fpicker/source/office/commonpicker.hxx
index 81ecad00daec..e57ad8250262 100644
--- a/fpicker/source/office/commonpicker.hxx
+++ b/fpicker/source/office/commonpicker.hxx
@@ -112,7 +112,7 @@ namespace svt
virtual void SAL_CALL disposing() override;
- // XEventListner
+ // XEventListener
virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) override;
diff --git a/fpicker/source/win32/filepicker/VistaFilePicker.hxx b/fpicker/source/win32/filepicker/VistaFilePicker.hxx
index 946f66efdd6b..118646810c4b 100644
--- a/fpicker/source/win32/filepicker/VistaFilePicker.hxx
+++ b/fpicker/source/win32/filepicker/VistaFilePicker.hxx
@@ -55,7 +55,7 @@ typedef ::cppu::WeakComponentImplHelper<
for Windows Vista and upcoming versions.
Note: This will be an UNO wrapper for the real file picker
- implementation oly. The real implementation is done in class
+ implementation only. The real implementation is done in class
VistaFilePickerImpl.
*/
class VistaFilePicker : public ::cppu::BaseMutex
diff --git a/fpicker/source/win32/filepicker/VistaFilePickerEventHandler.hxx b/fpicker/source/win32/filepicker/VistaFilePickerEventHandler.hxx
index 329e7264c9c6..103e2667299d 100644
--- a/fpicker/source/win32/filepicker/VistaFilePickerEventHandler.hxx
+++ b/fpicker/source/win32/filepicker/VistaFilePickerEventHandler.hxx
@@ -142,7 +142,7 @@ class VistaFilePickerEventHandler : public ::cppu::BaseMutex
/** stop listening for file picker events on the internally cached dialog COM object.
*
- * The COM dialog provided on the startListeneing() call was cached internally.
+ * The COM dialog provided on the startListening() call was cached internally.
* And now its used to deregister this listener. Doing so the also internally cached
* listener handle is used. If listener was not already registered - nothing will happen.
*/
diff --git a/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx b/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx
index 9600b0bb4730..994326d4c14d 100644
--- a/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx
+++ b/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx
@@ -165,10 +165,10 @@ void VistaFilePickerImpl::before()
// TRICKY .-)
// osl::Thread class initializes COm already in MTA mode because it's needed
- // by VCL and UNO so. There is no way to change that from outside ...
- // but we need a STA environment ...
- // So we make it by try-and-error ...
- // If first CoInitialize will fail .. we unitialize COM initialize it new .-)
+ // by VCL and UNO so. There is no way to change that from outside...
+ // but we need a STA environment...
+ // So we make it by try-and-error...
+ // If first CoInitialize will fail... we uninitialize COM initialize it new .-)
m_hLastResult = CoInitializeEx(nullptr, COINIT_APARTMENTTHREADED);
if ( FAILED(m_hLastResult) )