[Libreoffice-commits] core.git: sfx2/source

Douglas Mencken dougmencken at gmail.com
Tue Feb 25 08:21:53 PST 2014


 sfx2/source/control/dispatch.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b8ebdae0345aa331cf6d6dabf40a6f26dc7d2371
Author: Douglas Mencken <dougmencken at gmail.com>
Date:   Tue Feb 25 09:55:55 2014 -0500

    Yet another one undefined comparison of 'const' and a 'non-const' iterators (hope the last one)
    
    Change-Id: Iefcd1f5561e5a8cac4152f16e72e8f628e9204a5
    Reviewed-on: https://gerrit.libreoffice.org/8223
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx
index 4a55580..7c956e0 100644
--- a/sfx2/source/control/dispatch.cxx
+++ b/sfx2/source/control/dispatch.cxx
@@ -2416,7 +2416,7 @@ sal_Bool SfxDispatcher::IsUpdated_Impl() const
 void SfxDispatcher::SetDisableFlags( sal_uInt32 nFlags )
 {
     pImp->nDisableFlags = nFlags;
-    for ( SfxShellStack_Impl::const_reverse_iterator it = pImp->aStack.rbegin(); it != pImp->aStack.rend(); ++it )
+    for ( SfxShellStack_Impl::reverse_iterator it = pImp->aStack.rbegin(); it != pImp->aStack.rend(); ++it )
         (*it)->SetDisableFlags( nFlags );
 }
 


More information about the Libreoffice-commits mailing list