summaryrefslogtreecommitdiff
path: root/include/comphelper/optional.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/comphelper/optional.hxx')
-rw-r--r--include/comphelper/optional.hxx9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/comphelper/optional.hxx b/include/comphelper/optional.hxx
index 920eeba83ee0..42505e0b8661 100644
--- a/include/comphelper/optional.hxx
+++ b/include/comphelper/optional.hxx
@@ -32,15 +32,6 @@ inline ::boost::optional<T> make_optional( T const& v )
return ::boost::optional<T>(v);
}
-template <typename T>
-inline ::boost::optional<T> make_optional( css::beans::Optional<T> const& o )
-{
- if (o.IsPresent)
- return ::boost::optional<T>(o.Value);
- else
- return ::boost::optional<T>();
-}
-
} // namespace comphelper
#endif // ! defined(INCLUDED_COMPHELPER_OPTIONAL_HXX)