Obsolete workaround for SUNPRO 5 compiler
Change-Id: Ib51f08e1d0e0dff066b06ecd85976b777d722a33
diff --git a/vcl/source/window/taskpanelist.cxx b/vcl/source/window/taskpanelist.cxx
index 21b94d2..b5d1738 100644
--- a/vcl/source/window/taskpanelist.cxx
+++ b/vcl/source/window/taskpanelist.cxx
@@ -28,7 +28,8 @@
#include <functional>
#include <algorithm>
// can't have static linkage because SUNPRO 5.2 complains
namespace {
Point ImplTaskPaneListGetPos( const vcl::Window *w )
{
Point pos;
@@ -47,6 +48,8 @@ Point ImplTaskPaneListGetPos( const vcl::Window *w )
return pos;
}
}
// compares window pos left-to-right
struct LTRSort : public ::std::binary_function< const vcl::Window*, const vcl::Window*, bool >
{