[Libreoffice-commits] .: filter/source

Julien Nabet serval2412 at kemper.freedesktop.org
Mon May 28 04:55:34 PDT 2012


 filter/source/msfilter/msdffimp.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 6b074ddd68133817b3aaff891fa85b43d264afe4
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Mon May 28 13:52:37 2012 +0200

    Fix typos + fix prefer prefix++ for iter
    
    Change-Id: Ic535667b3705fc707966e403edc32681a3c315e9

diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx
index 18c99bd..49ba211 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -4601,7 +4601,7 @@ SdrObject* SvxMSDffManager::ImportShape( const DffRecordHeader& rHd, SvStream& r
                             aSet.Put( SvxWeightItem( ( GetPropertyValue( DFF_Prop_gtextFStrikethrough, 0 ) & 0x0020 ) != 0 ? WEIGHT_BOLD : WEIGHT_NORMAL, EE_CHAR_WEIGHT ) );
 
                         // SJ TODO: Vertical Writing is not correct, instead this should be
-                        // replaced through "CharacterRotation" by 90�, therefore a new Item has to be
+                        // replaced through "CharacterRotation" by 90°, therefore a new Item has to be
                         // supported by svx core, api and xml file format
                         ((SdrObjCustomShape*)pRet)->SetVerticalWriting( ( GetPropertyValue( DFF_Prop_gtextFStrikethrough, 0 ) & 0x2000 ) != 0 );
 
@@ -7275,9 +7275,9 @@ SdrOle2Obj* SvxMSDffManager::CreateSdrOLEFromStorage(
                 SvStream* pDataStrm,
                 ErrCode& rError,
                 sal_uInt32 nConvertFlags,
-                sal_Int64 nReccomendedAspect )
+                sal_Int64 nRecommendedAspect )
 {
-    sal_Int64 nAspect = nReccomendedAspect;
+    sal_Int64 nAspect = nRecommendedAspect;
     SdrOle2Obj* pRet = 0;
     if( rSrcStorage.Is() && xDestStorage.is() && rStorageName.Len() )
     {
@@ -7625,7 +7625,7 @@ void SvxMSDffManager::removeShapeId( SdrObject* pShape )
             maShapeIdContainer.erase( aIter );
             break;
         }
-        aIter++;
+        ++aIter;
     }
 }
 


More information about the Libreoffice-commits mailing list