Author: hdu
Date: Fri May 17 09:19:07 2013
New Revision: 1483710

URL: http://svn.apache.org/r1483710
Log:
#i122208# include <algorithm> explicitly if needed

most STL's include relevant parts of it indirectly, but at
one should not depend on it (seen with MSVC's tr1 headers)

Modified:
    openoffice/branches/rejuvenate01/main/chart2/source/tools/InternalData.cxx
    
openoffice/branches/rejuvenate01/main/comphelper/source/misc/numberedcollection.cxx
    
openoffice/branches/rejuvenate01/main/connectivity/source/commontools/TSkipDeletedSet.cxx
    
openoffice/branches/rejuvenate01/main/connectivity/source/drivers/ado/AColumns.cxx
    openoffice/branches/rejuvenate01/main/sal/osl/all/debugbase.cxx

Modified: 
openoffice/branches/rejuvenate01/main/chart2/source/tools/InternalData.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/branches/rejuvenate01/main/chart2/source/tools/InternalData.cxx?rev=1483710&r1=1483709&r2=1483710&view=diff
==============================================================================
--- openoffice/branches/rejuvenate01/main/chart2/source/tools/InternalData.cxx 
(original)
+++ openoffice/branches/rejuvenate01/main/chart2/source/tools/InternalData.cxx 
Fri May 17 09:19:07 2013
@@ -30,6 +30,7 @@
 #include "macros.hxx"
 
 #include <rtl/math.hxx>
+#include <algorithm>
 
 using ::com::sun::star::uno::Sequence;
 using ::rtl::OUString;

Modified: 
openoffice/branches/rejuvenate01/main/comphelper/source/misc/numberedcollection.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/branches/rejuvenate01/main/comphelper/source/misc/numberedcollection.cxx?rev=1483710&r1=1483709&r2=1483710&view=diff
==============================================================================
--- 
openoffice/branches/rejuvenate01/main/comphelper/source/misc/numberedcollection.cxx
 (original)
+++ 
openoffice/branches/rejuvenate01/main/comphelper/source/misc/numberedcollection.cxx
 Fri May 17 09:19:07 2013
@@ -30,6 +30,7 @@
 // includes
 
 #include <com/sun/star/frame/UntitledNumbersConst.hpp>
+#include <algorithm>
 
 //_______________________________________________
 // namespace

Modified: 
openoffice/branches/rejuvenate01/main/connectivity/source/commontools/TSkipDeletedSet.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/branches/rejuvenate01/main/connectivity/source/commontools/TSkipDeletedSet.cxx?rev=1483710&r1=1483709&r2=1483710&view=diff
==============================================================================
--- 
openoffice/branches/rejuvenate01/main/connectivity/source/commontools/TSkipDeletedSet.cxx
 (original)
+++ 
openoffice/branches/rejuvenate01/main/connectivity/source/commontools/TSkipDeletedSet.cxx
 Fri May 17 09:19:07 2013
@@ -26,6 +26,7 @@
 #include "TSkipDeletedSet.hxx"
 #include <osl/diagnose.h>
 #include <rtl/logfile.hxx>
+#include <algorithm>
 
 using namespace connectivity;
 // 
-----------------------------------------------------------------------------

Modified: 
openoffice/branches/rejuvenate01/main/connectivity/source/drivers/ado/AColumns.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/branches/rejuvenate01/main/connectivity/source/drivers/ado/AColumns.cxx?rev=1483710&r1=1483709&r2=1483710&view=diff
==============================================================================
--- 
openoffice/branches/rejuvenate01/main/connectivity/source/drivers/ado/AColumns.cxx
 (original)
+++ 
openoffice/branches/rejuvenate01/main/connectivity/source/drivers/ado/AColumns.cxx
 Fri May 17 09:19:07 2013
@@ -34,9 +34,7 @@
 #include <comphelper/property.hxx>
 #include <comphelper/types.hxx>
 #include <connectivity/dbexception.hxx>
-#ifdef __MINGW32__
 #include <algorithm>
-#endif
 #include "resource/ado_res.hrc"
 
 using namespace connectivity::ado;

Modified: openoffice/branches/rejuvenate01/main/sal/osl/all/debugbase.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/branches/rejuvenate01/main/sal/osl/all/debugbase.cxx?rev=1483710&r1=1483709&r2=1483710&view=diff
==============================================================================
--- openoffice/branches/rejuvenate01/main/sal/osl/all/debugbase.cxx (original)
+++ openoffice/branches/rejuvenate01/main/sal/osl/all/debugbase.cxx Fri May 17 
09:19:07 2013
@@ -31,6 +31,7 @@
 #include "osl/diagnose.hxx"
 #include "boost/bind.hpp"
 #include <vector>
+#include <algorithm>
 
 // define own ones, independent of OSL_DEBUG_LEVEL:
 #define DEBUGBASE_ENSURE_(c, f, l, m) \


Reply via email to