framework/source/uielement/togglebuttontoolbarcontroller.cxx |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit a2791f974587301839a1dc59f632013b756fab83
Author: Julien Nabet <serval2...@yahoo.fr>
Date:   Tue Aug 27 06:30:54 2013 +0200

    Bin intermediate iterator again
    
    Change-Id: I6c3410e4043f6a10474f955434e8c855f60ecc80

diff --git a/framework/source/uielement/togglebuttontoolbarcontroller.cxx 
b/framework/source/uielement/togglebuttontoolbarcontroller.cxx
index f2aac68..dde2744 100644
--- a/framework/source/uielement/togglebuttontoolbarcontroller.cxx
+++ b/framework/source/uielement/togglebuttontoolbarcontroller.cxx
@@ -263,9 +263,7 @@ void ToggleButtonToolbarController::executeControlCommand( 
const ::com::sun::sta
                         {
                             if ( m_aDropdownMenuList[j] == aText )
                             {
-                                std::vector< OUString >::iterator aIter = 
m_aDropdownMenuList.begin();
-                                aIter += j;
-                                m_aDropdownMenuList.erase( aIter );
+                                
m_aDropdownMenuList.erase(m_aDropdownMenuList.begin() + j);
                                 break;
                             }
                         }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to