diff options
Diffstat (limited to 'filter/source/msfilter')
-rw-r--r-- | filter/source/msfilter/escherex.cxx | 2 | ||||
-rw-r--r-- | filter/source/msfilter/msdffimp.cxx | 10 | ||||
-rw-r--r-- | filter/source/msfilter/svdfppt.cxx | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/filter/source/msfilter/escherex.cxx b/filter/source/msfilter/escherex.cxx index 2c3cdd3be950..2f0ea27d2af1 100644 --- a/filter/source/msfilter/escherex.cxx +++ b/filter/source/msfilter/escherex.cxx @@ -4917,7 +4917,7 @@ void EscherExGlobal::WriteDggAtom( SvStream& rStrm ) const // write the DGG record header (do not include the 8 bytes of the header in the data size) rStrm.WriteUInt32( ESCHER_Dgg << 16 ).WriteUInt32( nDggSize - 8 ); - // claculate and write the fixed DGG data + // calculate and write the fixed DGG data sal_uInt32 nShapeCount = 0; sal_uInt32 nLastShapeId = 0; for( DrawingInfoVector::const_iterator aIt = maDrawingInfos.begin(), aEnd = maDrawingInfos.end(); aIt != aEnd; ++aIt ) diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx index 9a886d7996ed..ca6e6f2a2036 100644 --- a/filter/source/msfilter/msdffimp.cxx +++ b/filter/source/msfilter/msdffimp.cxx @@ -786,9 +786,9 @@ static basegfx::B2DPolyPolygon GetLineArrow( const sal_Int32 nLineWidth, const M { basegfx::B2DPolyPolygon aRetPolyPoly; // 70 100mm = 2pt = 40 twip. In MS, line width less than 2pt has the same size arrow as 2pt - //If the unit is twip. Make all use this unit especailly the critical value 70/40. + //If the unit is twip. Make all use this unit especially the critical value 70/40. sal_Int32 nLineWidthCritical = bScaleArrow ? 40 : 70; - double fLineWidth = nLineWidth < nLineWidthCritical ? nLineWidthCritical : nLineWidth;; + double fLineWidth = nLineWidth < nLineWidthCritical ? nLineWidthCritical : nLineWidth; double fLengthMul, fWidthMul; sal_Int32 nLineNumber; @@ -1279,7 +1279,7 @@ void DffPropertyReader::ApplyFillAttributes( SvStream& rIn, SfxItemSet& rSet, co break; case mso_fillShadeCenter : // Shade from bounding rectangle to end point { - //If it is imported as a bitmap, it will not work well with transparecy especially 100 + //If it is imported as a bitmap, it will not work well with transparency especially 100 //But the gradient look well comparing with imported as gradient. And rotate with shape //also works better. So here just keep it. if ( rObjData.aBoundRect.IsEmpty() )// size of object needed to be able @@ -2847,7 +2847,7 @@ void DffPropertyReader::ImportGradientColor( SfxItemSet& aSet,MSO_FillType eMSO_ aGrad.SetStartIntens( 100 ); aGrad.SetEndIntens( 100 ); aSet.Put( XFillGradientItem( OUString(), aGrad ) ); - //Construct tranparency item. This item can coodinate with both solid and gradient. + //Construct tranparency item. This item can coordinate with both solid and gradient. if ( dTrans < 1.0 || dBackTrans < 1.0 ) { sal_uInt8 nStartCol = (sal_uInt8)( (1 - dTrans )* 255 ); @@ -5055,7 +5055,7 @@ SdrObject* SvxMSDffManager::ProcessObj(SvStream& rSt, pObj = pOrgObj = nullptr; } - // Distance of Textbox to it's surrounding Customshape + // Distance of Textbox to its surrounding Customshape sal_Int32 nTextLeft = GetPropertyValue( DFF_Prop_dxTextLeft, 91440L); sal_Int32 nTextRight = GetPropertyValue( DFF_Prop_dxTextRight, 91440L ); sal_Int32 nTextTop = GetPropertyValue( DFF_Prop_dyTextTop, 45720L ); diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx index ae6ef974e090..9fda08ea16ff 100644 --- a/filter/source/msfilter/svdfppt.cxx +++ b/filter/source/msfilter/svdfppt.cxx @@ -1856,7 +1856,7 @@ SdrObject* SdrPowerPointImport::ImportOLE( long nOLEId, sal_uInt8 aTestA[ 10 ]; bool bGetItAsOle = ( sizeof( aTestA ) == xSrcTst->Read( aTestA, sizeof( aTestA ) ) ); if ( !bGetItAsOle ) - { // maybe there is a contentsstream in here + { // maybe there is a contents stream in here xSrcTst = xObjStor->OpenSotStream( "Contents", STREAM_READWRITE | StreamMode::NOCREATE ); bGetItAsOle = ( xSrcTst.Is() && sizeof( aTestA ) == xSrcTst->Read( aTestA, sizeof( aTestA ) ) ); } @@ -5789,7 +5789,7 @@ void PPTPortionObj::ApplyTo( SfxItemSet& rSet, SdrPowerPointImport& rManager, s if ( nDestinationInstance == 0xffffffff ) mrStyleSheet.mpCharSheet[ mnInstance ]->maCharLevel[ mnDepth ].mnFontColorInStyleSheet = aCol; } - else if ( nVal & 0x0f000000 ) // this is not a hard attribute, but maybe the page has a different colerscheme, + else if ( nVal & 0x0f000000 ) // this is not a hard attribute, but maybe the page has a different colorscheme, { // so that in this case we must use a hard color attribute Color aCol( rManager.MSO_TEXT_CLR_ToColor( nVal ) ); Color& aColorInSheet = mrStyleSheet.mpCharSheet[ mnInstance ]->maCharLevel[ mnDepth ].mnFontColorInStyleSheet; |