Kaydet (Commit) 6574aa57 authored tarafından Michael Stahl's avatar Michael Stahl

remove SunStudio hacks

There is no "SOLARIS compiler".

Change-Id: Idcfaee36307b1a4112f7fd6702c5f0e528f812c8
üst 0cee740c
......@@ -292,20 +292,6 @@ namespace slideshow
return comphelper::rng::uniform_size_distribution(0, n-1);
}
/// To work around ternary operator in initializer lists
/// (Solaris compiler problems)
#ifdef __sun
template <typename T>
inline T const & ternary_op(
const bool cond, T const & arg1, T const & arg2 )
{
if (cond)
return arg1;
else
return arg2;
}
#endif
template <typename ValueType>
inline bool getPropertyValue(
ValueType & rValue,
......
......@@ -19,8 +19,6 @@
#include "eventhandler.hxx"
// for SOLARIS compiler include of algorithm part of _STL is necessary to
// get access to basic algos like ::std::find
#include <algorithm>
#include <tools/debug.hxx>
......
......@@ -24,8 +24,6 @@
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <tools/gen.hxx>
// for SOLARIS compiler include of algorithm part of _STL is necessary to
// get access to basic algos like ::std::find
#include <algorithm>
#include <drawinglayer/processor2d/hittestprocessor2d.hxx>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment