From 8a3912c8eb25d1acacbc0a18355f2ca75d418908 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Sat, 20 Jul 2019 18:57:33 +0200 Subject: Fix typo "an OLE", to complete: https://gerrit.libreoffice.org/#/c/75983/ Change-Id: Idd5b9286348b4fa1e3382983c72b010654a1f4c2 Reviewed-on: https://gerrit.libreoffice.org/76038 Tested-by: Jenkins Reviewed-by: Andrea Gelmini --- offapi/com/sun/star/sheet/AccessibleSpreadsheetDocumentView.idl | 2 +- sfx2/qa/complex/sfx2/undo/ChartDocumentTest.java | 2 +- sfx2/source/appl/lnkbase2.cxx | 2 +- sot/source/sdstor/stg.cxx | 2 +- svx/inc/sdr/contact/viewcontactofsdrole2obj.hxx | 2 +- svx/source/unodraw/unoshap4.cxx | 2 +- sw/source/core/ole/ndole.cxx | 2 +- sw/source/filter/ww8/ww8graf2.cxx | 4 ++-- writerperfect/source/calc/MSWorksCalcImportFilter.cxx | 4 ++-- 9 files changed, 11 insertions(+), 11 deletions(-) diff --git a/offapi/com/sun/star/sheet/AccessibleSpreadsheetDocumentView.idl b/offapi/com/sun/star/sheet/AccessibleSpreadsheetDocumentView.idl index e690efe1ab64..e25e15381ff6 100644 --- a/offapi/com/sun/star/sheet/AccessibleSpreadsheetDocumentView.idl +++ b/offapi/com/sun/star/sheet/AccessibleSpreadsheetDocumentView.idl @@ -70,7 +70,7 @@ service AccessibleSpreadsheetDocumentView A child where calling getAccessibleChild() an object that supports this service is returned for the current OLE object in edit mode. It exists - only if a OLE object is in edit mode. + only if an OLE object is in edit mode.

The following rules apply to the children order. General it represents the paint order. The object in the background came diff --git a/sfx2/qa/complex/sfx2/undo/ChartDocumentTest.java b/sfx2/qa/complex/sfx2/undo/ChartDocumentTest.java index 8ccbe6b6c5b7..5d5ea95b2662 100644 --- a/sfx2/qa/complex/sfx2/undo/ChartDocumentTest.java +++ b/sfx2/qa/complex/sfx2/undo/ChartDocumentTest.java @@ -51,7 +51,7 @@ public class ChartDocumentTest implements DocumentTest { m_textDocument = OfficeDocument.blankDocument( i_orb, DocumentType.WRITER ); - // create a OLE shape in the document + // create an OLE shape in the document final XMultiServiceFactory factory = UnoRuntime.queryInterface( XMultiServiceFactory.class, m_textDocument.getDocument() ); final String shapeServiceName = "com.sun.star.text.TextEmbeddedObject"; final XPropertySet shapeProps = UnoRuntime.queryInterface( XPropertySet.class, factory.createInstance( shapeServiceName ) ); diff --git a/sfx2/source/appl/lnkbase2.cxx b/sfx2/source/appl/lnkbase2.cxx index 15bc01f84059..6d9d9808fad6 100644 --- a/sfx2/source/appl/lnkbase2.cxx +++ b/sfx2/source/appl/lnkbase2.cxx @@ -141,7 +141,7 @@ SvBaseLink::SvBaseLink( SfxLinkUpdateMode nUpdateMode, SotClipboardFormatId nCon bVisible = bSynchron = true; bWasLastEditOK = false; - // It is going to be a Ole-Link, + // It is going to be an OLE-Link, pImplData->ClientType.nUpdateMode = nUpdateMode; pImplData->ClientType.nCntntType = nContentType; pImplData->ClientType.bIntrnlLnk = false; diff --git a/sot/source/sdstor/stg.cxx b/sot/source/sdstor/stg.cxx index 5b52b4b3683a..edc2477f7651 100644 --- a/sot/source/sdstor/stg.cxx +++ b/sot/source/sdstor/stg.cxx @@ -314,7 +314,7 @@ bool Storage::IsStorageFile( SvStream* pStream ) sal_uInt64 nPos = pStream->Tell(); bRet = ( aHdr.Load( *pStream ) && aHdr.Check() ); - // It's not a stream error if it is too small for a OLE storage header + // It's not a stream error if it is too small for an OLE storage header if ( pStream->GetErrorCode() == ERRCODE_IO_CANTSEEK ) pStream->ResetError(); pStream->Seek( nPos ); diff --git a/svx/inc/sdr/contact/viewcontactofsdrole2obj.hxx b/svx/inc/sdr/contact/viewcontactofsdrole2obj.hxx index 8d94c6115aa6..3004ff819e14 100644 --- a/svx/inc/sdr/contact/viewcontactofsdrole2obj.hxx +++ b/svx/inc/sdr/contact/viewcontactofsdrole2obj.hxx @@ -53,7 +53,7 @@ public: explicit ViewContactOfSdrOle2Obj(SdrOle2Obj& rOle2Obj); virtual ~ViewContactOfSdrOle2Obj() override; - // helper for creating a OLE sequence for this object. It takes care od attributes, needed + // helper for creating an OLE sequence for this object. It takes care od attributes, needed // scaling (e.g. for EmptyPresObj's), the correct graphic and other stuff. It is used from // createViewIndependentPrimitive2DSequence with false, and with evtl. HighContrast true // from the VOC which knows that diff --git a/svx/source/unodraw/unoshap4.cxx b/svx/source/unodraw/unoshap4.cxx index 158b8f2e1cce..ccab2930ba32 100644 --- a/svx/source/unodraw/unoshap4.cxx +++ b/svx/source/unodraw/unoshap4.cxx @@ -131,7 +131,7 @@ bool SvxOle2Shape::setPropertyValueImpl( const OUString& rName, const SfxItemPro OUString aCLSID; if( rValue >>= aCLSID ) { - // init a ole object with a global name + // init an OLE object with a global name SvGlobalName aClassName; if( aClassName.MakeId( aCLSID ) ) { diff --git a/sw/source/core/ole/ndole.cxx b/sw/source/core/ole/ndole.cxx index 4d2d5b05bce8..dc4fc1317e82 100644 --- a/sw/source/core/ole/ndole.cxx +++ b/sw/source/core/ole/ndole.cxx @@ -246,7 +246,7 @@ const Graphic* SwOLENode::GetGraphic() } /** - * Loading a OLE object that has been moved to the Undo Area + * Loading an OLE object that has been moved to the Undo Area */ bool SwOLENode::RestorePersistentData() { diff --git a/sw/source/filter/ww8/ww8graf2.cxx b/sw/source/filter/ww8/ww8graf2.cxx index b3ad4f3f88d3..20f613bad670 100644 --- a/sw/source/filter/ww8/ww8graf2.cxx +++ b/sw/source/filter/ww8/ww8graf2.cxx @@ -382,7 +382,7 @@ SwFrameFormat* SwWW8ImplReader::MakeGrafInContent(const WW8_PIC& rPic, SwFrameFormat* pFlyFormat = nullptr; - if (rFileName.isEmpty() && m_nObjLocFc) // then it should be a OLE-Object + if (rFileName.isEmpty() && m_nObjLocFc) // then it should be an OLE-Object pFlyFormat = ImportOle(pGraph, &aFlySet, &rGrfSet); if( !pFlyFormat ) // then just as graphic @@ -659,7 +659,7 @@ SwFrameFormat* SwWW8ImplReader::ImportGraf(SdrTextObj const * pTextObj, // Now add the link or rather the graphic to the doc const Graphic& rGraph = pGraphObject->GetGraphic(); - if (m_nObjLocFc) // is it a OLE-Object? + if (m_nObjLocFc) // is it an OLE-Object? pRet = ImportOle(&rGraph, &aAttrSet, &aGrSet, pObject->GetBLIPSizeRectangle()); if (!pRet) diff --git a/writerperfect/source/calc/MSWorksCalcImportFilter.cxx b/writerperfect/source/calc/MSWorksCalcImportFilter.cxx index b62e8ff2d493..5f81dc44769a 100644 --- a/writerperfect/source/calc/MSWorksCalcImportFilter.cxx +++ b/writerperfect/source/calc/MSWorksCalcImportFilter.cxx @@ -119,7 +119,7 @@ public: { return name && m_nameToPathMap.find(name) != m_nameToPathMap.end(); } - /** return a new stream for a ole zone */ + /** return a new stream for an OLE zone */ librevenge::RVNGInputStream* getSubStreamByName(const char* name) override { if (m_nameToPathMap.find(name) == m_nameToPathMap.end() || !m_xContent.is()) @@ -160,7 +160,7 @@ public: return nullptr; } - /** return a new stream for a ole zone */ + /** return a new stream for an OLE zone */ librevenge::RVNGInputStream* getSubStreamById(unsigned id) override { char const* name = subStreamName(id); -- cgit