From 3dfdd18707019c49723ad98e74f5202a3ae436f7 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Thu, 2 Jul 2015 18:24:20 +0200 Subject: Fix typos Change-Id: Iddcc22f62ea134ea797292daa02e47042d52d0d1 Reviewed-on: https://gerrit.libreoffice.org/16710 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt --- .../OfficeGroupInstanceSectionLayoutController.java | 2 +- reportdesign/inc/RptDef.hxx | 2 +- reportdesign/source/core/inc/Tools.hxx | 2 +- reportdesign/source/ui/inc/DateTime.hxx | 2 +- reportdesign/source/ui/inc/GroupsSorting.hxx | 2 +- reportdesign/source/ui/inc/dlgedclip.hxx | 2 +- sal/android/uthash.h | 2 +- sal/osl/w32/file_url.cxx | 2 +- sc/inc/externalrefmgr.hxx | 2 +- sc/qa/unit/ucalc_sharedformula.cxx | 4 ++-- sc/source/core/data/column2.cxx | 2 +- sc/source/core/data/drwlayer.cxx | 16 ++++++++-------- sc/source/core/data/table5.cxx | 2 +- sc/source/core/opencl/formulagroupcl.cxx | 2 +- sc/source/core/tool/chartlis.cxx | 2 +- sc/source/core/tool/interpr7.cxx | 2 +- sc/source/filter/excel/xiescher.cxx | 2 +- sc/source/filter/inc/stylesbuffer.hxx | 2 +- sc/source/filter/inc/xlchart.hxx | 2 +- sc/source/filter/inc/xlpivot.hxx | 2 +- sc/source/filter/oox/worksheethelper.cxx | 2 +- sc/source/ui/docshell/docsh.cxx | 2 +- sc/source/ui/drawfunc/fuconstr.cxx | 4 ++-- sc/source/ui/vba/excelvbahelper.cxx | 2 +- sc/source/ui/vba/vbaapplication.cxx | 2 +- sc/source/ui/vba/vbarange.cxx | 2 +- sc/source/ui/view/gridwin.cxx | 2 +- sc/source/ui/view/printfun.cxx | 4 ++-- sc/source/ui/view/viewdata.cxx | 2 +- scaddins/source/datefunc/datefunc.cxx | 2 +- sd/inc/sdmod.hxx | 2 +- sd/source/filter/ppt/pptin.cxx | 2 +- sd/source/ui/inc/framework/ResourceId.hxx | 2 +- sd/source/ui/remotecontrol/BufferedStreamSocket.cxx | 2 +- sd/source/ui/sidebar/MasterPageContainer.hxx | 2 +- sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx | 2 +- .../ui/slidesorter/inc/controller/SlsProperties.hxx | 2 +- .../slidesorter/inc/controller/SlsSelectionManager.hxx | 2 +- sd/source/ui/slidesorter/view/SlsLayouter.cxx | 2 +- sd/source/ui/unoidl/DrawController.cxx | 2 +- sd/source/ui/view/Outliner.cxx | 6 +++--- sd/source/ui/view/ViewShellManager.cxx | 2 +- sd/source/ui/view/viewshe2.cxx | 2 +- sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx | 2 +- sdext/source/presenter/PresenterSlideShowView.hxx | 2 +- 45 files changed, 57 insertions(+), 57 deletions(-) diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeGroupInstanceSectionLayoutController.java b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeGroupInstanceSectionLayoutController.java index b8fc77768da5..5cb3aa69fa60 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeGroupInstanceSectionLayoutController.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeGroupInstanceSectionLayoutController.java @@ -77,7 +77,7 @@ public class OfficeGroupInstanceSectionLayoutController extends SectionLayoutCon } // isDisplayable is private in version 0.9.1, so until the upgrade we keep this copy of the method - // todo: Delete it unce the sun-cvs contains version 0.9.2. + // todo: Delete it once the sun-cvs contains version 0.9.2. @Override protected LayoutController processChild(final SectionLayoutController derived, final Node node, diff --git a/reportdesign/inc/RptDef.hxx b/reportdesign/inc/RptDef.hxx index 900111105f8f..348a8cfb14ac 100644 --- a/reportdesign/inc/RptDef.hxx +++ b/reportdesign/inc/RptDef.hxx @@ -95,7 +95,7 @@ public: REPORTDESIGN_DLLPUBLIC sal_uInt16 getObjectType(const ::com::sun::star::uno::Reference< ::com::sun::star::report::XReportComponent>& _xComponent); typedef ::std::pair< OUString, ::boost::shared_ptr > TPropertyConverter; typedef std::map TPropertyNamePair; -/** returns the property name map for the givern property id +/** returns the property name map for the given property id @param _nObjectId the object id */ REPORTDESIGN_DLLPUBLIC const TPropertyNamePair& getPropertyNameMap(sal_uInt16 _nObjectId); diff --git a/reportdesign/source/core/inc/Tools.hxx b/reportdesign/source/core/inc/Tools.hxx index 39df3b2e4304..63b923340d30 100644 --- a/reportdesign/source/core/inc/Tools.hxx +++ b/reportdesign/source/core/inc/Tools.hxx @@ -52,7 +52,7 @@ namespace reportdesign /** uses the XChild interface to get the section from any child of it. * * \param _xReportComponent A report component which is a child of the section. - * \return The sectin where this report component resists in. + * \return The section where this report component resists in. */ ::com::sun::star::uno::Reference< ::com::sun::star::report::XSection> lcl_getSection(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface>& _xReportComponent); diff --git a/reportdesign/source/ui/inc/DateTime.hxx b/reportdesign/source/ui/inc/DateTime.hxx index 66639a9cafd8..56c2a1a22eb1 100644 --- a/reportdesign/source/ui/inc/DateTime.hxx +++ b/reportdesign/source/ui/inc/DateTime.hxx @@ -56,7 +56,7 @@ class ODateTimeDialog : public ModalDialog m_xHoldAlive; ::com::sun::star::lang::Locale m_nLocale; - /** returns the frmat string + /** returns the format string * * \param _nNumberFormatKey the number format key * \param _xFormats diff --git a/reportdesign/source/ui/inc/GroupsSorting.hxx b/reportdesign/source/ui/inc/GroupsSorting.hxx index e1a7fb377094..6f15fd376461 100644 --- a/reportdesign/source/ui/inc/GroupsSorting.hxx +++ b/reportdesign/source/ui/inc/GroupsSorting.hxx @@ -147,7 +147,7 @@ public: virtual ~OGroupsSortingDialog(); virtual void dispose() SAL_OVERRIDE; - /** sets the newe columns at the groups dialog. + /** sets the new columns at the groups dialog. @param _xColumns the new columns */ void setColumns(const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess >& _xColumns); diff --git a/reportdesign/source/ui/inc/dlgedclip.hxx b/reportdesign/source/ui/inc/dlgedclip.hxx index 5b376569c061..4356fcdcc1fd 100644 --- a/reportdesign/source/ui/inc/dlgedclip.hxx +++ b/reportdesign/source/ui/inc/dlgedclip.hxx @@ -29,7 +29,7 @@ namespace rptui // OReportExchange /** \class OReportExchange - * \brief defines a clipboard fromat for copying selection elements. + * \brief defines a clipboard format for copying selection elements. * \ingroup reportdesign_source_ui_report * * diff --git a/sal/android/uthash.h b/sal/android/uthash.h index fe9d13d79f9f..5884108b856e 100644 --- a/sal/android/uthash.h +++ b/sal/android/uthash.h @@ -76,7 +76,7 @@ typedef unsigned int uint32_t; #define HASH_INITIAL_NUM_BUCKETS_LOG2 5 /* lg2 of initial number of buckets */ #define HASH_BKT_CAPACITY_THRESH 10 /* expand when bucket count reaches */ -/* calculate the element whose hash handle address is hhe */ +/* calculate the element whose hash handle address is the */ #define ELMT_FROM_HH(tbl,hhp) ((void*)(((char*)(hhp)) - ((tbl)->hho))) #define HASH_FIND(hh,head,keyptr,keylen,out) \ diff --git a/sal/osl/w32/file_url.cxx b/sal/osl/w32/file_url.cxx index 3620e28cfd64..0aaa7ebb3025 100644 --- a/sal/osl/w32/file_url.cxx +++ b/sal/osl/w32/file_url.cxx @@ -736,7 +736,7 @@ oslFileError _osl_getSystemPathFromFileURL( rtl_uString *strURL, rtl_uString **p rtl_uString_newFromStr_WithLength( &strTempPath, reinterpret_cast(WSTR_SYSTEM_ROOT_PATH), SAL_N_ELEMENTS(WSTR_SYSTEM_ROOT_PATH) - 1 ); else { - /* do not separate the directory and file case, so the maximal path lengs without prefix is MAX_PATH-12 */ + /* do not separate the directory and file case, so the maximal path length without prefix is MAX_PATH-12 */ if ( nDecodedLen - nSkip <= MAX_PATH - 12 ) { rtl_uString_newFromStr_WithLength( &strTempPath, pDecodedURL + nSkip, nDecodedLen - nSkip ); diff --git a/sc/inc/externalrefmgr.hxx b/sc/inc/externalrefmgr.hxx index cd94c737b6ee..c99bacc77427 100644 --- a/sc/inc/externalrefmgr.hxx +++ b/sc/inc/externalrefmgr.hxx @@ -648,7 +648,7 @@ public: void resetSrcFileData(const OUString& rBaseFileUrl); /** - * Replace the original URL wirh the real URL that was generated from the relative URL. + * Replace the original URL with the real URL that was generated from the relative URL. */ void updateAbsAfterLoad(); diff --git a/sc/qa/unit/ucalc_sharedformula.cxx b/sc/qa/unit/ucalc_sharedformula.cxx index c0772f15f61e..898bcb5ae833 100644 --- a/sc/qa/unit/ucalc_sharedformula.cxx +++ b/sc/qa/unit/ucalc_sharedformula.cxx @@ -118,7 +118,7 @@ void Test::testSharedFormulas() m_pDoc->SetString(aPos, "=A20*2"); pFC = m_pDoc->GetFormulaCell(aPos); CPPUNIT_ASSERT_MESSAGE("This cell is expected to be a shared formula cell.", pFC && pFC->IsShared()); - // B13:B20 shuld be shared. + // B13:B20 should be shared. CPPUNIT_ASSERT_EQUAL(static_cast(12), pFC->GetSharedTopRow()); CPPUNIT_ASSERT_EQUAL(static_cast(8), pFC->GetSharedLength()); CPPUNIT_ASSERT_MESSAGE("The token is expected to be shared.", pFC->GetCode() == pFC->GetSharedCode()); @@ -220,7 +220,7 @@ void Test::testSharedFormulas() CPPUNIT_ASSERT_EQUAL(static_cast(9), pFC->GetSharedLength()); CPPUNIT_ASSERT_MESSAGE("The token is expected to be shared.", pFC->GetCode() == pFC->GetSharedCode()); - // Delete A4:B8. This should splite the grouping to B2:B3 and B9:B10. + // Delete A4:B8. This should split the grouping to B2:B3 and B9:B10. clearRange(m_pDoc, ScRange(0,3,0,1,7,0)); aPos.SetRow(1); pFC = m_pDoc->GetFormulaCell(aPos); diff --git a/sc/source/core/data/column2.cxx b/sc/source/core/data/column2.cxx index 566c13997e88..f995ada01a96 100644 --- a/sc/source/core/data/column2.cxx +++ b/sc/source/core/data/column2.cxx @@ -1588,7 +1588,7 @@ struct FormulaGroupDumper : std::unary_function