summaryrefslogtreecommitdiff
path: root/slideshow/source/inc/tools.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow/source/inc/tools.hxx')
-rw-r--r--slideshow/source/inc/tools.hxx14
1 files changed, 0 insertions, 14 deletions
diff --git a/slideshow/source/inc/tools.hxx b/slideshow/source/inc/tools.hxx
index 039db8339d58..d1165a6754b2 100644
--- a/slideshow/source/inc/tools.hxx
+++ b/slideshow/source/inc/tools.hxx
@@ -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,