From 73e3604fc16695758b9a7f55051d2f786f74be2d Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Thu, 5 Sep 2019 18:47:55 +0200 Subject: Fixing '....' and '..' Change-Id: I926069d6c1f2712e5020d930f7ff6c62fd00e912 Reviewed-on: https://gerrit.libreoffice.org/78667 Tested-by: Jenkins Reviewed-by: Julien Nabet --- .../DevelopersGuide/Forms/ControlLock.java | 2 +- .../DevelopersGuide/Forms/DataAwareness.java | 2 +- .../DevelopersGuide/Forms/SalesFilter.java | 2 +- .../DevelopersGuide/OfficeBean/OOoBeanViewer.java | 2 +- .../DevelopersGuide/UCB/DataStreamRetriever.java | 2 +- odk/examples/cpp/remoteclient/remoteclient.cxx | 2 +- sw/qa/extras/ooxmlexport/ooxmlexport2.cxx | 2 +- sw/source/core/edit/autofmt.cxx | 6 +++--- sw/source/core/unocore/unoportenum.cxx | 2 +- sw/source/filter/ww8/wrtww8.cxx | 2 +- sw/source/filter/ww8/ww8par2.cxx | 2 +- sw/source/filter/ww8/ww8par5.cxx | 2 +- sw/source/uibase/app/docshini.cxx | 4 ++-- sw/source/uibase/fldui/fldmgr.cxx | 4 ++-- sw/source/uibase/uno/unodispatch.cxx | 2 +- vcl/source/app/svapp.cxx | 2 +- vcl/source/control/edit.cxx | 2 +- vcl/source/control/fmtfield.cxx | 6 +++--- vcl/source/control/wizardmachine.cxx | 22 +++++++++++----------- vcl/source/edit/texteng.cxx | 6 +++--- vcl/source/filter/ixpm/xpmread.cxx | 2 +- vcl/source/treelist/svimpbox.cxx | 2 +- vcl/source/window/brdwin.cxx | 2 +- vcl/source/window/floatwin.cxx | 2 +- vcl/source/window/window.cxx | 2 +- vcl/unx/generic/print/printerjob.cxx | 2 +- .../com/sun/star/wizards/agenda/TopicsControl.py | 2 +- xmloff/source/core/xmlexp.cxx | 2 +- xmloff/source/forms/elementexport.cxx | 4 ++-- xmloff/source/forms/elementimport.cxx | 4 ++-- xmloff/source/forms/propertyexport.cxx | 2 +- xmloff/source/table/XMLTableExport.cxx | 2 +- .../source/helper/documentsignaturehelper.cxx | 2 +- .../source/helper/documentsignaturemanager.cxx | 2 +- 34 files changed, 54 insertions(+), 54 deletions(-) diff --git a/odk/examples/DevelopersGuide/Forms/ControlLock.java b/odk/examples/DevelopersGuide/Forms/ControlLock.java index 51358a7f02ba..6895f73f9289 100644 --- a/odk/examples/DevelopersGuide/Forms/ControlLock.java +++ b/odk/examples/DevelopersGuide/Forms/ControlLock.java @@ -90,7 +90,7 @@ class LockControlModels extends ComponentTreeTraversal xPSI = xCompProps.getPropertySetInfo(); if ( ( null != xPSI ) && xPSI.hasPropertyByName( "DataField" ) ) - { // indeed it has .... + { // indeed it has... String sDataField = (String)xCompProps.getPropertyValue( "DataField" ); if ( sDataField.equals( m_sDataField ) ) { // we found a control model which is bound to what we're looking for diff --git a/odk/examples/DevelopersGuide/Forms/DataAwareness.java b/odk/examples/DevelopersGuide/Forms/DataAwareness.java index 123360c4e942..fbb3b7fe5e8e 100644 --- a/odk/examples/DevelopersGuide/Forms/DataAwareness.java +++ b/odk/examples/DevelopersGuide/Forms/DataAwareness.java @@ -384,7 +384,7 @@ public class DataAwareness extends DocumentBasedExample implements XPropertyChan

The check is made using a SELECT statement, so even if the connection is a n SDB-level connection, which may filter tables in its table - supplier, the result may be reliable ....

+ supplier, the result may be reliable...

*/ protected boolean existsInvisibleTable( XConnection xConn, String sTableName ) throws java.lang.Exception { diff --git a/odk/examples/DevelopersGuide/Forms/SalesFilter.java b/odk/examples/DevelopersGuide/Forms/SalesFilter.java index 519e3e80ce65..753135bd3532 100644 --- a/odk/examples/DevelopersGuide/Forms/SalesFilter.java +++ b/odk/examples/DevelopersGuide/Forms/SalesFilter.java @@ -362,7 +362,7 @@ class SalesFilter implements XActionListener, XPropertyChangeListener, XResetLis // the current string items String[] aOldFilterItems = (String[])m_xFilterList.getPropertyValue( "StringItemList" ); - // translate this into a vector - much more comfort to work with a vector than with an array .... + // translate this into a vector - much more comfort to work with a vector than with an array... java.util.ArrayList aFilterItems = new java.util.ArrayList(); for ( int i=0; i & rxInterface ) sal_Int32 PipeClientMain::run( const Sequence< OUString > & aArguments ) throw ( RuntimeException ) { - printf( "Connecting ....\n" ); + printf( "Connecting...\n" ); if( aArguments.getLength() == 1 ) { 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 - // and the inner nodes like + // and the inner nodes like // // 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 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& 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(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(); diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx index e0846a5ecec7..c3d24c8a6994 100644 --- a/vcl/source/app/svapp.cxx +++ b/vcl/source/app/svapp.cxx @@ -1366,7 +1366,7 @@ vcl::Window* Application::GetDefDialogParent() return pWin->mpWindowImpl->mpFrameWindow->ImplGetWindow(); } - // first visible top window (may be totally wrong....) + // first visible top window (may be totally wrong...) pWin = pSVData->maWinData.mpFirstFrame; while (pWin) { diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx index 37c135fbd1bd..d55d1cd24fa0 100644 --- a/vcl/source/control/edit.cxx +++ b/vcl/source/control/edit.cxx @@ -2945,7 +2945,7 @@ void Edit::dragOver( const css::datatransfer::dnd::DropTargetDragEvent& rDTDE ) if ( ( aMousePos.X() < 0 ) || ( aMousePos.X() > aOutSize.Width() ) ) { // Scroll? - // No, I will not receive events in this case.... + // No, I will not receive events in this case... } */ diff --git a/vcl/source/control/fmtfield.cxx b/vcl/source/control/fmtfield.cxx index 4a87fb979455..cb4f0c68ca5f 100644 --- a/vcl/source/control/fmtfield.cxx +++ b/vcl/source/control/fmtfield.cxx @@ -1206,9 +1206,9 @@ void DoubleCurrencyField::UpdateCurrencyFormat() sTemp.append("] "); sTemp.append(sNewFormat); - // for negative values : $ -0.00, not -$ 0.00 ... - // (the real solution would be a possibility to choose a "positive currency format" and a "negative currency format" ... - // But not now ... (and hey, you could take a formatted field for this ....)) + // for negative values : $ -0.00, not -$ 0.00... + // (the real solution would be a possibility to choose a "positive currency format" and a "negative currency format"... + // But not now... (and hey, you could take a formatted field for this...)) // FS - 31.03.00 74642 sTemp.append(";[$"); sTemp.append(sSymbol); diff --git a/vcl/source/control/wizardmachine.cxx b/vcl/source/control/wizardmachine.cxx index 0b8544bfd915..758ba1c4c67a 100644 --- a/vcl/source/control/wizardmachine.cxx +++ b/vcl/source/control/wizardmachine.cxx @@ -486,8 +486,8 @@ namespace vcl if ( !ShowPage( nCurrentState ) ) { // argh! prepareLeaveCurrentPage succeeded, determineNextState succeeded, - // but ShowPage doesn't? Somebody behaves very strange here .... - OSL_FAIL( "OWizardMachine::skipUntil: very unpolite ...." ); + // but ShowPage doesn't? Somebody behaves very strange here... + OSL_FAIL( "OWizardMachine::skipUntil: very unpolite..." ); m_pImpl->aStateHistory = aOldStateHistory; return false; } @@ -517,11 +517,11 @@ namespace vcl if (!ShowPage(nCurrentState)) { // TODO: this leaves us in a state where we have no current page and an inconsistent state history. - // Perhaps we should rollback the skipping here .... - OSL_FAIL("OWizardMachine::skip: very unpolite ...."); - // if somebody does a skip and then does not allow to leave ... + // Perhaps we should rollback the skipping here... + OSL_FAIL("OWizardMachine::skip: very unpolite..."); + // if somebody does a skip and then does not allow to leave... // (can't be a commit error, as we've already committed the current page. So if ShowPage fails here, - // somebody behaves really strange ...) + // somebody behaves really strange...) return; } @@ -991,8 +991,8 @@ namespace vcl if ( !ShowPage( nCurrentState ) ) { // argh! prepareLeaveCurrentPage succeeded, determineNextState succeeded, - // but ShowPage doesn't? Somebody behaves very strange here .... - OSL_FAIL( "WizardMachine::skipUntil: very unpolite ...." ); + // but ShowPage doesn't? Somebody behaves very strange here... + OSL_FAIL( "WizardMachine::skipUntil: very unpolite..." ); m_pImpl->aStateHistory = aOldStateHistory; return false; } @@ -1021,9 +1021,9 @@ namespace vcl if (!ShowPage(nCurrentState)) { // TODO: this leaves us in a state where we have no current page and an inconsistent state history. - // Perhaps we should rollback the skipping here .... - OSL_FAIL("OWizardMachine::skip: very unpolite ...."); - // if somebody does a skip and then does not allow to leave ... + // Perhaps we should rollback the skipping here... + OSL_FAIL("OWizardMachine::skip: very unpolite..."); + // if somebody does a skip and then does not allow to leave... // (can't be a commit error, as we've already committed the current page. So if ShowPage fails here, // somebody behaves really strange ...) return; diff --git a/vcl/source/edit/texteng.cxx b/vcl/source/edit/texteng.cxx index 0b5303fcf9e4..135f86d1ef0a 100644 --- a/vcl/source/edit/texteng.cxx +++ b/vcl/source/edit/texteng.cxx @@ -174,7 +174,7 @@ void TextEngine::SetFont( const vcl::Font& rFont ) maFont = rFont; // #i40221# As the font's color now defaults to transparent (since i35764) // we have to choose a useful textcolor in this case. - // Otherwise maTextColor and maFont.GetColor() are both transparent.... + // Otherwise maTextColor and maFont.GetColor() are both transparent... if( rFont.GetColor() == COL_TRANSPARENT ) maTextColor = COL_BLACK; else @@ -559,7 +559,7 @@ TextPaM TextEngine::ImpDeleteText( const TextSelection& rSel ) pPortion->MarkSelectionInvalid( aStartPaM.GetIndex() ); } - // the beginning of EndNodes.... + // the beginning of EndNodes... nEndNode = nStartNode+1; // the other paragraphs were deleted nChars = aEndPaM.GetIndex(); if ( nChars ) @@ -572,7 +572,7 @@ TextPaM TextEngine::ImpDeleteText( const TextSelection& rSel ) pPortion->MarkSelectionInvalid( 0 ); } - // connect.... + // connect... aStartPaM = ImpConnectParagraphs( nStartNode, nEndNode ); } else diff --git a/vcl/source/filter/ixpm/xpmread.cxx b/vcl/source/filter/ixpm/xpmread.cxx index 5b2ad3592703..85a9bfd18a8e 100644 --- a/vcl/source/filter/ixpm/xpmread.cxx +++ b/vcl/source/filter/ixpm/xpmread.cxx @@ -561,7 +561,7 @@ bool XPMReader::ImplGetPara ( sal_uLong nNumb ) // The next string is read and stored in mpStringBuf (terminated with 0); // mnStringSize contains the size of the string read. -// Comments like '//' and '/*....*/' are skipped. +// Comments like '//' and '/*...*/' are skipped. bool XPMReader::ImplGetString() { diff --git a/vcl/source/treelist/svimpbox.cxx b/vcl/source/treelist/svimpbox.cxx index 2e24f0f34d14..5595d9bcb19d 100644 --- a/vcl/source/treelist/svimpbox.cxx +++ b/vcl/source/treelist/svimpbox.cxx @@ -760,7 +760,7 @@ SvTreeListEntry* SvImpLBox::GetClickedEntry( const Point& rPoint ) const if ( !m_pView->GetModel() ) // this is quite impossible. Nevertheless, stack traces from the crash reporter // suggest it isn't. Okay, make it safe, and wait for somebody to reproduce it - // reliably :-\ .... + // reliably :-\ ... // #122359# / 2005-05-23 / frank.schoenheit@sun.com return nullptr; if( m_pView->GetEntryCount() == 0 || !m_pStartEntry || !m_pView->GetEntryHeight()) diff --git a/vcl/source/window/brdwin.cxx b/vcl/source/window/brdwin.cxx index fe5a34f942e3..2717803978df 100644 --- a/vcl/source/window/brdwin.cxx +++ b/vcl/source/window/brdwin.cxx @@ -703,7 +703,7 @@ void ImplSmallBorderWindowView::DrawWindow(vcl::RenderContext& rRenderContext, c bNativeOK = rRenderContext.DrawNativeControl(aCtrlType, aCtrlPart, aCtrlRegion, nState, aControlValue, OUString()); // if the native theme draws the spinbuttons in one call, make sure the proper settings - // are passed, this might force a redraw though.... (TODO: improve) + // are passed, this might force a redraw though... (TODO: improve) if ((aCtrlType == ControlType::Spinbox) && !pCtrl->IsNativeControlSupported(ControlType::Spinbox, ControlPart::ButtonUp)) { Edit* pEdit = static_cast(pCtrl)->GetSubEdit(); diff --git a/vcl/source/window/floatwin.cxx b/vcl/source/window/floatwin.cxx index 55db2be8f593..198ac87de9d8 100644 --- a/vcl/source/window/floatwin.cxx +++ b/vcl/source/window/floatwin.cxx @@ -240,7 +240,7 @@ Point FloatingWindow::ImplCalcPos(vcl::Window* pWindow, tools::Rectangle aScreenRect = pWindow->ImplGetFrameWindow()->GetDesktopRectPixel(); FloatingWindow *pFloatingWindow = dynamic_cast( pWindow ); - // convert.... + // convert... vcl::Window* pW = pWindow; if ( pW->mpWindowImpl->mpRealParent ) pW = pW->mpWindowImpl->mpRealParent; diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx index e9cff73fbe58..2a33b81c71d9 100644 --- a/vcl/source/window/window.cxx +++ b/vcl/source/window/window.cxx @@ -2237,7 +2237,7 @@ void Window::Show(bool bVisible, ShowFlags nFlags) else { // inherit native widget flag for form controls - // required here, because frames never show up in the child hierarchy - which should be fixed.... + // required here, because frames never show up in the child hierarchy - which should be fixed... // eg, the drop down of a combobox which is a system floating window if( mpWindowImpl->mbFrame && GetParent() && GetParent()->IsCompoundControl() && GetParent()->IsNativeWidgetEnabled() != IsNativeWidgetEnabled() && diff --git a/vcl/unx/generic/print/printerjob.cxx b/vcl/unx/generic/print/printerjob.cxx index 4b00e8924b47..c0abcf3e9814 100644 --- a/vcl/unx/generic/print/printerjob.cxx +++ b/vcl/unx/generic/print/printerjob.cxx @@ -190,7 +190,7 @@ removeSpoolDir (const OUString& rSpoolDir) if( osl::File::E_None != osl::File::getSystemPathFromFileURL( rSpoolDir, aSysPath ) ) { // Conversion did not work, as this is quite a dangerous action, - // we should abort here .... + // we should abort here... OSL_FAIL( "psprint: couldn't remove spool directory" ); return; } diff --git a/wizards/com/sun/star/wizards/agenda/TopicsControl.py b/wizards/com/sun/star/wizards/agenda/TopicsControl.py index 6989f1b74ddd..36cfbffa41e1 100644 --- a/wizards/com/sun/star/wizards/agenda/TopicsControl.py +++ b/wizards/com/sun/star/wizards/agenda/TopicsControl.py @@ -128,7 +128,7 @@ class TopicsControl(ControlScroller): ''' def initializeScrollFields(self, agenda): - # create a row for each topic with the given values.... + # create a row for each topic with the given values... for index,item in enumerate(agenda.cp_Topics.childrenList): row = self.newRow(index) item.setDataToRow(row) diff --git a/xmloff/source/core/xmlexp.cxx b/xmloff/source/core/xmlexp.cxx index 74ee4336ed5e..83d3fd71af47 100644 --- a/xmloff/source/core/xmlexp.cxx +++ b/xmloff/source/core/xmlexp.cxx @@ -2062,7 +2062,7 @@ void SvXMLExport::ExportEmbeddedOwnObject( Reference< XComponent > const & rComp OUString SvXMLExport::GetRelativeReference(const OUString& rValue) { OUString sValue( rValue ); - // #i65474# handling of fragment URLs ("#....") is undefined + // #i65474# handling of fragment URLs ("#...") is undefined // they are stored 'as is' uno::Reference< uri::XUriReference > xUriRef; if(!sValue.isEmpty() && sValue[0] != '#') diff --git a/xmloff/source/forms/elementexport.cxx b/xmloff/source/forms/elementexport.cxx index 13ebf89709c5..7ba3b4700534 100644 --- a/xmloff/source/forms/elementexport.cxx +++ b/xmloff/source/forms/elementexport.cxx @@ -1476,7 +1476,7 @@ namespace xmloff // if the EchoChar string is not empty, it is a password field sal_Int16 nEchoChar = 0; if (m_xPropertyInfo->hasPropertyByName(PROPERTY_ECHOCHAR)) - // grid columns do not have this property .... + // grid columns do not have this property... m_xProps->getPropertyValue(PROPERTY_ECHOCHAR) >>= nEchoChar; if (nEchoChar) { @@ -1488,7 +1488,7 @@ namespace xmloff // if the MultiLine property is sal_True, it is a TextArea bool bMultiLine = false; if (m_xPropertyInfo->hasPropertyByName(PROPERTY_MULTILINE)) - // grid columns do not have this property .... + // grid columns do not have this property... bMultiLine = ::cppu::any2bool(m_xProps->getPropertyValue(PROPERTY_MULTILINE)); if ( bMultiLine ) diff --git a/xmloff/source/forms/elementimport.cxx b/xmloff/source/forms/elementimport.cxx index c1083ba2332f..fa3289e73826 100644 --- a/xmloff/source/forms/elementimport.cxx +++ b/xmloff/source/forms/elementimport.cxx @@ -438,11 +438,11 @@ namespace xmloff return sUnnamedName; Sequence< OUString > aNames = m_xParentContainer->getElementNames(); - for (sal_Int32 i=0; i<32768; ++i) // the limit is nearly arbitrary ... + for (sal_Int32 i=0; i<32768; ++i) // the limit is nearly arbitrary... { // assemble the new name (suggestion) OUString sReturn = sUnnamedName + OUString::number(i); - // check the existence (this is the bad performance part ....) + // check the existence (this is the bad performance part...) if (comphelper::findValue(aNames, sReturn) == -1) // not found the name return sReturn; diff --git a/xmloff/source/forms/propertyexport.cxx b/xmloff/source/forms/propertyexport.cxx index f83802638968..891e33460450 100644 --- a/xmloff/source/forms/propertyexport.cxx +++ b/xmloff/source/forms/propertyexport.cxx @@ -558,7 +558,7 @@ namespace xmloff } break; default: - { // hmmm .... what else do we know? + { // hmmm... what else do we know? double fValue = 0; css::util::Date aDate; css::util::Time aTime; diff --git a/xmloff/source/table/XMLTableExport.cxx b/xmloff/source/table/XMLTableExport.cxx index 449860ed8656..2e1c7d2ccfb3 100644 --- a/xmloff/source/table/XMLTableExport.cxx +++ b/xmloff/source/table/XMLTableExport.cxx @@ -455,7 +455,7 @@ static bool has_states( const std::vector< XMLPropertyState >& xPropStates ) // ODF export of the text contents of a table cell. // Remarks: Up to now we only export text contents! -// TODO: Check against nested tables .... +// TODO: Check against nested tables... void XMLTableExport::ImpExportText( const Reference< XCell >& xCell ) { diff --git a/xmlsecurity/source/helper/documentsignaturehelper.cxx b/xmlsecurity/source/helper/documentsignaturehelper.cxx index c097b14a2180..bcf63be55238 100644 --- a/xmlsecurity/source/helper/documentsignaturehelper.cxx +++ b/xmlsecurity/source/helper/documentsignaturehelper.cxx @@ -204,7 +204,7 @@ DocumentSignatureHelper::CreateElementList( { ; // Doesn't have to exist... } - // 3) OLE.... + // 3) OLE... aSubStorageName = "ObjectReplacements"; try { diff --git a/xmlsecurity/source/helper/documentsignaturemanager.cxx b/xmlsecurity/source/helper/documentsignaturemanager.cxx index 19cdc2fb4d1d..67885007cd7d 100644 --- a/xmlsecurity/source/helper/documentsignaturemanager.cxx +++ b/xmlsecurity/source/helper/documentsignaturemanager.cxx @@ -649,7 +649,7 @@ void DocumentSignatureManager::write(bool bXAdESCompliantIfODF) maCurrentSignatureInformations[i], i + 1); } - // If stream was not provided, we are responsible for committing it.... + // If stream was not provided, we are responsible for committing it... if (!mxSignatureStream.is() && aStreamHelper.xSignatureStorage.is()) { uno::Reference xTrans(aStreamHelper.xSignatureStorage, -- cgit v1.2.3