diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2019-08-11 21:21:04 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2019-08-12 09:34:52 +0200 |
commit | c8e70f970a9b80323e9274880a135143accbb621 (patch) | |
tree | 67a79e3c360f46b160c15dc0e352bd99397b8639 | |
parent | 2812610f4f39ed5892da08864893c758325d1d39 (diff) |
Fix typos
Change-Id: I4bd004af206813b9dc01c50ab20f2e8b954b8dca
Reviewed-on: https://gerrit.libreoffice.org/77323
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
-rw-r--r-- | accessibility/inc/extended/AccessibleBrowseBoxBase.hxx | 2 | ||||
-rw-r--r-- | accessibility/inc/extended/AccessibleBrowseBoxHeaderBar.hxx | 2 | ||||
-rw-r--r-- | accessibility/inc/extended/AccessibleBrowseBoxTableBase.hxx | 4 | ||||
-rw-r--r-- | accessibility/inc/extended/AccessibleGridControlBase.hxx | 4 | ||||
-rw-r--r-- | accessibility/inc/extended/AccessibleGridControlHeader.hxx | 2 | ||||
-rw-r--r-- | accessibility/inc/extended/AccessibleGridControlTableBase.hxx | 4 | ||||
-rw-r--r-- | cppcanvas/source/mtfrenderer/implrenderer.cxx | 2 | ||||
-rw-r--r-- | emfio/source/reader/wmfreader.cxx | 4 | ||||
-rw-r--r-- | filter/source/msfilter/msdffimp.cxx | 2 | ||||
-rw-r--r-- | framework/source/jobs/jobexecutor.cxx | 4 | ||||
-rw-r--r-- | oox/source/drawingml/diagram/diagramfragmenthandler.cxx | 2 | ||||
-rw-r--r-- | oox/source/export/drawingml.cxx | 2 | ||||
-rw-r--r-- | sc/qa/unit/ucalc_formula.cxx | 2 | ||||
-rw-r--r-- | starmath/source/mathmlimport.cxx | 4 | ||||
-rw-r--r-- | xmloff/source/text/txtstyli.cxx | 2 |
15 files changed, 21 insertions, 21 deletions
diff --git a/accessibility/inc/extended/AccessibleBrowseBoxBase.hxx b/accessibility/inc/extended/AccessibleBrowseBoxBase.hxx index 99fb010e5f82..750d73189dba 100644 --- a/accessibility/inc/extended/AccessibleBrowseBoxBase.hxx +++ b/accessibility/inc/extended/AccessibleBrowseBoxBase.hxx @@ -202,7 +202,7 @@ public: // XTypeProvider - /** @return An unique implementation ID. */ + /** @return a unique implementation ID. */ virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override; // XServiceInfo diff --git a/accessibility/inc/extended/AccessibleBrowseBoxHeaderBar.hxx b/accessibility/inc/extended/AccessibleBrowseBoxHeaderBar.hxx index eef541c0caaf..7a7d8699f203 100644 --- a/accessibility/inc/extended/AccessibleBrowseBoxHeaderBar.hxx +++ b/accessibility/inc/extended/AccessibleBrowseBoxHeaderBar.hxx @@ -154,7 +154,7 @@ public: /** @return The name of this class. */ virtual OUString SAL_CALL getImplementationName() override; - /** @return An unique implementation ID. */ + /** @return a unique implementation ID. */ virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override; private: diff --git a/accessibility/inc/extended/AccessibleBrowseBoxTableBase.hxx b/accessibility/inc/extended/AccessibleBrowseBoxTableBase.hxx index b74e95969f49..3e9967c09038 100644 --- a/accessibility/inc/extended/AccessibleBrowseBoxTableBase.hxx +++ b/accessibility/inc/extended/AccessibleBrowseBoxTableBase.hxx @@ -135,10 +135,10 @@ public: // XTypeProvider - /** @return A sequence of possible types (received from base classes). */ + /** @return a sequence of possible types (received from base classes). */ virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override; - /** @return An unique implementation ID. */ + /** @return a unique implementation ID. */ virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override; // XServiceInfo diff --git a/accessibility/inc/extended/AccessibleGridControlBase.hxx b/accessibility/inc/extended/AccessibleGridControlBase.hxx index 4e4f86ebba1f..dc086dd59ba5 100644 --- a/accessibility/inc/extended/AccessibleGridControlBase.hxx +++ b/accessibility/inc/extended/AccessibleGridControlBase.hxx @@ -173,7 +173,7 @@ public: // XTypeProvider - /** @return An unique implementation ID. */ + /** @return a unique implementation ID. */ virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override; // XServiceInfo @@ -181,7 +181,7 @@ public: /** @return Whether the specified service is supported by this class. */ virtual sal_Bool SAL_CALL supportsService( const OUString& rServiceName ) override; - /** @return A list of all supported services. */ + /** @return a list of all supported services. */ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override; diff --git a/accessibility/inc/extended/AccessibleGridControlHeader.hxx b/accessibility/inc/extended/AccessibleGridControlHeader.hxx index b487b00820c6..f36e35460d12 100644 --- a/accessibility/inc/extended/AccessibleGridControlHeader.hxx +++ b/accessibility/inc/extended/AccessibleGridControlHeader.hxx @@ -112,7 +112,7 @@ public: /** @return The name of this class. */ virtual OUString SAL_CALL getImplementationName() override; - /** @return An unique implementation ID. */ + /** @return a unique implementation ID. */ virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override; private: diff --git a/accessibility/inc/extended/AccessibleGridControlTableBase.hxx b/accessibility/inc/extended/AccessibleGridControlTableBase.hxx index 4928573ef894..2aa3f59840c3 100644 --- a/accessibility/inc/extended/AccessibleGridControlTableBase.hxx +++ b/accessibility/inc/extended/AccessibleGridControlTableBase.hxx @@ -129,10 +129,10 @@ public: // XTypeProvider - /** @return A sequence of possible types (received from base classes). */ + /** @return a sequence of possible types (received from base classes). */ virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override; - /** @return An unique implementation ID. */ + /** @return a unique implementation ID. */ virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override; protected: diff --git a/cppcanvas/source/mtfrenderer/implrenderer.cxx b/cppcanvas/source/mtfrenderer/implrenderer.cxx index 5de65e350bc7..9a6a823523d2 100644 --- a/cppcanvas/source/mtfrenderer/implrenderer.cxx +++ b/cppcanvas/source/mtfrenderer/implrenderer.cxx @@ -2907,7 +2907,7 @@ namespace cppcanvas aStateStack.clearStateStack(); // Setup local state, such that the metafile renders - // itself into an one-by-one square at the origin for + // itself into a one-by-one square at the origin for // identity view and render transformations aStateStack.getState().transform.scale( 1.0 / aMtfSizePix.Width(), 1.0 / aMtfSizePix.Height() ); diff --git a/emfio/source/reader/wmfreader.cxx b/emfio/source/reader/wmfreader.cxx index a4d392463afb..d1e7f85b1c67 100644 --- a/emfio/source/reader/wmfreader.cxx +++ b/emfio/source/reader/wmfreader.cxx @@ -773,7 +773,7 @@ namespace emfio if( nFunc == W_META_STRETCHDIB || nFunc == W_META_DIBBITBLT || nFunc == W_META_DIBSTRETCHBLT ) { if ( nWinROP == PATCOPY ) - mpInputStream->ReadUInt16( nUsage ); // i don't know anything of this parameter, so its called nUsage + mpInputStream->ReadUInt16( nUsage ); // i don't know anything of this parameter, so it's called nUsage // DrawRect( Rectangle( ReadYX(), aDestSize ), false ); Size aDestSize( ReadYXExt() ); @@ -1761,7 +1761,7 @@ namespace emfio if( nFunction == W_META_STRETCHDIB || nFunction == W_META_DIBBITBLT || nFunction == W_META_DIBSTRETCHBLT ) { if ( nWinROP == PATCOPY ) - pStm->ReadUInt16( nUsage ); // i don't know anything of this parameter, so its called nUsage + pStm->ReadUInt16( nUsage ); // i don't know anything of this parameter, so it's called nUsage // DrawRect( Rectangle( ReadYX(), aDestSize ), false ); Size aDestSize( ReadYXExt() ); diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx index ae391d04f8a0..94abf351e1dd 100644 --- a/filter/source/msfilter/msdffimp.cxx +++ b/filter/source/msfilter/msdffimp.cxx @@ -5974,7 +5974,7 @@ void SvxMSDffManager::GetCtrlData(sal_uInt32 nOffsDggL) if( !bOk ) { - nPos++; // ????????? TODO: trying to get an one-hit wonder, this code should be rewritten... + nPos++; // ????????? TODO: trying to get a one-hit wonder, this code should be rewritten... if (nPos != rStCtrl.Seek(nPos)) break; bOk = ReadCommonRecordHeader( rStCtrl, nVer, nInst, nFbt, nLength ) diff --git a/framework/source/jobs/jobexecutor.cxx b/framework/source/jobs/jobexecutor.cxx index 1dbd7a9428c7..a0fc06acd96c 100644 --- a/framework/source/jobs/jobexecutor.cxx +++ b/framework/source/jobs/jobexecutor.cxx @@ -369,9 +369,9 @@ void SAL_CALL JobExecutor::elementReplaced( const css::container::ContainerEvent this job executor instance was registered from outside code as css.document.XEventListener. So it can be, that this disposing call comes from the global event broadcaster service. But we don't hold any reference to this service - which can or must be released. Because this broadcaster itself is an one instance service + which can or must be released. Because this broadcaster itself is a one instance service too, we can ignore this request. On the other side we must release our internal CFG - reference ... SOLUTION => check the given event source and react only, if it's our internal + reference... SOLUTION => check the given event source and react only, if it's our internal hold configuration object! */ void SAL_CALL JobExecutor::disposing( const css::lang::EventObject& aEvent ) diff --git a/oox/source/drawingml/diagram/diagramfragmenthandler.cxx b/oox/source/drawingml/diagram/diagramfragmenthandler.cxx index c30aee51eaae..6e1000af3627 100644 --- a/oox/source/drawingml/diagram/diagramfragmenthandler.cxx +++ b/oox/source/drawingml/diagram/diagramfragmenthandler.cxx @@ -197,7 +197,7 @@ ColorFragmentHandler::ColorFragmentHandler( ::oox::core::XmlFilterBase& rFilter, // the actual colors - defer to color fragment handlers. // TODO(F1): well, actually, there might be *several* color - // definitions in it, after all its called list. but + // definitions in it, after all it's called list. But // apparently ColorContext doesn't handle that anyway... case DGM_TOKEN(fillClrLst): return new ColorContext( *this, maColorEntry.maFillColor ); diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx index 58e7db53372d..718b76f552ac 100644 --- a/oox/source/export/drawingml.cxx +++ b/oox/source/export/drawingml.cxx @@ -4142,7 +4142,7 @@ void DrawingML::WriteDiagram(const css::uno::Reference<css::drawing::XShape>& rX if (!dataDom.is() || !layoutDom.is() || !styleDom.is() || !colorDom.is()) return; - // generate an unique id + // generate a unique id sax_fastparser::FastAttributeList* pDocPrAttrList = sax_fastparser::FastSerializerHelper::createAttrList(); pDocPrAttrList->add(XML_id, OString::number(nDiagramId).getStr()); diff --git a/sc/qa/unit/ucalc_formula.cxx b/sc/qa/unit/ucalc_formula.cxx index 8754239bbb2a..716ac8defa5c 100644 --- a/sc/qa/unit/ucalc_formula.cxx +++ b/sc/qa/unit/ucalc_formula.cxx @@ -8424,7 +8424,7 @@ void Test::testMatConcat() void Test::testMatConcatReplication() { - // if one of the matrices is an one column or row matrix + // if one of the matrices is a one column or row matrix // the matrix is replicated across the larger matrix CPPUNIT_ASSERT(m_pDoc->InsertTab (0, "Test")); diff --git a/starmath/source/mathmlimport.cxx b/starmath/source/mathmlimport.cxx index a0d7afd51267..f49d88ca794b 100644 --- a/starmath/source/mathmlimport.cxx +++ b/starmath/source/mathmlimport.cxx @@ -3162,8 +3162,8 @@ extern "C" SAL_DLLPUBLIC_EXPORT bool TestImportMML(SvStream &rStream) uno::Reference<io::XInputStream> xStream(new utl::OSeekableInputStreamWrapper(rStream)); //SetLoading hack because the document properties will be re-initted - //by the xml filter and during the init, while its considered uninitialized, - //setting a property will inform the document its modified, which attempts + //by the xml filter and during the init, while it's considered uninitialized, + //setting a property will inform the document it's modified, which attempts //to update the properties, which throws cause the properties are uninitialized xDocSh->SetLoading(SfxLoadedFlags::NONE); diff --git a/xmloff/source/text/txtstyli.cxx b/xmloff/source/text/txtstyli.cxx index 5deb7fe1a161..ef0f52378076 100644 --- a/xmloff/source/text/txtstyli.cxx +++ b/xmloff/source/text/txtstyli.cxx @@ -548,7 +548,7 @@ void XMLTextStyleContext::FillPropertySet( // This happens for AutoStyles which are already filled in XMLPropStyleContext::CreateAndInsert, // thus the whole mechanism based on _ContextID_Index_Pair will not work // in that case. Thus the slots which need to be converted already get - // converted there (its called first) and not here (see + // converted there (it's called first) and not here (see // translateNameBasedDrawingLayerFillStyleDefinitionsToStyleDisplayNames) // For convenience, still Write back the corrected value to the XMLPropertyState entry rState.maValue <<= sStyleName; |