summaryrefslogtreecommitdiff
path: root/connectivity/source/sdbcx/VDescriptor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/sdbcx/VDescriptor.cxx')
-rw-r--r--connectivity/source/sdbcx/VDescriptor.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/connectivity/source/sdbcx/VDescriptor.cxx b/connectivity/source/sdbcx/VDescriptor.cxx
index fa0bb3fe2459..5c9c899f7991 100644
--- a/connectivity/source/sdbcx/VDescriptor.cxx
+++ b/connectivity/source/sdbcx/VDescriptor.cxx
@@ -20,7 +20,6 @@
#include <connectivity/sdbcx/VDescriptor.hxx>
#include <cppuhelper/queryinterface.hxx>
-#include <functional>
#include <algorithm>
#include <string.h>
@@ -64,14 +63,14 @@ namespace connectivity
namespace
{
- struct ResetROAttribute : public std::unary_function< Property, void >
+ struct ResetROAttribute
{
void operator ()( Property& _rProperty ) const
{
_rProperty.Attributes &= ~PropertyAttribute::READONLY;
}
};
- struct SetROAttribute : public std::unary_function< Property, void >
+ struct SetROAttribute
{
void operator ()( Property& _rProperty ) const
{