summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-09-05 18:47:55 +0200
committerJulien Nabet <serval2412@yahoo.fr>2019-09-06 09:05:50 +0200
commit73e3604fc16695758b9a7f55051d2f786f74be2d (patch)
tree357784a45ad575a8de6d6d9450fb18190091c873 /sw
parent396473a3d6ddd1f1ee2d4e0fd3bae5c41d2cc3fd (diff)
Fixing '....' and '..'
Change-Id: I926069d6c1f2712e5020d930f7ff6c62fd00e912 Reviewed-on: https://gerrit.libreoffice.org/78667 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sw')
-rw-r--r--sw/qa/extras/ooxmlexport/ooxmlexport2.cxx2
-rw-r--r--sw/source/core/edit/autofmt.cxx6
-rw-r--r--sw/source/core/unocore/unoportenum.cxx2
-rw-r--r--sw/source/filter/ww8/wrtww8.cxx2
-rw-r--r--sw/source/filter/ww8/ww8par2.cxx2
-rw-r--r--sw/source/filter/ww8/ww8par5.cxx2
-rw-r--r--sw/source/uibase/app/docshini.cxx4
-rw-r--r--sw/source/uibase/fldui/fldmgr.cxx4
-rw-r--r--sw/source/uibase/uno/unodispatch.cxx2
9 files changed, 13 insertions, 13 deletions
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport2.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport2.cxx
index 07c59f3a0fb1..c3f700aa3a92 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport2.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport2.cxx
@@ -867,7 +867,7 @@ DECLARE_OOXMLEXPORT_TEST(testPageBorderSpacingExportCase2, "page-borders-export-
{
// The problem was that the exporter didn't mirror the workaround of the
// importer, regarding the page border's spacing : the <w:pgBorders w:offsetFrom="page">
- // and the inner nodes like <w:top w:space="24" .... />
+ // and the inner nodes like <w:top w:space="24" ... />
//
// The exporter ALWAYS exported 'w:offsetFrom="text"' even when the spacing values where too large
// for Word to handle (larger than 31 points)
diff --git a/sw/source/core/edit/autofmt.cxx b/sw/source/core/edit/autofmt.cxx
index 40c4eec825aa..6b6a3b9ff9fb 100644
--- a/sw/source/core/edit/autofmt.cxx
+++ b/sw/source/core/edit/autofmt.cxx
@@ -410,7 +410,7 @@ bool SwAutoFormat::IsEnumericChar(const SwTextFrame& rFrame) const
return true;
}
- // 1.) / 1. / 1.1.1 / (1). / (1) / ....
+ // 1.) / 1. / 1.1.1 / (1). / (1) / ...
return USHRT_MAX != GetDigitLevel(rFrame, nBlanks);
}
@@ -479,7 +479,7 @@ sal_uInt16 SwAutoFormat::CalcLevel(const SwTextFrame & rFrame,
break;
default:
if( pDigitLvl )
- // test 1.) / 1. / 1.1.1 / (1). / (1) / ....
+ // test 1.) / 1. / 1.1.1 / (1). / (1) / ...
*pDigitLvl = GetDigitLevel(rFrame, n);
return nLvl;
}
@@ -759,7 +759,7 @@ SwAutoFormat::GetDigitLevel(const SwTextFrame& rFrame, TextFrameIndex& rPos,
OUString* pPrefix, OUString* pPostfix, OUString* pNumTypes ) const
{
- // check for 1.) / 1. / 1.1.1 / (1). / (1) / ....
+ // check for 1.) / 1. / 1.1.1 / (1). / (1) / ...
const OUString& rText = rFrame.GetText();
sal_Int32 nPos(rPos);
int eScan = NONE;
diff --git a/sw/source/core/unocore/unoportenum.cxx b/sw/source/core/unocore/unoportenum.cxx
index bf7fca58e5fc..137bf4880c83 100644
--- a/sw/source/core/unocore/unoportenum.cxx
+++ b/sw/source/core/unocore/unoportenum.cxx
@@ -413,7 +413,7 @@ lcl_ExportFieldMark(
{
uno::Reference<text::XTextRange> xRef;
SwDoc* pDoc = pUnoCursor->GetDoc();
- // maybe it's a good idea to add a special hint to the hints array and rely on the hint segmentation....
+ // maybe it's a good idea to add a special hint to the hints array and rely on the hint segmentation...
const sal_Int32 start = pUnoCursor->Start()->nContent.GetIndex();
OSL_ENSURE(pUnoCursor->End()->nContent.GetIndex() == start,
"hmm --- why is this different");
diff --git a/sw/source/filter/ww8/wrtww8.cxx b/sw/source/filter/ww8/wrtww8.cxx
index 347cfe10facb..86af33b312fb 100644
--- a/sw/source/filter/ww8/wrtww8.cxx
+++ b/sw/source/filter/ww8/wrtww8.cxx
@@ -3046,7 +3046,7 @@ void WW8Export::StoreDoc1()
pFib->m_fcMac = Strm().Tell(); // End of all texts
- WriteFkpPlcUsw(); // FKP, PLC, .....
+ WriteFkpPlcUsw(); // FKP, PLC, ...
}
void MSWordExportBase::AddLinkTarget(const OUString& rURL)
diff --git a/sw/source/filter/ww8/ww8par2.cxx b/sw/source/filter/ww8/ww8par2.cxx
index 647f1ea7ca39..c52cf0040023 100644
--- a/sw/source/filter/ww8/ww8par2.cxx
+++ b/sw/source/filter/ww8/ww8par2.cxx
@@ -1186,7 +1186,7 @@ void WW8TabBandDesc::ReadDef(bool bVer67, const sal_uInt8* pS, short nLen)
= WW8_BRCVer9(WW8_BRC( pTc->rgbrcVer6[ WW8_RIGHT ] ));
// apply right border to previous cell
// bExist must not be set to false, because WW
- // does not count this cells in text boxes....
+ // does not count this cells in text boxes...
}
}
}
diff --git a/sw/source/filter/ww8/ww8par5.cxx b/sw/source/filter/ww8/ww8par5.cxx
index 0c7888717662..b44ad01485bc 100644
--- a/sw/source/filter/ww8/ww8par5.cxx
+++ b/sw/source/filter/ww8/ww8par5.cxx
@@ -1452,7 +1452,7 @@ eF_ResT SwWW8ImplReader::Read_F_Seq( WW8FieldDesc*, OUString& rStr )
break;
case 's': // Outline Level
- //#i19682, what am I to do with this value
+ //#i19682, what I have to do with this value?
break;
}
}
diff --git a/sw/source/uibase/app/docshini.cxx b/sw/source/uibase/app/docshini.cxx
index 3419b307d3fe..9018deba6bdd 100644
--- a/sw/source/uibase/app/docshini.cxx
+++ b/sw/source/uibase/app/docshini.cxx
@@ -386,7 +386,7 @@ SwDocShell::~SwDocShell()
m_pFontList.reset();
// we, as BroadCaster also become our own Listener
- // (for DocInfo/FileNames/....)
+ // (for DocInfo/FileNames/...)
EndListening( *this );
m_pOLEChildList.reset();
@@ -397,7 +397,7 @@ void SwDocShell::Init_Impl()
SetPool(&SW_MOD()->GetPool());
SetBaseModel(new SwXTextDocument(this));
// we, as BroadCaster also become our own Listener
- // (for DocInfo/FileNames/....)
+ // (for DocInfo/FileNames/...)
StartListening( *this );
//position of the "Automatic" style filter for the stylist (app.src)
SetAutoStyleFilterIndex(3);
diff --git a/sw/source/uibase/fldui/fldmgr.cxx b/sw/source/uibase/fldui/fldmgr.cxx
index c365d661a684..65acd7366a06 100644
--- a/sw/source/uibase/fldui/fldmgr.cxx
+++ b/sw/source/uibase/fldui/fldmgr.cxx
@@ -524,7 +524,7 @@ sal_uInt16 SwFieldMgr::GetGroup(sal_uInt16 nTypeId, sal_uInt16 nSubType)
}
// determine names to TypeId
-// ACCESS over TYP_....
+// ACCESS over TYP_...
sal_uInt16 SwFieldMgr::GetTypeId(sal_uInt16 nPos)
{
OSL_ENSURE(nPos < ::GetPackCount(), "forbidden Pos");
@@ -673,7 +673,7 @@ void SwFieldMgr::GetSubTypes(sal_uInt16 nTypeId, std::vector<OUString>& rToFill)
}
// determine format
-// ACCESS over TYP_....
+// ACCESS over TYP_...
sal_uInt16 SwFieldMgr::GetFormatCount(sal_uInt16 nTypeId, bool bHtmlMode) const
{
OSL_ENSURE(nTypeId < TYP_END, "forbidden TypeId");
diff --git a/sw/source/uibase/uno/unodispatch.cxx b/sw/source/uibase/uno/unodispatch.cxx
index 822b467d35ad..14c24347b726 100644
--- a/sw/source/uibase/uno/unodispatch.cxx
+++ b/sw/source/uibase/uno/unodispatch.cxx
@@ -286,7 +286,7 @@ void SwXDispatch::addStatusListener(
aEvent.Source = *static_cast<cppu::OWeakObject*>(this);
aEvent.FeatureURL = aURL;
- // one of the URLs requires a special state ....
+ // one of the URLs requires a special state...
if (aURL.Complete == cURLDocumentDataSource)
{
const SwDBData& rData = m_pView->GetWrtShell().GetDBDesc();