[Libreoffice-commits] core.git: 2 commits - svx/source sw/source vcl/ios

Julien Nabet serval2412 at yahoo.fr
Sun Apr 20 13:56:00 PDT 2014


 svx/source/items/svxerr.src   |    4 ++--
 sw/source/ui/index/cnttab.cxx |    2 +-
 vcl/ios/iosinst.cxx           |    4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

New commits:
commit 80915b8f21f0745cd4de2c4bb72fba24a0ffebcd
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sun Apr 20 22:54:18 2014 +0200

    cppcheck: Prefer prefix ++/-- operators for non-primitive types
    
    Change-Id: Ic24715d86b3f822babd236ac73c041f3a5c1d92b

diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx
index ff0857b..0e44b97 100644
--- a/sw/source/ui/index/cnttab.cxx
+++ b/sw/source/ui/index/cnttab.cxx
@@ -2282,7 +2282,7 @@ IMPL_LINK(SwTOXEntryTabPage, LevelHdl, SvTreeListBox*, pBox)
                 m_pAuthFieldsLB->RemoveEntry(nLstBoxPos);
             }
 
-            aIt++; // #i21237#
+            ++aIt; // #i21237#
         }
         m_pAuthFieldsLB->SelectEntryPos(0);
     }
diff --git a/vcl/ios/iosinst.cxx b/vcl/ios/iosinst.cxx
index 91735bb..b4fa76a 100644
--- a/vcl/ios/iosinst.cxx
+++ b/vcl/ios/iosinst.cxx
@@ -301,7 +301,7 @@ IMPL_LINK( IosSalInstance, DisplayConfigurationChanged, void*, )
 {
     for( std::list< SalFrame* >::const_iterator it = getFrames().begin();
          it != getFrames().end();
-         it++ ) {
+         ++it ) {
         (*it)->Show( false, false );
         (*it)->CallCallback( SALEVENT_SETTINGSCHANGED, 0 );
         (*it)->SetPosSize(0, 0, viewWidth, viewHeight, SAL_FRAME_POSSIZE_WIDTH | SAL_FRAME_POSSIZE_HEIGHT);
@@ -343,7 +343,7 @@ IMPL_LINK( IosSalInstance, RenderWindows, RenderWindowsArg*, arg )
 
     for( std::list< SalFrame* >::const_reverse_iterator it = getFrames().rbegin();
          it != getFrames().rend();
-         it++ ) {
+         ++it ) {
         IosSalFrame *pFrame = static_cast<IosSalFrame *>(*it);
         SalFrameGeometry aGeom = pFrame->GetGeometry();
         CGRect bbox = CGRectMake( 0, 0, aGeom.nWidth, aGeom.nHeight );
commit 664c175e33a04f36e8af8a4a5e885542d2e22f7a
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sun Apr 20 20:45:30 2014 +0200

    cpplint: invalid UTF-8 + punctuation
    
    Change-Id: I31871db6f344e90c54ed9efb51b9576cd36d9fa8

diff --git a/svx/source/items/svxerr.src b/svx/source/items/svxerr.src
index 90a0b8c..1feaed2 100644
--- a/svx/source/items/svxerr.src
+++ b/svx/source/items/svxerr.src
@@ -112,9 +112,9 @@ Resource RID_SVXERRCODE
 
     String ERRCODE_SVX_MODIFIED_VBASIC_STORAGE & ERRCODE_RES_MASK
     {
-//      TEXT = "Der Basic-Code wurde verändert und kann somit nicht mehr als Original gespeichert werden." ;
+//      TEXT = "Der Basic-Code wurde verändert und kann somit nicht mehr als Original gespeichert werden." ;
 //      TEXT [ English ] = "The Basic-Code is modified and so it can not be saved as original." ;
-        Text [ en-US ] = "All changes to the Basic Code are lost.The original VBA Macro Code is saved instead.";
+        Text [ en-US ] = "All changes to the Basic Code are lost. The original VBA Macro Code is saved instead.";
     };
 
     String ERRCODE_SVX_VBASIC_STORAGE_EXIST & ERRCODE_RES_MASK


More information about the Libreoffice-commits mailing list