summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--i18npool/source/ordinalsuffix/ordinalsuffix.cxx2
-rw-r--r--sal/osl/w32/file_url.cxx4
-rw-r--r--sax/source/tools/fastserializer.cxx2
-rw-r--r--sc/qa/unit/tiledrendering/tiledrendering.cxx2
-rw-r--r--sc/source/filter/excel/xicontent.cxx2
-rw-r--r--sc/source/ui/unoobj/chart2uno.cxx2
-rw-r--r--sd/source/console/PresenterHelpView.cxx2
-rw-r--r--sfx2/source/sidebar/Sidebar.cxx4
-rw-r--r--sw/source/filter/xml/xmlexpit.cxx2
-rw-r--r--sw/source/filter/xml/xmlimpit.cxx2
-rw-r--r--sw/source/uibase/docvw/AnnotationWin.cxx2
-rw-r--r--sw/source/uibase/docvw/PostItMgr.cxx10
-rw-r--r--sw/source/writerfilter/rtftok/rtfdispatchvalue.cxx2
13 files changed, 19 insertions, 19 deletions
diff --git a/i18npool/source/ordinalsuffix/ordinalsuffix.cxx b/i18npool/source/ordinalsuffix/ordinalsuffix.cxx
index 68a8781a1f75..482f540a1435 100644
--- a/i18npool/source/ordinalsuffix/ordinalsuffix.cxx
+++ b/i18npool/source/ordinalsuffix/ordinalsuffix.cxx
@@ -114,7 +114,7 @@ uno::Sequence< OUString > SAL_CALL OrdinalSuffixService::getOrdinalSuffix( sal_I
if (!U_SUCCESS(nCode))
continue;
- // fdo#54486 lets make sure that the ordinal format and the non-ordinal
+ // fdo#54486 let's make sure that the ordinal format and the non-ordinal
// format match at the start, so that the expectation can be verified
// that there is some trailing "ordinal suffix" which can be extracted
bool bSimpleOrdinalSuffix = sValueWithOrdinal.startsWith(sValueWithNoOrdinal);
diff --git a/sal/osl/w32/file_url.cxx b/sal/osl/w32/file_url.cxx
index 8942c5ca6e5e..e074fbff54e6 100644
--- a/sal/osl/w32/file_url.cxx
+++ b/sal/osl/w32/file_url.cxx
@@ -750,7 +750,7 @@ oslFileError osl_getFileURLFromSystemPath( rtl_uString* strPath, rtl_uString** p
if ( dwPathType & PATHTYPE_IS_LONGPATH )
{
- /* the path has the longpath prefix, lets remove it */
+ /* the path has the longpath prefix, let's remove it */
switch ( dwPathType & PATHTYPE_MASK_TYPE )
{
case PATHTYPE_ABSOLUTE_UNC:
@@ -864,7 +864,7 @@ oslFileError SAL_CALL osl_searchFileURL(
} while ( dwResult && dwResult >= nBufferLength );
/* ... until an error occurs or buffer is large enough.
- dwResult == nBufferLength can not happen according to documentation but lets be robust ;-) */
+ dwResult == nBufferLength can not happen according to documentation but let's be robust ;-) */
if ( dwResult )
{
diff --git a/sax/source/tools/fastserializer.cxx b/sax/source/tools/fastserializer.cxx
index 55468f0c2869..deebb0c8a9df 100644
--- a/sax/source/tools/fastserializer.cxx
+++ b/sax/source/tools/fastserializer.cxx
@@ -114,7 +114,7 @@ namespace sax_fastparser {
XmlFilterBase::openFragmentStreamWithSerializer (oox/source/core/xmlfilterbase.cxx), and it
only passes false for bWriteHeader when the given rMediaType contains "vml" but not "+xml"
(see <https://git.libreoffice.org/core/+/6a11add2c4ea975356cfb7bab02301788c79c904%5E!/>
- "XLSX VML Export fixes", stating "Don't write xml headers for vml files"). But lets assume
+ "XLSX VML Export fixes", stating "Don't write xml headers for vml files"). But let's assume
that even such Vector Markup Language files are written as UTF-8.
*/
template<typename Int> static std::optional<std::pair<unsigned, Int>> invalidChar(
diff --git a/sc/qa/unit/tiledrendering/tiledrendering.cxx b/sc/qa/unit/tiledrendering/tiledrendering.cxx
index d342e5ccefcc..1c7e649d2e96 100644
--- a/sc/qa/unit/tiledrendering/tiledrendering.cxx
+++ b/sc/qa/unit/tiledrendering/tiledrendering.cxx
@@ -3790,7 +3790,7 @@ CPPUNIT_TEST_FIXTURE(ScTiledRenderingTest, testLongFirstColumnMouseClick)
// Set client rect to 2000 x 2000 pixels
pModelObj->setClientVisibleArea(tools::Rectangle(0, 0, 2000 / nPPTX, 2000 / nPPTY));
- // Lets make sure we are in view #2
+ // Let's make sure we are in view #2
SfxLokHelper::setView(nView2);
Scheduler::ProcessEventsToIdle();
diff --git a/sc/source/filter/excel/xicontent.cxx b/sc/source/filter/excel/xicontent.cxx
index a2862f7b6988..7cf5ee60085a 100644
--- a/sc/source/filter/excel/xicontent.cxx
+++ b/sc/source/filter/excel/xicontent.cxx
@@ -203,7 +203,7 @@ void lclInsertUrl( XclImpRoot& rRoot, const OUString& rUrl, SCCOL nScCol, SCROW
// Handle other cell types e.g. formulas ( and ? ) that have associated
// hyperlinks.
// Ideally all hyperlinks should be treated as below. For the moment,
- // given the current absence of ods support lets just handle what we
+ // given the current absence of ods support let's just handle what we
// previously didn't handle the new way.
// Unfortunately we won't be able to preserve such hyperlinks when
// saving to ods. Note: when we are able to save such hyperlinks to ods
diff --git a/sc/source/ui/unoobj/chart2uno.cxx b/sc/source/ui/unoobj/chart2uno.cxx
index 73e3e54d7be7..e4830dd78f86 100644
--- a/sc/source/ui/unoobj/chart2uno.cxx
+++ b/sc/source/ui/unoobj/chart2uno.cxx
@@ -344,7 +344,7 @@ Chart2PositionMap::Chart2PositionMap(SCCOL nAllColCount, SCROW nAllRowCount,
if (nHeaderColCount && !bFoundValuesInCol && bFoundAnythingInCol && nCol == nHeaderColCount)
{
// There is no values in row, but some data. And this column is next to header
- // So lets put it to header
+ // So let's put it to header
nHeaderColCount++;
}
}
diff --git a/sd/source/console/PresenterHelpView.cxx b/sd/source/console/PresenterHelpView.cxx
index d2bb2998dd94..5cebec372926 100644
--- a/sd/source/console/PresenterHelpView.cxx
+++ b/sd/source/console/PresenterHelpView.cxx
@@ -395,7 +395,7 @@ void PresenterHelpView::CheckFontSize()
}
// Use a simple linear transformation to calculate initial guess of
- // a size that lets all help text be shown inside the window.
+ // a size that lets all help text to be shown inside the window.
const double nScale (double(mnSeparatorY-gnVerticalBorder) / nY);
if (nScale > 1.0 && nScale < 1.05)
break;
diff --git a/sfx2/source/sidebar/Sidebar.cxx b/sfx2/source/sidebar/Sidebar.cxx
index 243d753d40c6..3ebd59b924ad 100644
--- a/sfx2/source/sidebar/Sidebar.cxx
+++ b/sfx2/source/sidebar/Sidebar.cxx
@@ -80,7 +80,7 @@ void Sidebar::ShowPanel (
// - Make the deck switching asynchronous
// - Make sure to use a context that really shows the panel
- // All that is not necessary for the current use cases so lets
+ // All that is not necessary for the current use cases so let's
// keep it simple for the time being.
pController->OpenThenSwitchToDeck(xPanelDescriptor->msDeckId);
@@ -105,7 +105,7 @@ void Sidebar::TogglePanel (
// - Make the deck switching asynchronous
// - Make sure to use a context that really shows the panel
- // All that is not necessary for the current use cases so lets
+ // All that is not necessary for the current use cases so let's
// keep it simple for the time being.
pController->OpenThenToggleDeck(xPanelDescriptor->msDeckId);
}
diff --git a/sw/source/filter/xml/xmlexpit.cxx b/sw/source/filter/xml/xmlexpit.cxx
index a39d12228c0a..e731281937df 100644
--- a/sw/source/filter/xml/xmlexpit.cxx
+++ b/sw/source/filter/xml/xmlexpit.cxx
@@ -74,7 +74,7 @@ void SvXMLExportItemMapper::exportXML( const SvXMLExport& rExport,
{
SvXMLItemMapEntry const & rEntry = mrMapEntries->getByIndex( nIndex );
- // we have a valid map entry here, so lets use it...
+ // we have a valid map entry here, so let's use it...
if( 0 == (rEntry.nMemberId & MID_SW_FLAG_NO_ITEM_EXPORT) )
{
const SfxPoolItem* pItem = GetItem( rSet, rEntry.nWhichId );
diff --git a/sw/source/filter/xml/xmlimpit.cxx b/sw/source/filter/xml/xmlimpit.cxx
index 141491db92de..b3d55ce37aa2 100644
--- a/sw/source/filter/xml/xmlimpit.cxx
+++ b/sw/source/filter/xml/xmlimpit.cxx
@@ -101,7 +101,7 @@ void SvXMLImportItemMapper::importXML( SfxItemSet& rSet,
if( pEntry )
{
- // we have a valid map entry here, so lets use it...
+ // we have a valid map entry here, so let's use it...
if( 0 == (pEntry->nMemberId & (MID_SW_FLAG_NO_ITEM_IMPORT|
MID_SW_FLAG_ELEMENT_ITEM_IMPORT)) )
{
diff --git a/sw/source/uibase/docvw/AnnotationWin.cxx b/sw/source/uibase/docvw/AnnotationWin.cxx
index d30a160f31f8..669db57b3bb8 100644
--- a/sw/source/uibase/docvw/AnnotationWin.cxx
+++ b/sw/source/uibase/docvw/AnnotationWin.cxx
@@ -435,7 +435,7 @@ void SwAnnotationWin::InitAnswer(OutlinerParaObject const & rText)
//remove all attributes and reset our standard ones
GetOutlinerView()->GetEditView().RemoveAttribsKeepLanguages(true);
- // lets insert an undo step so the initial text can be easily deleted
+ // let's insert an undo step so the initial text can be easily deleted
// but do not use UpdateData() directly, would set modified state again and reentrance into Mgr
mpOutliner->SetModifyHdl( Link<LinkParamNone*,void>() );
IDocumentUndoRedo & rUndoRedo(
diff --git a/sw/source/uibase/docvw/PostItMgr.cxx b/sw/source/uibase/docvw/PostItMgr.cxx
index 318fc9c5e197..2806ad9b272d 100644
--- a/sw/source/uibase/docvw/PostItMgr.cxx
+++ b/sw/source/uibase/docvw/PostItMgr.cxx
@@ -833,7 +833,7 @@ void SwPostItMgr::LayoutPostIts()
}
else if (sal_Int32 nScrollSize = GetScrollSize())
{
- //when we changed our zoom level, the offset value can be too big, so lets check for the largest possible zoom value
+ //when we changed our zoom level, the offset value can be too big, so let's check for the largest possible zoom value
tools::Long aAvailableHeight = mpEditWin->LogicToPixel(Size(0,pPage->mPageRect.Height())).Height() - 2 * GetSidebarScrollerHeight();
tools::Long lOffset = -1 * nScrollSize * (aVisiblePostItList.size() - aAvailableHeight / nScrollSize);
if (pPage->lOffset < lOffset)
@@ -845,7 +845,7 @@ void SwPostItMgr::LayoutPostIts()
TODO
- enlarge all notes till GetNextBorder(), as we resized to average value before
*/
- //lets hide the ones which overlap the page
+ //let's hide the ones which overlap the page
for (auto const& visiblePostIt : aVisiblePostItList)
{
if (pPage->lOffset != 0)
@@ -1107,7 +1107,7 @@ void SwPostItMgr::AutoScroll(const SwAnnotationWin* pPostIt,const tools::ULong a
void SwPostItMgr::MakeVisible(const SwAnnotationWin* pPostIt )
{
tools::Long aPage = -1;
- // we don't know the page yet, lets find it ourselves
+ // we don't know the page yet, let's find it ourselves
std::vector<SwPostItPageItem*>::size_type n=0;
for (auto const& page : mPages)
{
@@ -1881,7 +1881,7 @@ SwAnnotationWin* SwPostItMgr::GetNextPostIt( sal_uInt16 aDirection,
return nullptr;
}
}
- // lets quit, we are back at the beginning
+ // let's quit, we are back at the beginning
if ( (*iNextPostIt)->mpPostIt == aPostIt)
return nullptr;
return (*iNextPostIt)->mpPostIt;
@@ -2006,7 +2006,7 @@ bool SwPostItMgr::IsHit(const Point& aPointPixel)
return false;
// we hit the note's sidebar
- // lets now test for the arrow area
+ // let's now test for the arrow area
SwRect aPageFrame;
const tools::ULong nPageNum
= SwPostItHelper::getPageInfo(aPageFrame, mpWrtShell->GetLayout(), aPoint);
diff --git a/sw/source/writerfilter/rtftok/rtfdispatchvalue.cxx b/sw/source/writerfilter/rtftok/rtfdispatchvalue.cxx
index 8de5fc4fe750..d56b5bed5187 100644
--- a/sw/source/writerfilter/rtftok/rtfdispatchvalue.cxx
+++ b/sw/source/writerfilter/rtftok/rtfdispatchvalue.cxx
@@ -527,7 +527,7 @@ bool RTFDocumentImpl::dispatchTableValue(RTFKeyword nKeyword, int nParam)
else if (nParam < 750)
// Values in between 1 and 250 visually closer to 0% shading (white)
// But this will mean "no shading" while cell actually have some.
- // So lets use minimal available value.
+ // So let's use minimal available value.
nValue = NS_ooxml::LN_Value_ST_Shd_pct5;
else if (nParam < 1100)
nValue = NS_ooxml::LN_Value_ST_Shd_pct10;