summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorsten Behrens <Thorsten.Behrens@CIB.de>2015-08-17 14:40:17 +0200
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2015-08-17 16:38:30 +0000
commitad1f0d1f1a195a00cf2ec2848745fdc6186bfbb1 (patch)
treecaff9162236ce0271dabf7bbb0c9fbb3673092d6
parent9c4d75bea581266ccfc186da4db2c04901c9f862 (diff)
o3tl: rename compat_functional header
After the cleanup, the stuff there really stands on its own (and the remaining usage of select1st/2nd is more descriptive than lambdas). Change-Id: I0aba131d5dc550189f8130d167dc94167e404540 Reviewed-on: https://gerrit.libreoffice.org/17806 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
-rw-r--r--basctl/inc/pch/precompiled_basctl.hxx2
-rw-r--r--basctl/source/dlged/dlgedobj.cxx2
-rw-r--r--canvas/source/factory/cf_service.cxx2
-rw-r--r--chart2/source/controller/accessibility/AccessibleBase.cxx2
-rw-r--r--chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx2
-rw-r--r--chart2/source/inc/ContainerHelper.hxx2
-rw-r--r--chart2/source/model/template/ChartTypeManager.cxx2
-rw-r--r--connectivity/source/commontools/TSortIndex.cxx2
-rw-r--r--connectivity/source/commontools/TTableHelper.cxx2
-rw-r--r--dbaccess/source/core/dataaccess/documentevents.cxx2
-rw-r--r--dbaccess/source/ui/browser/genericcontroller.cxx2
-rw-r--r--dbaccess/source/ui/dlg/DbAdminImpl.cxx2
-rw-r--r--extensions/source/propctrlr/eformshelper.cxx2
-rw-r--r--extensions/source/propctrlr/eventhandler.cxx2
-rw-r--r--extensions/source/propctrlr/genericpropertyhandler.cxx2
-rw-r--r--forms/inc/pch/precompiled_frm.hxx2
-rw-r--r--forms/source/xforms/convert.cxx2
-rw-r--r--forms/source/xforms/datatyperepository.cxx2
-rw-r--r--include/o3tl/functional.hxx (renamed from include/o3tl/compat_functional.hxx)0
-rw-r--r--o3tl/README7
-rw-r--r--reportdesign/source/ui/inspection/GeometryHandler.cxx2
-rw-r--r--sd/inc/pch/precompiled_sd.hxx2
-rw-r--r--sd/source/ui/tools/PropertySet.cxx1
-rw-r--r--svx/inc/pch/precompiled_svxcore.hxx2
-rw-r--r--svx/source/form/formcontroller.cxx2
25 files changed, 26 insertions, 26 deletions
diff --git a/basctl/inc/pch/precompiled_basctl.hxx b/basctl/inc/pch/precompiled_basctl.hxx
index ec4fc389b80b..0ae4276e9169 100644
--- a/basctl/inc/pch/precompiled_basctl.hxx
+++ b/basctl/inc/pch/precompiled_basctl.hxx
@@ -112,7 +112,7 @@
#include <framework/documentundoguard.hxx>
#include <initializer_list>
#include <map>
-#include <o3tl/compat_functional.hxx>
+#include <o3tl/functional.hxx>
#include <officecfg/Office/Common.hxx>
#include <osl/diagnose.h>
#include <osl/file.hxx>
diff --git a/basctl/source/dlged/dlgedobj.cxx b/basctl/source/dlged/dlgedobj.cxx
index f43879cc469e..9e4ab9b5c00f 100644
--- a/basctl/source/dlged/dlgedobj.cxx
+++ b/basctl/source/dlged/dlgedobj.cxx
@@ -39,7 +39,7 @@
#include <com/sun/star/lang/WrappedTargetRuntimeException.hpp>
#include <com/sun/star/script/XScriptEventsSupplier.hpp>
#include <com/sun/star/table/CellAddress.hpp>
-#include <o3tl/compat_functional.hxx>
+#include <o3tl/functional.hxx>
#include <unotools/sharedunocomponent.hxx>
#include <vcl/svapp.hxx>
diff --git a/canvas/source/factory/cf_service.cxx b/canvas/source/factory/cf_service.cxx
index 9d1d2b290cee..3a8130d4409f 100644
--- a/canvas/source/factory/cf_service.cxx
+++ b/canvas/source/factory/cf_service.cxx
@@ -38,7 +38,7 @@
#include <cppuhelper/supportsservice.hxx>
#include <osl/mutex.hxx>
#include <osl/process.h>
-#include <o3tl/compat_functional.hxx>
+#include <o3tl/functional.hxx>
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
diff --git a/chart2/source/controller/accessibility/AccessibleBase.cxx b/chart2/source/controller/accessibility/AccessibleBase.cxx
index d092640d0ea2..c14f9da137c2 100644
--- a/chart2/source/controller/accessibility/AccessibleBase.cxx
+++ b/chart2/source/controller/accessibility/AccessibleBase.cxx
@@ -48,7 +48,7 @@
#include <vcl/window.hxx>
#include <vcl/graph.hxx>
#include <vcl/settings.hxx>
-#include <o3tl/compat_functional.hxx>
+#include <o3tl/functional.hxx>
#include <algorithm>
diff --git a/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx b/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx
index d89abccf42ae..d356bea89e82 100644
--- a/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx
+++ b/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx
@@ -66,7 +66,7 @@
#include <vector>
#include <algorithm>
#include <functional>
-#include <o3tl/compat_functional.hxx>
+#include <o3tl/functional.hxx>
using namespace ::com::sun::star;
using namespace ::com::sun::star::chart;
diff --git a/chart2/source/inc/ContainerHelper.hxx b/chart2/source/inc/ContainerHelper.hxx
index 7e6f68e8fbb6..4f3232b31dbc 100644
--- a/chart2/source/inc/ContainerHelper.hxx
+++ b/chart2/source/inc/ContainerHelper.hxx
@@ -25,7 +25,7 @@
#include <algorithm>
#include <functional>
-#include <o3tl/compat_functional.hxx>
+#include <o3tl/functional.hxx>
namespace chart
{
diff --git a/chart2/source/model/template/ChartTypeManager.cxx b/chart2/source/model/template/ChartTypeManager.cxx
index 69218d1ef702..f166c6d39f0b 100644
--- a/chart2/source/model/template/ChartTypeManager.cxx
+++ b/chart2/source/model/template/ChartTypeManager.cxx
@@ -45,7 +45,7 @@
#include <algorithm>
#include <iterator>
#include <functional>
-#include <o3tl/compat_functional.hxx>
+#include <o3tl/functional.hxx>
using namespace ::com::sun::star;
diff --git a/connectivity/source/commontools/TSortIndex.cxx b/connectivity/source/commontools/TSortIndex.cxx
index 9e3632df113a..11638feb4905 100644
--- a/connectivity/source/commontools/TSortIndex.cxx
+++ b/connectivity/source/commontools/TSortIndex.cxx
@@ -20,7 +20,7 @@
#include "TSortIndex.hxx"
#include <algorithm>
#include <iterator>
-#include <o3tl/compat_functional.hxx>
+#include <o3tl/functional.hxx>
using namespace connectivity;
diff --git a/connectivity/source/commontools/TTableHelper.cxx b/connectivity/source/commontools/TTableHelper.cxx
index 30c6a1be96e0..fd58514511e3 100644
--- a/connectivity/source/commontools/TTableHelper.cxx
+++ b/connectivity/source/commontools/TTableHelper.cxx
@@ -37,7 +37,7 @@
#include <unotools/sharedunocomponent.hxx>
#include "TConnection.hxx"
-#include <o3tl/compat_functional.hxx>
+#include <o3tl/functional.hxx>
#include <iterator>
#include <set>
diff --git a/dbaccess/source/core/dataaccess/documentevents.cxx b/dbaccess/source/core/dataaccess/documentevents.cxx
index 40c0d18ff07b..c4e947a29be6 100644
--- a/dbaccess/source/core/dataaccess/documentevents.cxx
+++ b/dbaccess/source/core/dataaccess/documentevents.cxx
@@ -26,7 +26,7 @@
#include <algorithm>
#include <functional>
-#include <o3tl/compat_functional.hxx>
+#include <o3tl/functional.hxx>
namespace dbaccess
{
diff --git a/dbaccess/source/ui/browser/genericcontroller.cxx b/dbaccess/source/ui/browser/genericcontroller.cxx
index a290a0b52842..5a9fd7386290 100644
--- a/dbaccess/source/ui/browser/genericcontroller.cxx
+++ b/dbaccess/source/ui/browser/genericcontroller.cxx
@@ -58,7 +58,7 @@
#include <com/sun/star/util/XModifiable.hpp>
#include <rtl/ustring.hxx>
#include <algorithm>
-#include <o3tl/compat_functional.hxx>
+#include <o3tl/functional.hxx>
#include <boost/scoped_ptr.hpp>
#include <cppuhelper/implbase1.hxx>
#include <limits>
diff --git a/dbaccess/source/ui/dlg/DbAdminImpl.cxx b/dbaccess/source/ui/dlg/DbAdminImpl.cxx
index 2fe9262d62fd..f32ae287b909 100644
--- a/dbaccess/source/ui/dlg/DbAdminImpl.cxx
+++ b/dbaccess/source/ui/dlg/DbAdminImpl.cxx
@@ -70,7 +70,7 @@
#include <algorithm>
#include <functional>
-#include <o3tl/compat_functional.hxx>
+#include <o3tl/functional.hxx>
namespace dbaui
{
diff --git a/extensions/source/propctrlr/eformshelper.cxx b/extensions/source/propctrlr/eformshelper.cxx
index a7672886958d..a569055e5494 100644
--- a/extensions/source/propctrlr/eformshelper.cxx
+++ b/extensions/source/propctrlr/eformshelper.cxx
@@ -34,7 +34,7 @@
#include <functional>
#include <algorithm>
-#include <o3tl/compat_functional.hxx>
+#include <o3tl/functional.hxx>
namespace pcr
{
diff --git a/extensions/source/propctrlr/eventhandler.cxx b/extensions/source/propctrlr/eventhandler.cxx
index f030e6437660..19a3f6e08a7d 100644
--- a/extensions/source/propctrlr/eventhandler.cxx
+++ b/extensions/source/propctrlr/eventhandler.cxx
@@ -68,7 +68,7 @@
#include <map>
#include <algorithm>
-#include <o3tl/compat_functional.hxx>
+#include <o3tl/functional.hxx>
extern "C" void SAL_CALL createRegistryInfo_EventHandler()
{
diff --git a/extensions/source/propctrlr/genericpropertyhandler.cxx b/extensions/source/propctrlr/genericpropertyhandler.cxx
index de94363d82d7..7cee5059bb02 100644
--- a/extensions/source/propctrlr/genericpropertyhandler.cxx
+++ b/extensions/source/propctrlr/genericpropertyhandler.cxx
@@ -41,7 +41,7 @@
#include <tools/debug.hxx>
#include <algorithm>
-#include <o3tl/compat_functional.hxx>
+#include <o3tl/functional.hxx>
extern "C" void SAL_CALL createRegistryInfo_GenericPropertyHandler()
{
diff --git a/forms/inc/pch/precompiled_frm.hxx b/forms/inc/pch/precompiled_frm.hxx
index 829ed3b3568d..f73772cf92ab 100644
--- a/forms/inc/pch/precompiled_frm.hxx
+++ b/forms/inc/pch/precompiled_frm.hxx
@@ -282,7 +282,7 @@
#include <limits>
#include <list>
#include <memory>
-#include <o3tl/compat_functional.hxx>
+#include <o3tl/functional.hxx>
#include <ooo/vba/XVBAToOOEventDescGen.hpp>
#include <osl/diagnose.h>
#include <osl/file.hxx>
diff --git a/forms/source/xforms/convert.cxx b/forms/source/xforms/convert.cxx
index 1933daf7ae6f..0ca3e8089c8f 100644
--- a/forms/source/xforms/convert.cxx
+++ b/forms/source/xforms/convert.cxx
@@ -23,7 +23,7 @@
#include "unohelper.hxx"
#include <algorithm>
#include <functional>
-#include <o3tl/compat_functional.hxx>
+#include <o3tl/functional.hxx>
#include <rtl/math.hxx>
#include <rtl/ustrbuf.hxx>
#include <osl/diagnose.h>
diff --git a/forms/source/xforms/datatyperepository.cxx b/forms/source/xforms/datatyperepository.cxx
index 8bb012318d13..f2f4ed4c7317 100644
--- a/forms/source/xforms/datatyperepository.cxx
+++ b/forms/source/xforms/datatyperepository.cxx
@@ -29,7 +29,7 @@
#include <functional>
#include <algorithm>
-#include <o3tl/compat_functional.hxx>
+#include <o3tl/functional.hxx>
namespace xforms
{
diff --git a/include/o3tl/compat_functional.hxx b/include/o3tl/functional.hxx
index b1341e2112b7..b1341e2112b7 100644
--- a/include/o3tl/compat_functional.hxx
+++ b/include/o3tl/functional.hxx
diff --git a/o3tl/README b/o3tl/README
index 9a222f59be86..7900e70171d0 100644
--- a/o3tl/README
+++ b/o3tl/README
@@ -24,6 +24,7 @@ Represents a range of integer or iterator values.
[git:o3tl/inc/o3tl/vector_pool.hxx]
Simple vector-based memory pool allocator.
-[git:o3tl/inc/o3tl/compat_functional.hxx]
-Some more templates. Contains also templates from STLport's functional header that are not part of the
-C++ standard (STLport has been replaced by direct use of the C++ STL in LibreOffice).
+[git:o3tl/inc/o3tl/functional.hxx]
+Some more templates, leftovers in spirit of STLport's old functional
+header that are not part of the C++ standard (STLport has been
+replaced by direct use of the C++ STL in LibreOffice).
diff --git a/reportdesign/source/ui/inspection/GeometryHandler.cxx b/reportdesign/source/ui/inspection/GeometryHandler.cxx
index 1a5bcf3f4413..064248c1f122 100644
--- a/reportdesign/source/ui/inspection/GeometryHandler.cxx
+++ b/reportdesign/source/ui/inspection/GeometryHandler.cxx
@@ -103,7 +103,7 @@
#include "dlgpage.hxx"
#include "helpids.hrc"
#include <toolkit/helper/convert.hxx>
-#include <o3tl/compat_functional.hxx>
+#include <o3tl/functional.hxx>
#define DATA_OR_FORMULA 0
#define FUNCTION 1
diff --git a/sd/inc/pch/precompiled_sd.hxx b/sd/inc/pch/precompiled_sd.hxx
index 62ab27d403cc..ea9a234dff99 100644
--- a/sd/inc/pch/precompiled_sd.hxx
+++ b/sd/inc/pch/precompiled_sd.hxx
@@ -472,7 +472,7 @@
#include <memory>
#include <new>
#include <numeric>
-#include <o3tl/compat_functional.hxx>
+#include <o3tl/functional.hxx>
#include <officecfg/Office/Common.hxx>
#include <officecfg/Office/Impress.hxx>
#include <osl/diagnose.h>
diff --git a/sd/source/ui/tools/PropertySet.cxx b/sd/source/ui/tools/PropertySet.cxx
index dd1e6503446d..0640b03561af 100644
--- a/sd/source/ui/tools/PropertySet.cxx
+++ b/sd/source/ui/tools/PropertySet.cxx
@@ -19,7 +19,6 @@
#include "tools/PropertySet.hxx"
#include <algorithm>
-#include <o3tl/compat_functional.hxx>
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
diff --git a/svx/inc/pch/precompiled_svxcore.hxx b/svx/inc/pch/precompiled_svxcore.hxx
index 88b47f3e4210..febf7c081689 100644
--- a/svx/inc/pch/precompiled_svxcore.hxx
+++ b/svx/inc/pch/precompiled_svxcore.hxx
@@ -610,7 +610,7 @@
#include <map>
#include <math.h>
#include <memory>
-#include <o3tl/compat_functional.hxx>
+#include <o3tl/functional.hxx>
#include <o3tl/numeric.hxx>
#include <osl/diagnose.h>
#include <osl/endian.h>
diff --git a/svx/source/form/formcontroller.cxx b/svx/source/form/formcontroller.cxx
index c90760180efe..683ad82edb3d 100644
--- a/svx/source/form/formcontroller.cxx
+++ b/svx/source/form/formcontroller.cxx
@@ -89,7 +89,7 @@
#include <algorithm>
-#include <o3tl/compat_functional.hxx>
+#include <o3tl/functional.hxx>
using namespace ::com::sun::star;
using namespace ::comphelper;