diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2017-02-13 10:29:54 +0100 |
---|---|---|
committer | Aleksandar Stefanović <theonewithideas@gmail.com> | 2017-02-13 09:37:18 +0000 |
commit | 417bc898802630c567d970d0283312697acdd5ff (patch) | |
tree | 00d1f7c1ebf59a6023531ef2c22371150b717dc1 | |
parent | 529162307e9d6191fe43d50597504474b2c1a5ba (diff) |
Fix typos
Change-Id: Iaf6bbe81f519d49b82f624282d786c8cc18d641c
Reviewed-on: https://gerrit.libreoffice.org/34199
Reviewed-by: Aleksandar Stefanović <theonewithideas@gmail.com>
Tested-by: Aleksandar Stefanović <theonewithideas@gmail.com>
28 files changed, 30 insertions, 30 deletions
diff --git a/android/source/src/java/org/mozilla/gecko/gfx/LayerView.java b/android/source/src/java/org/mozilla/gecko/gfx/LayerView.java index ea2db576a224..524efbf512dc 100644 --- a/android/source/src/java/org/mozilla/gecko/gfx/LayerView.java +++ b/android/source/src/java/org/mozilla/gecko/gfx/LayerView.java @@ -56,7 +56,7 @@ public class LayerView extends FrameLayout { private Listener mListener; private OnInterceptTouchListener mTouchIntercepter; - //TODO static beacuse of registerCxxCompositor() function, should be fixed in the future + //TODO static because of registerCxxCompositor() function, should be fixed in the future private static LibreOfficeMainActivity mContext; /* Flags used to determine when to show the painted surface. The integer diff --git a/canvas/source/vcl/canvasbitmap.hxx b/canvas/source/vcl/canvasbitmap.hxx index ca0cbaaa9bab..3daadeedeb79 100644 --- a/canvas/source/vcl/canvasbitmap.hxx +++ b/canvas/source/vcl/canvasbitmap.hxx @@ -102,7 +102,7 @@ namespace vclcanvas // handle values have these meanings: // 0 ... get pointer to BitmapEx // 1 ... get X pixmap handle to rgb content - // 2 ... get X pitmap handle to alpha mask + // 2 ... get X pixmap handle to alpha mask // returned any contains either BitmapEx pointer or array of three Any value // 1st a bool value: true - free the pixmap after used by XFreePixmap, false do nothing, the pixmap is used internally in the canvas // 2nd the pixmap handle diff --git a/chart2/qa/extras/chart2dump/chart2dump.cxx b/chart2/qa/extras/chart2dump/chart2dump.cxx index b5d74a22e078..1fcff58c6416 100755 --- a/chart2/qa/extras/chart2dump/chart2dump.cxx +++ b/chart2/qa/extras/chart2dump/chart2dump.cxx @@ -661,7 +661,7 @@ DECLARE_DUMP_TEST(AxisLabelTest, Chart2DumpTest, false) for (const OUString& sAxisShapeName : aAxisShapeNames) { uno::Reference<drawing::XShape> xXAxis = getShapeByName(xShapes, sAxisShapeName, - // Axis occures twice in chart xshape representation so need to get the one related to labels + // Axis occurs twice in chart xshape representation so need to get the one related to labels [](const uno::Reference<drawing::XShape>& rXShape) -> bool { uno::Reference<drawing::XShapes> xAxisShapes(rXShape, uno::UNO_QUERY); diff --git a/extensions/source/propctrlr/composeduiupdate.cxx b/extensions/source/propctrlr/composeduiupdate.cxx index a627bdfea960..372193d752d7 100644 --- a/extensions/source/propctrlr/composeduiupdate.cxx +++ b/extensions/source/propctrlr/composeduiupdate.cxx @@ -511,7 +511,7 @@ namespace pcr typedef void ( SAL_CALL XObjectInspectorUI::*FPropertyUIFlagSetter )( const OUString&, sal_Bool ); - // an implementaiton of the ->IStringKeyBooleanUIUpdate interface which calls + // an implementation of the ->IStringKeyBooleanUIUpdate interface which calls // am arbitrary ->XObjectInspectorUI method taking a string and a boolean flag class DefaultStringKeyBooleanUIUpdate : public IStringKeyBooleanUIUpdate { diff --git a/filter/source/pdf/impdialog.cxx b/filter/source/pdf/impdialog.cxx index f68ea49ed9cb..6ffa9f0f3d91 100644 --- a/filter/source/pdf/impdialog.cxx +++ b/filter/source/pdf/impdialog.cxx @@ -165,7 +165,7 @@ ImpPDFTabDialog::ImpPDFTabDialog(vcl::Window* pParent, Sequence< PropertyValue > } } - // check if source document is a presentation or a spredsheet or a textdocument + // check if source document is a presentation or a spreadsheet or a textdocument try { Reference< XServiceInfo > xInfo( rxDoc, UNO_QUERY ); diff --git a/i18npool/source/transliteration/ignoreDiacritics_CTL.cxx b/i18npool/source/transliteration/ignoreDiacritics_CTL.cxx index 8c83ed8f3ba9..90142c32c2fc 100644 --- a/i18npool/source/transliteration/ignoreDiacritics_CTL.cxx +++ b/i18npool/source/transliteration/ignoreDiacritics_CTL.cxx @@ -42,7 +42,7 @@ ignoreDiacritics_CTL::transliterateChar2Char(sal_Unicode nInChar) return 0xffff; // Skip this character. if (aChar.length() > 1) - return nInChar; // Don't know what to do here, return the otiginal. + return nInChar; // Don't know what to do here, return the original. return aChar[0]; } diff --git a/include/svx/svdoedge.hxx b/include/svx/svdoedge.hxx index bcdf02e5c744..adda37c3d9e6 100644 --- a/include/svx/svdoedge.hxx +++ b/include/svx/svdoedge.hxx @@ -76,7 +76,7 @@ class SdrEdgeInfoRec { public: // The 5 distances are set on dragging or via SetAttr and are - // evaluated by ImpCalcEdgeTrack. Only 0-3 longs are transpeorted + // evaluated by ImpCalcEdgeTrack. Only 0-3 longs are transported // via Get/SetAttr/Get/SetStyleSh though. Point aObj1Line2; Point aObj1Line3; diff --git a/include/svx/tbcontrl.hxx b/include/svx/tbcontrl.hxx index 3bfde90a8f95..3c96ab1fc4eb 100644 --- a/include/svx/tbcontrl.hxx +++ b/include/svx/tbcontrl.hxx @@ -103,7 +103,7 @@ If the Controller ein SfxUInt16Item receives a value != 0, paragraph mode will be switched on, i.e. the last line will be hidden. - A value == 0 switches again to Tabel mode. + A value == 0 switches again to Table mode. SvxFrameLineStyleToolBoxControl ------------------------------- diff --git a/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx b/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx index 675341f6ee23..542e63154b38 100644 --- a/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx +++ b/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx @@ -435,7 +435,7 @@ gboolean CommentsSidebar::docConfigureEvent(GtkWidget* pDocView, GdkEventConfigu TiledWindow& rWindow = lcl_getTiledWindow(pDocView); LibreOfficeKitDocument* pDocument = lok_doc_view_get_document(LOK_DOC_VIEW(pDocView)); - // whether tield rendering is turned on + // whether tiled rendering is turned on gboolean bTiledAnnotations; g_object_get(G_OBJECT(pDocView), "tiled-annotations", &bTiledAnnotations, nullptr); diff --git a/oox/README b/oox/README index 4f0329d24d5a..dece2c68c5d1 100644 --- a/oox/README +++ b/oox/README @@ -131,7 +131,7 @@ needed. In order to convert preset shapes to LO's enhanced custom shape, we need to load shape definition of preset shapes. The procedure -to convert the defintion from OOXML spec for LO is documented +to convert the definition from OOXML spec for LO is documented ( also a script ) in oox/source/drawingml/customshapes/README. The scripts in oox/source/drawingml/customshapes/ also generate pptx files for signle presets and also for all presets @@ -158,7 +158,7 @@ http://www.microsoft.com/en-us/download/details.aspx?id=30425 Here is how LO's enhanced custom shapes are exported: * Shape name is ooxml-* - they are imported from ooxml, export as is. * Blacklist - ODF presets that has OOXML equivalent. - We convert adjustment values case by case. Microsofot Office + We convert adjustment values case by case. Microsoft Office is rather strict about adjustment values, either none of them are provided so that default values are taken, or the exact set of handles have to be provided. In some cases we are converting diff --git a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleComponent.java b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleComponent.java index 18d2cf1c65fc..f9c0d8b6965a 100644 --- a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleComponent.java +++ b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleComponent.java @@ -477,7 +477,7 @@ public class _XAccessibleComponent extends MultiMethodTest { if (!result) { log.println( "potential race bounds " + bounds.Width + "x" + bounds.Height + " vs. size " + size.Width + "x" + size.Height); - // Possibily we hit a race condition and it re-sized (?) ... + // Possibly we hit a race condition and it re-sized (?) ... // One such race is described in // <https://bugs.documentfoundation.org/show_bug.cgi?id=64587> // "SvpSalInstance::CheckTimeout -> ScTable::SetRowHeightRange diff --git a/qadevOOo/tests/java/ifc/loader/_XImplementationLoader.java b/qadevOOo/tests/java/ifc/loader/_XImplementationLoader.java index fb835587f34b..1a8a05409d2e 100644 --- a/qadevOOo/tests/java/ifc/loader/_XImplementationLoader.java +++ b/qadevOOo/tests/java/ifc/loader/_XImplementationLoader.java @@ -152,7 +152,7 @@ public class _XImplementationLoader extends MultiMethodTest { if (factory == null) { log.println("activate() returns null - FAILED."); } else { - log.println("Activated impementation doesn't support "+ + log.println("Activated implementation doesn't support "+ "XServiceInfo - FAILED."); } ok = false ; diff --git a/sal/qa/osl/pipe/osl_Pipe.cxx b/sal/qa/osl/pipe/osl_Pipe.cxx index 9176118338ce..ece2a1320a3c 100644 --- a/sal/qa/osl/pipe/osl_Pipe.cxx +++ b/sal/qa/osl/pipe/osl_Pipe.cxx @@ -713,7 +713,7 @@ namespace osl_StreamPipe /** testing the methods: inline StreamPipe & SAL_CALL operator=(oslPipe Pipe); inline StreamPipe& SAL_CALL operator=(const Pipe& pipe); - mindy: not implementated in osl/pipe.hxx, so remove the cases + mindy: not implemented in osl/pipe.hxx, so remove the cases */ /** wait _nSec seconds. diff --git a/sc/qa/unit/subsequent_filters-test.cxx b/sc/qa/unit/subsequent_filters-test.cxx index bbbe00e84698..9a06279fdd2c 100644 --- a/sc/qa/unit/subsequent_filters-test.cxx +++ b/sc/qa/unit/subsequent_filters-test.cxx @@ -3819,7 +3819,7 @@ void ScFiltersTest::testTdf100709XLSX() void ScFiltersTest::testTdf97598XLSX() { ScDocShellRef xDocSh = loadDoc("tdf97598_scenarios.", FORMAT_XLSX); - CPPUNIT_ASSERT_MESSAGE("Failed to load tdf97598_secenarios.xlsx", xDocSh.is()); + CPPUNIT_ASSERT_MESSAGE("Failed to load tdf97598_scenarios.xlsx", xDocSh.is()); ScDocument& rDoc = xDocSh->GetDocument(); OUString aStr = rDoc.GetString(0, 0, 0); // A1 diff --git a/sc/source/core/data/postit.cxx b/sc/source/core/data/postit.cxx index 83c6111823fa..6461c76ef65b 100644 --- a/sc/source/core/data/postit.cxx +++ b/sc/source/core/data/postit.cxx @@ -649,7 +649,7 @@ void ScPostIt::CreateCaptionFromInitData( const ScAddress& rPos ) const to the clipboard/undo document, and when copying cells from the clipboard/undo document. The former should always be called first, so if called in an clipboard/undo document, the caption should have - been created already. Hovever, for clipboard in case the + been created already. However, for clipboard in case the originating document was destructed a new caption has to be created. */ OSL_ENSURE( !mrDoc.IsUndo() && (!mrDoc.IsClipboard() || !maNoteData.mpCaption), diff --git a/sc/source/filter/oox/worksheethelper.cxx b/sc/source/filter/oox/worksheethelper.cxx index c57947ff8f95..2fcc4d5913a3 100644 --- a/sc/source/filter/oox/worksheethelper.cxx +++ b/sc/source/filter/oox/worksheethelper.cxx @@ -401,7 +401,7 @@ WorksheetGlobals::WorksheetGlobals( const WorkbookHelper& rHelper, const ISegmen WorkbookHelper( rHelper ), maSheetCellRanges( "com.sun.star.sheet.SheetCellRanges" ), mrMaxApiPos( rHelper.getAddressConverter().getMaxApiAddress() ), - maUsedArea( SCCOL_MAX, SCROW_MAX, nSheet, -1, -1, nSheet ), // Set start address to largest possible value, and End Addreess to smallest + maUsedArea( SCCOL_MAX, SCROW_MAX, nSheet, -1, -1, nSheet ), // Set start address to largest possible value, and end address to smallest maSheetData( *this ), maCondFormats( *this ), maComments( *this ), diff --git a/sc/source/filter/starcalc/scflt.cxx b/sc/source/filter/starcalc/scflt.cxx index 4880cc1a305f..27c2a3483530 100644 --- a/sc/source/filter/starcalc/scflt.cxx +++ b/sc/source/filter/starcalc/scflt.cxx @@ -2353,7 +2353,7 @@ void Sc10Import::LoadObjects() lcl_ReadImageHeaer(rStream, ImageHeader); // Attention: here come the data (Bitmap oder Metafile) - // Typ = 1 Device-dependend Bitmap DIB + // Typ = 1 Device-dependent Bitmap DIB // Typ = 2 MetaFile rStream.SeekRel(ImageHeader.Size); diff --git a/sc/source/ui/docshell/docfunc.cxx b/sc/source/ui/docshell/docfunc.cxx index 31d6418bd98e..4677738448d7 100644 --- a/sc/source/ui/docshell/docfunc.cxx +++ b/sc/source/ui/docshell/docfunc.cxx @@ -4174,7 +4174,7 @@ bool ScDocFunc::EnterMatrix( const ScRange& rRange, const ScMarkData* pTabMark, new ScUndoEnterMatrix( &rDocShell, rRange, pUndoDoc, rString ) ); } - // Err522 painting of DDE-Formulas will be intercepted during intepreting + // Err522 painting of DDE-Formulas will be intercepted during interpreting rDocShell.PostPaint( nStartCol,nStartRow,nStartTab,nEndCol,nEndRow,nEndTab, PaintPartFlags::Grid ); aModificator.SetDocumentModified(); diff --git a/sfx2/source/doc/doc.src b/sfx2/source/doc/doc.src index cb065144cdf6..a2240643d024 100644 --- a/sfx2/source/doc/doc.src +++ b/sfx2/source/doc/doc.src @@ -355,7 +355,7 @@ String STR_QMSG_SEL_TEMPLATE_DELETE String STR_QMSG_ERROR_OPENING_FILE { - Text [ en-US ] = "An error occured during opening the file. This may be caused by incorrect file contents.\n"; + Text [ en-US ] = "An error occurred during opening the file. This may be caused by incorrect file contents.\n"; }; String STR_QMSG_ERROR_OPENING_FILE_DETAILS diff --git a/sw/inc/AnnotationWin.hxx b/sw/inc/AnnotationWin.hxx index 6186576813f2..69e817c60d34 100644 --- a/sw/inc/AnnotationWin.hxx +++ b/sw/inc/AnnotationWin.hxx @@ -53,7 +53,7 @@ class SwAnnotationWin : public sw::sidebarwindows::SwSidebarWin virtual sal_uInt32 MoveCaret() override; - /// Calculate parent postit id of currrent annotation window + /// Calculate parent postit id of current annotation window virtual sal_uInt32 CalcParent() override; void InitAnswer(OutlinerParaObject* pText); diff --git a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx index 3797d900e2d3..28edf90f1e8c 100644 --- a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx +++ b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx @@ -1376,7 +1376,7 @@ DECLARE_OOXMLIMPORT_TEST(testTdf96218, "tdf96218.docx") DECLARE_OOXMLIMPORT_TEST(testTdf101626, "tdf101626.docx") { - // Transform soft-hyphen to hard-hyphen as list bulletChar to avoid missing ymbols in export + // Transform soft-hyphen to hard-hyphen as list bulletChar to avoid missing symbols in export uno::Reference<beans::XPropertySet> xPropertySet(getStyles("NumberingStyles")->getByName("WWNum1"), uno::UNO_QUERY); uno::Reference<container::XIndexAccess> xLevels(xPropertySet->getPropertyValue("NumberingRules"), uno::UNO_QUERY); uno::Sequence<beans::PropertyValue> aProps; diff --git a/sw/source/core/draw/dcontact.cxx b/sw/source/core/draw/dcontact.cxx index 66abcfc49dac..6d2c08ba0b51 100644 --- a/sw/source/core/draw/dcontact.cxx +++ b/sw/source/core/draw/dcontact.cxx @@ -1586,7 +1586,7 @@ void SwDrawContact::SwClientNotify(const SwModify& rMod, const SfxHint& rHint) { if(*pCreatePortionHint->m_ppContact) return; - *pCreatePortionHint->m_ppContact = this; // This is kind of rediculous: the FrameFormat doesnt even hold a pointer to the contact itself, but here we are leaking it out randomly + *pCreatePortionHint->m_ppContact = this; // This is kind of ridiculous: the FrameFormat doesnt even hold a pointer to the contact itself, but here we are leaking it out randomly if(!GetAnchorFrame()) { // No direct positioning needed any more diff --git a/sw/source/core/inc/rowfrm.hxx b/sw/source/core/inc/rowfrm.hxx index 6bc9c22a13f0..1444630b0778 100644 --- a/sw/source/core/inc/rowfrm.hxx +++ b/sw/source/core/inc/rowfrm.hxx @@ -105,7 +105,7 @@ public: // A row may only be split if the minimum height of the row frame // fits into the vertical space left. - // The minimum height is found as maxinum of two values: minimal + // The minimum height is found as maximum of two values: minimal // contents of the row (e.g., height of first line of text, or an // object, or lower table cell), and the minimum height setting. // As the minimum height setting should not prevent the row to diff --git a/sw/source/core/layout/tabfrm.cxx b/sw/source/core/layout/tabfrm.cxx index 0a501a40ae08..0c572dd7ebd2 100644 --- a/sw/source/core/layout/tabfrm.cxx +++ b/sw/source/core/layout/tabfrm.cxx @@ -4001,7 +4001,7 @@ static SwTwips lcl_calcHeightOfRowBeforeThisFrame(const SwRowFrame& rRow) const SwTabFrame* pCurTab = pCurRow->FindTabFrame(); if (pCurTab->IsAnFollow(pTab)) { - // The found row frame belongs to a table frame that preceedes + // The found row frame belongs to a table frame that precedes // (above) this one in chain. So, include it in the sum nResult += aRectFnSet.GetHeight(pCurRow->Frame()); } diff --git a/sw/source/filter/html/htmlctxt.cxx b/sw/source/filter/html/htmlctxt.cxx index f86cafdc64df..f2de2fac4868 100644 --- a/sw/source/filter/html/htmlctxt.cxx +++ b/sw/source/filter/html/htmlctxt.cxx @@ -42,7 +42,7 @@ class HTMLAttrContext_SaveDoc { SwHTMLNumRuleInfo aNumRuleInfo; // Numbering for this environment SwPosition *pPos; // Jump back to here when leaving context - HTMLAttrTable *pAttrTab; // Valid attributes for the envionment, + HTMLAttrTable *pAttrTab; // Valid attributes for the environment, // if attributes shouldn't be preserved size_t nContextStMin; // Stack lower bound for the environment @@ -401,7 +401,7 @@ bool SwHTMLParser::DoPositioning( SfxItemSet &rItemSet, bool bRet = false; // A border is opened on the following conditions - // - the tag is absolute-positoned AND left/top are both known AND don't contain a % property + // - the tag is absolute-positioned AND left/top are both known AND don't contain a % property // OR // - the tag should be floating AND // - there's a given width diff --git a/unoxml/source/dom/characterdata.cxx b/unoxml/source/dom/characterdata.cxx index e5fa6c7db74b..35466db362f8 100644 --- a/unoxml/source/dom/characterdata.cxx +++ b/unoxml/source/dom/characterdata.cxx @@ -257,6 +257,6 @@ namespace DOM } -} // namspace DOM +} // namespace DOM /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/vbahelper/source/vbahelper/vbahelper.cxx b/vbahelper/source/vbahelper/vbahelper.cxx index e35416617028..aa201d9c6fdf 100644 --- a/vbahelper/source/vbahelper/vbahelper.cxx +++ b/vbahelper/source/vbahelper/vbahelper.cxx @@ -581,7 +581,7 @@ OUString VBAToRegexp(const OUString &rIn) sResult.append(*(++start)); start++; break; - // dump the ~ and escape the next characture + // dump the ~ and escape the next character case ']': sResult.append('\\'); sResult.append(*start++); diff --git a/writerperfect/source/calc/MSWorksCalcImportFilter.cxx b/writerperfect/source/calc/MSWorksCalcImportFilter.cxx index 6cb6fe88e06f..94a111ec7127 100644 --- a/writerperfect/source/calc/MSWorksCalcImportFilter.cxx +++ b/writerperfect/source/calc/MSWorksCalcImportFilter.cxx @@ -58,7 +58,7 @@ catch (...) return uno::Reference<sdbc::XResultSet>(); } -/** internal class used to create a structrured RVNGInputStream from a list of path and their short names +/** internal class used to create a structured RVNGInputStream from a list of path and their short names */ class FolderStream: public librevenge::RVNGInputStream { |