[Libreoffice-commits] core.git: dbaccess/source sd/source writerfilter/source
Andrea Gelmini (via logerrit)
logerrit at kemper.freedesktop.org
Tue Aug 27 21:34:20 UTC 2019
dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx | 4 ++--
sd/source/core/sdpage.cxx | 4 ++--
writerfilter/source/dmapper/DomainMapperTableManager.cxx | 2 +-
writerfilter/source/rtftok/rtfsprm.cxx | 2 +-
4 files changed, 6 insertions(+), 6 deletions(-)
New commits:
commit bde3c5329f953f2a89e76e5677e8484564f4408b
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Tue Aug 27 23:09:41 2019 +0200
Commit: Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Tue Aug 27 23:32:43 2019 +0200
Fix typos
Change-Id: If2fcd9aaf920f30b49a7bb828ba174939b13a3e7
Reviewed-on: https://gerrit.libreoffice.org/78091
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
Tested-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
index deaedd84fbc1..513687abfa98 100644
--- a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
+++ b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
@@ -2067,7 +2067,7 @@ static const long nVisibleRowMask[] =
sal_Int32 OSelectionBrowseBox::GetNoneVisibleRows() const
{
sal_Int32 nErg(0);
- // only the first 11 row are interesting
+ // only the first 11 rows are interesting
sal_Int32 const nSize = SAL_N_ELEMENTS(nVisibleRowMask);
for(sal_Int32 i=0;i<nSize;i++)
{
@@ -2079,7 +2079,7 @@ sal_Int32 OSelectionBrowseBox::GetNoneVisibleRows() const
void OSelectionBrowseBox::SetNoneVisbleRow(long nRows)
{
- // only the first 11 row are interesting
+ // only the first 11 rows are interesting
sal_Int32 const nSize = SAL_N_ELEMENTS(nVisibleRowMask);
for(sal_Int32 i=0;i< nSize;i++)
m_bVisibleRow[i] = !(nRows & nVisibleRowMask[i]);
diff --git a/sd/source/core/sdpage.cxx b/sd/source/core/sdpage.cxx
index a478c59ada7d..0ffc10889adc 100644
--- a/sd/source/core/sdpage.cxx
+++ b/sd/source/core/sdpage.cxx
@@ -917,7 +917,7 @@ void getPresObjProp( const SdPage& rPage, const char* sObjKind, const char* sPag
Reference<XNode> obj = objectChildren->item(j);
OUString nodename = obj->getNodeName();
- //check whether children is blank 'text-node' or 'object-prop' node
+ //check whether child is blank 'text-node' or 'object-prop' node
if(nodename == "object-prop")
{
Reference<XNamedNodeMap> ObjAttributes = obj->getAttributes();
@@ -1383,7 +1383,7 @@ static void CalcAutoLayoutRectangles( SdPage const & rPage,::tools::Rectangle* r
Reference<XNode> presobj = layoutChildren->item(j);
nodename=presobj->getNodeName();
- //check whether children is blank 'text-node' or 'presobj' node
+ //check whether child is blank 'text-node' or 'presobj' node
if(nodename == "presobj")
{
// TODO: rework sd to permit arbitrary number of presentation objects
diff --git a/writerfilter/source/dmapper/DomainMapperTableManager.cxx b/writerfilter/source/dmapper/DomainMapperTableManager.cxx
index 9b9f884e7b5a..13a14fb2c3d0 100644
--- a/writerfilter/source/dmapper/DomainMapperTableManager.cxx
+++ b/writerfilter/source/dmapper/DomainMapperTableManager.cxx
@@ -609,7 +609,7 @@ void DomainMapperTableManager::endOfRowAction()
//calculate number of used grids - it has to match the size of m_aTableGrid
size_t nGrids = std::accumulate(pCurrentSpans->begin(), pCurrentSpans->end(), sal::static_int_cast<size_t>(0));
- // sj: the grid is having no units... they is containing only relative values.
+ // sj: the grid is having no units... it is containing only relative values.
// a table with a grid of "1:2:1" looks identical as if the table is having
// a grid of "20:40:20" and it doesn't have to do something with the tableWidth
// -> so we have get the sum of each grid entry for the fullWidthRelative:
diff --git a/writerfilter/source/rtftok/rtfsprm.cxx b/writerfilter/source/rtftok/rtfsprm.cxx
index 7d2de7c0bb79..6ba986e6b987 100644
--- a/writerfilter/source/rtftok/rtfsprm.cxx
+++ b/writerfilter/source/rtftok/rtfsprm.cxx
@@ -202,7 +202,7 @@ static bool isSPRMDeduplicateBlacklist(Id nId)
}
}
-/// Should this SPRM be removed if all its children is removed?
+/// Should this SPRM be removed if all its children are removed?
static bool isSPRMChildrenExpected(Id nId)
{
switch (nId)
More information about the Libreoffice-commits
mailing list