[Libreoffice-commits] .: UnoControls/source

Miklos Vajna vmiklos at kemper.freedesktop.org
Fri Dec 10 17:39:00 PST 2010


 UnoControls/source/base/basecontainercontrol.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 25ece88d3a4e559d27f05fbd86652f465c330071
Author: Miklos Vajna <vmiklos at frugalware.org>
Date:   Sat Dec 11 02:38:09 2010 +0100

    BaseContainerControl::removeControl: advance() is in the std namespace

diff --git a/UnoControls/source/base/basecontainercontrol.cxx b/UnoControls/source/base/basecontainercontrol.cxx
index 7b4a78a..783c759 100644
--- a/UnoControls/source/base/basecontainercontrol.cxx
+++ b/UnoControls/source/base/basecontainercontrol.cxx
@@ -352,7 +352,7 @@ void SAL_CALL BaseContainerControl::removeControl ( const Reference< XControl >
                 // ... free memory
                 delete pControl ;
                 ::std::vector<IMPL_ControlInfo*>::iterator itr = maControlInfoList.begin();
-                advance(itr, n);
+                ::std::advance(itr, n);
                 maControlInfoList.erase(itr);
 
                 // Send message to all other listener


More information about the Libreoffice-commits mailing list