summaryrefslogtreecommitdiff
path: root/basegfx/source/tools/keystoplerp.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-01-11 15:26:59 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-01-11 20:25:08 +0100
commit27cd397b1a1a8a39843c093eff68c5ea6cb249e7 (patch)
treeecf63804421b12987ae070a24a6ed967f29de1d8 /basegfx/source/tools/keystoplerp.cxx
parent5b19be032c51e0f7489b29c2c98e484587ed0865 (diff)
Drop o3tl/clamp.hxx, use C++17 std::clamp instead
Change-Id: I5043c787dcc3b78bc7fdff130564801194e39f46 Reviewed-on: https://gerrit.libreoffice.org/66177 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'basegfx/source/tools/keystoplerp.cxx')
-rw-r--r--basegfx/source/tools/keystoplerp.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/basegfx/source/tools/keystoplerp.cxx b/basegfx/source/tools/keystoplerp.cxx
index 8e9941519e44..0d7ac7537be6 100644
--- a/basegfx/source/tools/keystoplerp.cxx
+++ b/basegfx/source/tools/keystoplerp.cxx
@@ -19,7 +19,6 @@
#include <basegfx/utils/keystoplerp.hxx>
#include <com/sun/star/uno/Sequence.hxx>
-#include <o3tl/clamp.hxx>
#include <osl/diagnose.h>
#include <algorithm>
@@ -87,7 +86,7 @@ namespace basegfx
// everything)
return ResultType(
mnLastIndex,
- o3tl::clamp(fRawLerp,0.0,1.0));
+ std::clamp(fRawLerp,0.0,1.0));
}
}
}