diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2015-07-02 18:24:20 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <s.mehrbrodt@gmail.com> | 2015-07-04 10:22:11 +0000 |
commit | 3dfdd18707019c49723ad98e74f5202a3ae436f7 (patch) | |
tree | f43c956f39aae0173cbbc6a307ae63189012ca06 | |
parent | 0b7d51df3b4ce49f318dd9091df0bf7ba37cdd99 (diff) |
Fix typos
Change-Id: Iddcc22f62ea134ea797292daa02e47042d52d0d1
Reviewed-on: https://gerrit.libreoffice.org/16710
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
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<AnyConverter> > TPropertyConverter; typedef std::map<OUString, TPropertyConverter> 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<const sal_Unicode*>(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<SCROW>(12), pFC->GetSharedTopRow()); CPPUNIT_ASSERT_EQUAL(static_cast<SCROW>(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<SCROW>(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<sc::CellStoreType::value_type, v void ScColumn::DumpFormulaGroups() const { - cout << "-- formua groups" << endl; + cout << "-- formula groups" << endl; std::for_each(maCells.begin(), maCells.end(), FormulaGroupDumper()); cout << "--" << endl; } diff --git a/sc/source/core/data/drwlayer.cxx b/sc/source/core/data/drwlayer.cxx index 1a850c35c8cc..ce8ad8e7d0fa 100644 --- a/sc/source/core/data/drwlayer.cxx +++ b/sc/source/core/data/drwlayer.cxx @@ -875,15 +875,15 @@ void ScDrawLayer::RecalcPos( SdrObject* pObj, ScDrawObjData& rData, bool bNegati // get bounding rectangle of shape ( include any hidden row/columns ), <sigh> we need to do this // because if the shape is rotated the anchor from xml is in terms of the unrotated shape, if // the shape is hidden ( by the rows that contain the shape being hidden ) then our hack of - // trying to infer the 'real' e.g. rotated anchor from the SnapRect will fail ( because the LogicRect will - // not have the correct position or size ) The only way we can possible do this is to first get the + // trying to infer the 'real' e.g. rotated anchor from the SnapRect will fail (because the LogicRect will + // not have the correct position or size). The only way we can possible do this is to first get the // 'unrotated' shape dimensions from the persisted Anchor (from xml) and then 'create' an Anchor from the - // associated rotated shape ( note: we do this by actually setting the LogicRect for the shape temporarily to the - // *full* size then grabbing the SnapRect ( which gives the transformed rotated dimensions ), it would be - // wonderful if we could do this mathematically without having to temporarily tweak the object... othoh this way - // is guaranteed to get consistent results ) + // associated rotated shape (note: we do this by actually setting the LogicRect for the shape temporarily to the + // *full* size then grabbing the SnapRect (which gives the transformed rotated dimensions), it would be + // wonderful if we could do this mathematically without having to temporarily tweak the object... otoh this way + // is guaranteed to get consistent results) ResizeLastRectFromAnchor( pObj, rData, true, bNegativePage, bCanResize, false ); - // aFullRect contains the unrotated size and position of the shape ( regardless of any hidden row/columns ) + // aFullRect contains the unrotated size and position of the shape (regardless of any hidden row/columns) Rectangle aFullRect = rData.maLastRect; // get current size and position from the anchor for use later @@ -1894,7 +1894,7 @@ void ScDrawLayer::SetCellAnchoredFromPosition( SdrObject &rObj, const ScDocument ScDrawObjData aVisAnchor; GetCellAnchorFromPosition( rObj, aVisAnchor, rDoc, nTab ); SetVisualCellAnchored( rObj, aVisAnchor ); - // absolutely necessary to set flag that in order to preven ScDrawLayer::RecalcPos + // absolutely necessary to set flag that in order to prevent ScDrawLayer::RecalcPos // doing an initialisation hack if ( ScDrawObjData* pAnchor = GetObjData( &rObj ) ) { diff --git a/sc/source/core/data/table5.cxx b/sc/source/core/data/table5.cxx index 5924d3ec4305..e54eaa7f5f22 100644 --- a/sc/source/core/data/table5.cxx +++ b/sc/source/core/data/table5.cxx @@ -224,7 +224,7 @@ void ScTable::UpdatePageBreaks( const ScRange* pUserArea ) { bManualBreak = (nY == nNextManualBreak); if (nY >= nNextManualBreak) - // Query the next menual break position. + // Query the next manual break position. nNextManualBreak = GetNextManualBreak(nY+1); } diff --git a/sc/source/core/opencl/formulagroupcl.cxx b/sc/source/core/opencl/formulagroupcl.cxx index 3e33537d69ff..98c95e7cad99 100644 --- a/sc/source/core/opencl/formulagroupcl.cxx +++ b/sc/source/core/opencl/formulagroupcl.cxx @@ -3683,7 +3683,7 @@ public: /// Produce kernel hash std::string GetMD5(); - /// Create program, build, and create kerenl + /// Create program, build, and create kernel /// TODO cache results based on kernel body hash /// TODO: abstract OpenCL part out into OpenCL wrapper. void CreateKernel(); diff --git a/sc/source/core/tool/chartlis.cxx b/sc/source/core/tool/chartlis.cxx index df74b9c3dafe..dc03b248b508 100644 --- a/sc/source/core/tool/chartlis.cxx +++ b/sc/source/core/tool/chartlis.cxx @@ -74,7 +74,7 @@ void ScChartListener::ExternalRefListener::notify(sal_uInt16 nFileId, ScExternal { if (maFileIds.count(nFileId)) // We are listening to this external document. Send an update - // requst to the chart. + // request to the chart. mrParent.SetUpdateQueue(); } break; diff --git a/sc/source/core/tool/interpr7.cxx b/sc/source/core/tool/interpr7.cxx index ce69848d6f99..d96d2b133dd2 100644 --- a/sc/source/core/tool/interpr7.cxx +++ b/sc/source/core/tool/interpr7.cxx @@ -209,7 +209,7 @@ void ScInterpreter::ScWebservice() followed by hex digits. It is encoded the same way that the posted data from a WWW form is encoded, that is the same way as in application/x-www-form-urlencoded media type and - as pwer RFC 3986. + as per RFC 3986. @see fdo#76870 */ diff --git a/sc/source/filter/excel/xiescher.cxx b/sc/source/filter/excel/xiescher.cxx index ff10e8b8af45..78baf301fa2f 100644 --- a/sc/source/filter/excel/xiescher.cxx +++ b/sc/source/filter/excel/xiescher.cxx @@ -2960,7 +2960,7 @@ SdrObject* XclImpPictureObj::DoCreateSdrObj( XclImpDffConverter& rDffConv, const // graphic at a base level but unlikely, normally controls have a valid // preview in the IMGDATA record ( see below ) // It might be possible to push such an imported graphic up to this - // XclImpPictureObj instance but there are somany layers of indirection I + // XclImpPictureObj instance but there are so many layers of indirection I // don't see an easy way. This way at least ensures that we can // avoid a 'blank' shape that can result from a failed control import if ( !xSdrObj && IsOcxControl() && maGraphic.GetType() == GRAPHIC_NONE ) diff --git a/sc/source/filter/inc/stylesbuffer.hxx b/sc/source/filter/inc/stylesbuffer.hxx index 5701244767b9..ca99252471f0 100644 --- a/sc/source/filter/inc/stylesbuffer.hxx +++ b/sc/source/filter/inc/stylesbuffer.hxx @@ -125,7 +125,7 @@ public: /** Appends a new color from the passed RGBCOLOR record. */ void importPaletteColor( SequenceInputStream& rStrm ); - /** Rturns the RGB value of the color with the passed index. */ + /** Returns the RGB value of the color with the passed index. */ sal_Int32 getColor( sal_Int32 nPaletteIdx ) const; private: diff --git a/sc/source/filter/inc/xlchart.hxx b/sc/source/filter/inc/xlchart.hxx index f7ffec4d4049..9aebff7db4d0 100644 --- a/sc/source/filter/inc/xlchart.hxx +++ b/sc/source/filter/inc/xlchart.hxx @@ -695,7 +695,7 @@ const sal_uInt8 EXC_CH3DDATAFORMAT_CIRC = 1; /// Circular base. const sal_uInt8 EXC_CH3DDATAFORMAT_STRAIGHT = 0; /// Straight to top. const sal_uInt8 EXC_CH3DDATAFORMAT_SHARP = 1; /// Sharp top. -const sal_uInt8 EXC_CH3DDATAFORMAT_TRUNC = 2; /// Shart top, truncated. +const sal_uInt8 EXC_CH3DDATAFORMAT_TRUNC = 2; /// Sharp top, truncated. // (0x1061) CHPIEEXT ---------------------------------------------------------- diff --git a/sc/source/filter/inc/xlpivot.hxx b/sc/source/filter/inc/xlpivot.hxx index a064e57532c4..07f059a71aa8 100644 --- a/sc/source/filter/inc/xlpivot.hxx +++ b/sc/source/filter/inc/xlpivot.hxx @@ -392,7 +392,7 @@ public: /** Returns the text representation of the item. */ inline const OUString& ConvertToText() const { return maText; } - /** Returns true, if the passed iterm equals this item. */ + /** Returns true, if the passed term equals this item. */ bool IsEqual( const XclPCItem& rItem ) const; /** Returns true, if the item type is 'empty'. */ diff --git a/sc/source/filter/oox/worksheethelper.cxx b/sc/source/filter/oox/worksheethelper.cxx index d74f344b1f02..40a287444c91 100644 --- a/sc/source/filter/oox/worksheethelper.cxx +++ b/sc/source/filter/oox/worksheethelper.cxx @@ -1177,7 +1177,7 @@ sal_Int32 getColumnWidth(UnitConverter& rConverter, double nWidth) long nPixel = aDev->LogicToPixel(Point(nCoeff, 0), MapMode(MAP_100TH_MM)).getX(); - // the 1.047 has been experimentally chosen based on measurements witha screen ruler + // the 1.047 has been experimentally chosen based on measurements with a screen ruler // TODO: fix the display of cells so that it no longer requires this hack // algorithm from OOXML spec part1: 18.3.1.13 sal_Int32 nColWidthPixel= std::floor(((256*nWidth + std::floor(128.0/nPixel))/256.0)*nPixel) * 1.047; diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx index 96838a0bcdd7..93a1bd240409 100644 --- a/sc/source/ui/docshell/docsh.cxx +++ b/sc/source/ui/docshell/docsh.cxx @@ -2550,7 +2550,7 @@ void ScDocShell::PrepareReload() // The Disconnect of DDE Links can trigger a Reschedule. // If the DDE Links are not deleted before the Document dtor, - // the DDE Link Update for this Document can be triggered ofrom this Reschedule on Reload. + // the DDE Link Update for this Document can be triggered from this Reschedule on Reload. // This causes a hang. // // Thus: Disconnect the DDE Links of the old Document before Reload diff --git a/sc/source/ui/drawfunc/fuconstr.cxx b/sc/source/ui/drawfunc/fuconstr.cxx index 80f9d963447d..60447d90decd 100644 --- a/sc/source/ui/drawfunc/fuconstr.cxx +++ b/sc/source/ui/drawfunc/fuconstr.cxx @@ -74,9 +74,9 @@ Point FuConstruct::CurrentGridSyncOffsetAndPos( Point& rInOutPos ) ScDocument* pDoc = rViewData.GetDocument(); if ( pDoc ) { - // rInOutPos mightn't be where you think it is if there is zoom + // rInOutPos might not be where you think it is if there is zoom // involved. Lets calculate where aPos would be at 100% zoom - // that's the actual correct position for the object ( when you + // that's the actual correct position for the object (when you // restore the zoom. bool bNegative = pDoc->IsNegativePage(pView->GetTab()); Rectangle aObjRect( rInOutPos, rInOutPos ); diff --git a/sc/source/ui/vba/excelvbahelper.cxx b/sc/source/ui/vba/excelvbahelper.cxx index 1e2e1dc2d94e..70370dfced08 100644 --- a/sc/source/ui/vba/excelvbahelper.cxx +++ b/sc/source/ui/vba/excelvbahelper.cxx @@ -316,7 +316,7 @@ void setUpDocumentModules( const uno::Reference< sheet::XSpreadsheetDocument >& uno::Reference< script::vba::XVBAModuleInfo > xVBAModuleInfo( xLib, uno::UNO_QUERY_THROW ); uno::Reference< lang::XMultiServiceFactory> xSF( pShell->GetModel(), uno::UNO_QUERY_THROW); uno::Reference< container::XNameAccess > xVBACodeNamedObjectAccess( xSF->createInstance("ooo.vba.VBAObjectModuleObjectProvider"), uno::UNO_QUERY_THROW ); - // set up the module info for the workbook and sheets in the nealy created + // set up the module info for the workbook and sheets in the newly created // spreadsheet ScDocument& rDoc = pShell->GetDocument(); OUString sCodeName = rDoc.GetCodeName(); diff --git a/sc/source/ui/vba/vbaapplication.cxx b/sc/source/ui/vba/vbaapplication.cxx index 20b9daf19055..f1cf9fc3d3a0 100644 --- a/sc/source/ui/vba/vbaapplication.cxx +++ b/sc/source/ui/vba/vbaapplication.cxx @@ -524,7 +524,7 @@ ScVbaApplication::getActiveSheet() throw (uno::RuntimeException, std::exception) * Reference Optional Variant. The destination. Can be a Range * object, a string that contains a cell reference in R1C1-style notation, * or a string that contains a Visual Basic procedure name. - * Scroll Optional Variant. True to scrol, False to not scroll through + * Scroll Optional Variant. True to scroll, False to not scroll through * the window. The default is False. * Parser is split to three parts, Range, R1C1 string and procedure name. * by test excel, it seems Scroll no effect. ??? diff --git a/sc/source/ui/vba/vbarange.cxx b/sc/source/ui/vba/vbarange.cxx index 92a1ea9ebf58..bba58b5367cd 100644 --- a/sc/source/ui/vba/vbarange.cxx +++ b/sc/source/ui/vba/vbarange.cxx @@ -3341,7 +3341,7 @@ void updateTableSortField( const uno::Reference< table::XCellRange >& xParentRan table::CellRangeAddress colRowKeyAddress = colRowRange.getCellRangeAddressable()->getRangeAddress(); - // make sure that upper left poing of key range is within the + // make sure that upper left point of key range is within the // parent range if ( ( !bIsSortColumn && colRowKeyAddress.StartColumn >= parentRangeAddress.StartColumn && colRowKeyAddress.StartColumn <= parentRangeAddress.EndColumn ) || ( bIsSortColumn && diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx index c89e3f541e8b..38dc2951b059 100644 --- a/sc/source/ui/view/gridwin.cxx +++ b/sc/source/ui/view/gridwin.cxx @@ -1702,7 +1702,7 @@ bool ScGridWindow::IsCellCoveredByText(SCsCOL nPosX, SCsROW nPosY, SCTAB nTab, S break; } - // the inital cell already contains text + // the initial cell already contains text if (nNonEmptyX == nPosX) { rTextStartPosX = nNonEmptyX; diff --git a/sc/source/ui/view/printfun.cxx b/sc/source/ui/view/printfun.cxx index 2b4bb74e5ff4..8849b5e82f5e 100644 --- a/sc/source/ui/view/printfun.cxx +++ b/sc/source/ui/view/printfun.cxx @@ -1234,7 +1234,7 @@ void ScPrintFunc::DrawBorder( long nScrX, long nScrY, long nScrW, long nScrH, long nTop = 0; long nBottom = 0; - // aFrameRect - ouside around frame, without shadow + // aFrameRect - outside around frame, without shadow if ( pShadow && pShadow->GetLocation() != SVX_SHADOW_NONE ) { nLeft += (long) ( pShadow->CalcShadowSpace(SvxShadowItemSide::LEFT) * nScaleX ); @@ -1852,7 +1852,7 @@ long ScPrintFunc::DoNotes( long nNoteStart, bool bDoPrint, ScPreviewLocationData static_cast<const ScPatternAttr&>(pDoc->GetPool()->GetDefaultItem(ATTR_PATTERN)).GetFont( aMarkFont, eColorMode ); pDev->SetFont( aMarkFont ); long nMarkLen = pDev->GetTextWidth(OUString("GW99999:")); - // without Space-Char, because it rarle arrives there + // without Space-Char, because it rarely arrives there Size aDataSize = aPageRect.GetSize(); if ( nMarkLen > aDataSize.Width() / 2 ) // everything much too small? diff --git a/sc/source/ui/view/viewdata.cxx b/sc/source/ui/view/viewdata.cxx index 65e9fd10dcbb..b294c743374a 100644 --- a/sc/source/ui/view/viewdata.cxx +++ b/sc/source/ui/view/viewdata.cxx @@ -913,7 +913,7 @@ void ScViewData::SetEditEngine( ScSplitPos eWhich, bool bWasThere = false; if (pEditView[eWhich]) { - // if the view is already therem don't call anything that changes the cursor position + // if the view is already there don't call anything that changes the cursor position if (bEditActive[eWhich]) bWasThere = true; else diff --git a/scaddins/source/datefunc/datefunc.cxx b/scaddins/source/datefunc/datefunc.cxx index 2ae37956100b..64679fffc2fb 100644 --- a/scaddins/source/datefunc/datefunc.cxx +++ b/scaddins/source/datefunc/datefunc.cxx @@ -797,7 +797,7 @@ sal_Int32 SAL_CALL ScaDateAddIn::getDaysInYear( * Get number of weeks in the year for a date * * Most years have 52 weeks, but years that start on a Thursday - * and leep years that start on a Wednesday have 53 weeks + * and leapyears that start on a Wednesday have 53 weeks * * The International Standard IS-8601 has decreed that Monday * shall be the first day of the week. diff --git a/sd/inc/sdmod.hxx b/sd/inc/sdmod.hxx index cfad16996773..dfb9c6a62c76 100644 --- a/sd/inc/sdmod.hxx +++ b/sd/inc/sdmod.hxx @@ -187,7 +187,7 @@ private: @EventListenerHdl The event listener handler @VclSimpleEvent * - a poiter to a VCLSimpleEvent (see vcl/vclevent.hxx ) + a pointer to a VCLSimpleEvent (see vcl/vclevent.hxx ) */ DECL_STATIC_LINK( SdModule, EventListenerHdl, VclSimpleEvent* ); diff --git a/sd/source/filter/ppt/pptin.cxx b/sd/source/filter/ppt/pptin.cxx index f38243e6b5fd..ca300f156b95 100644 --- a/sd/source/filter/ppt/pptin.cxx +++ b/sd/source/filter/ppt/pptin.cxx @@ -2577,7 +2577,7 @@ SdrObject* ImplSdPPTImport::ProcessObj( SvStream& rSt, DffObjData& rObjData, voi pAnimation->SetAnimateAssociatedShape(false); //maybe some actions necessary to ensure that animations on master pages are played before animations on normal pages - ///mabe todo in future: bool bIsEffectOnMasterPage = !bInhabitanceChecked;? + //maybe todo in future: bool bIsEffectOnMasterPage = !bInhabitanceChecked;? maAnimations[pObj] = pAnimation; diff --git a/sd/source/ui/inc/framework/ResourceId.hxx b/sd/source/ui/inc/framework/ResourceId.hxx index d048f517a527..d9694bb5bd35 100644 --- a/sd/source/ui/inc/framework/ResourceId.hxx +++ b/sd/source/ui/inc/framework/ResourceId.hxx @@ -190,7 +190,7 @@ private: /** Compare the called ResourceId object to the given XResourceId object reference. The comparison is done via the UNO interface. Namely, it uses the getResourceURL() and the getAnchorURLs() methods to get - access to the URLs of the given objec. + access to the URLs of the given object. */ sal_Int16 CompareToExternalImplementation (const css::uno::Reference< css::drawing::framework::XResourceId>& rxId) const; diff --git a/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx b/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx index f035b1ef6dd0..3346c856f095 100644 --- a/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx +++ b/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx @@ -85,7 +85,7 @@ sal_Int32 BufferedStreamSocket::readLine( OString& aLine ) { while ( true ) { - // Process buffer first incase data already present. + // Process buffer first in case data already present. vector<char>::iterator aIt; if ( (aIt = find( aBuffer.begin(), aBuffer.end(), '\n' )) != aBuffer.end() ) diff --git a/sd/source/ui/sidebar/MasterPageContainer.hxx b/sd/source/ui/sidebar/MasterPageContainer.hxx index daf3ba8bc8b0..b1db0558dc41 100644 --- a/sd/source/ui/sidebar/MasterPageContainer.hxx +++ b/sd/source/ui/sidebar/MasterPageContainer.hxx @@ -147,7 +147,7 @@ public: (asynchronously) for expensive PreviewProviders. Call GetPreviewState() to find out if that is necessary. @param aToken - This token specifies for which master page to return the prview. + This token specifies for which master page to return the preview. Tokens are returned for example by the GetTokenFor...() methods. @return The returned image is the requested preview or a substitution. diff --git a/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx b/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx index 2805d874be8a..235d125e8540 100644 --- a/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx +++ b/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx @@ -198,7 +198,7 @@ private: @param pDropEvent Event though the AcceptDropEvent and ExecuteDropEvent are very similar they do not have a common base class. Because of that - we have to use a void* to pase these structs. + we have to use a void* to pass these structs. @param nPage When the page number is given as 0xffff then it is replaced by the number of the page at the mouse position. If the mouse is diff --git a/sd/source/ui/slidesorter/inc/controller/SlsProperties.hxx b/sd/source/ui/slidesorter/inc/controller/SlsProperties.hxx index 18aad707f6c6..bda279596a98 100644 --- a/sd/source/ui/slidesorter/inc/controller/SlsProperties.hxx +++ b/sd/source/ui/slidesorter/inc/controller/SlsProperties.hxx @@ -65,7 +65,7 @@ public: bool IsCenterSelection() const { return mbIsCenterSelection;} void SetCenterSelection (const bool bIsCenterSelection); - /** When this mehod returns <TRUE/> then the view may try to change the + /** When this method returns <TRUE/> then the view may try to change the visible area by scrolling it smoothly on the screen. Experimental. Default value is <FALSE/>. */ diff --git a/sd/source/ui/slidesorter/inc/controller/SlsSelectionManager.hxx b/sd/source/ui/slidesorter/inc/controller/SlsSelectionManager.hxx index 84a95942c0f0..eddbf63c0e00 100644 --- a/sd/source/ui/slidesorter/inc/controller/SlsSelectionManager.hxx +++ b/sd/source/ui/slidesorter/inc/controller/SlsSelectionManager.hxx @@ -43,7 +43,7 @@ class SelectionObserver; slides. <p>It has methods to modify the selected slides (delete them or move them to other places in the document), change the visible area so - to make the selected slides visble, tell listeners when the selection + to make the selected slides visible, tell listeners when the selection changes.</p> */ class SelectionManager diff --git a/sd/source/ui/slidesorter/view/SlsLayouter.cxx b/sd/source/ui/slidesorter/view/SlsLayouter.cxx index cb571c41dfcf..31867339f804 100644 --- a/sd/source/ui/slidesorter/view/SlsLayouter.cxx +++ b/sd/source/ui/slidesorter/view/SlsLayouter.cxx @@ -148,7 +148,7 @@ public: sal_Int32 nGap); /** Calculate the logical part of the insert position, i.e. the page - after whicht to insert. + after which to insert. */ virtual void CalculateLogicalInsertPosition ( const Point& rModelPosition, diff --git a/sd/source/ui/unoidl/DrawController.cxx b/sd/source/ui/unoidl/DrawController.cxx index 015da1726b02..ffa8dff0e153 100644 --- a/sd/source/ui/unoidl/DrawController.cxx +++ b/sd/source/ui/unoidl/DrawController.cxx @@ -206,7 +206,7 @@ sal_Bool SAL_CALL DrawController::suspend( sal_Bool Suspend ) throw (::com::sun: OUString SAL_CALL DrawController::getImplementationName( ) throw(RuntimeException, std::exception) { // Do not throw an excepetion at the moment. This leads to a crash - // under Solaris on relead. See issue i70929 for details. + // under Solaris on reload. See issue i70929 for details. // ThrowIfDisposed(); return OUString("DrawController") ; } diff --git a/sd/source/ui/view/Outliner.cxx b/sd/source/ui/view/Outliner.cxx index e073118c4a8f..dc208c918f44 100644 --- a/sd/source/ui/view/Outliner.cxx +++ b/sd/source/ui/view/Outliner.cxx @@ -1563,10 +1563,10 @@ bool Outliner::ConvertNextDocument() sal_uInt16 Outliner::ShowModalMessageBox (Dialog& rMessageBox) { - // We assume that the parent of the given messge box is NULL, i.e. it is + // We assume that the parent of the given message box is NULL, i.e. it is // modal with respect to the top application window. However, this - // does not affect the search dialog. Therefore we have to lock it here - // while the message box is being shown. We also have to take into + // does not affect the search dialog. Therefore we have to lock it here + // while the message box is being shown. We also have to take into // account that we are called during a spell check and the search dialog // is not available. vcl::Window* pSearchDialog = NULL; diff --git a/sd/source/ui/view/ViewShellManager.cxx b/sd/source/ui/view/ViewShellManager.cxx index ff3596f87c6a..72b10b33979a 100644 --- a/sd/source/ui/view/ViewShellManager.cxx +++ b/sd/source/ui/view/ViewShellManager.cxx @@ -946,7 +946,7 @@ void ViewShellManager::Implementation::CreateShells() void ViewShellManager::Implementation::CreateTargetStack (ShellStack& rStack) const { // Create a local stack of the shells that are to push on the shell - // stack. We can thus safly create the required shells wile still + // stack. We can thus safely create the required shells wile still // having a valid shell stack. for (ActiveShellList::const_reverse_iterator iViewShell (maActiveViewShells.rbegin()); iViewShell != maActiveViewShells.rend(); diff --git a/sd/source/ui/view/viewshe2.cxx b/sd/source/ui/view/viewshe2.cxx index 929a9f88d1e5..fe3ccb9ddae1 100644 --- a/sd/source/ui/view/viewshe2.cxx +++ b/sd/source/ui/view/viewshe2.cxx @@ -346,7 +346,7 @@ void ViewShell::SetZoom(long nZoom) // #i74769# Here is a 2nd way (besides Window::Scroll) to set the visible prt // of the window. It needs - like Scroll(ScrollFlags::Children) does - also to move // the child windows. I am trying InvalidateFlags::Children here which makes things better, - // but does not solve the problem completely. Neet to ask PL. + // but does not solve the problem completely. Need to ask PL. mpContentWindow->Invalidate(InvalidateFlags::Children); } diff --git a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx index b5dd4e4328b0..4336f8aaae6a 100644 --- a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx +++ b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx @@ -286,7 +286,7 @@ namespace pdfi extern FILE* g_binary_out; -// note: if you ever hcange Output_t, please keep in mind that the current code +// note: if you ever change Output_t, please keep in mind that the current code // relies on it being of 8 bit size typedef Guchar Output_t; typedef std::vector< Output_t > OutputBuffer; diff --git a/sdext/source/presenter/PresenterSlideShowView.hxx b/sdext/source/presenter/PresenterSlideShowView.hxx index 36b527f97e16..bce135ef4ac5 100644 --- a/sdext/source/presenter/PresenterSlideShowView.hxx +++ b/sdext/source/presenter/PresenterSlideShowView.hxx @@ -55,7 +55,7 @@ namespace { > PresenterSlideShowViewInterfaceBase; } -/** Life view in a secondary windo of a full screen slide show. +/** Life view in a secondary window of a full screen slide show. */ class PresenterSlideShowView : private ::boost::noncopyable, |