diff options
Diffstat (limited to 'vcl/unx/generic/window/screensaverinhibitor.cxx')
-rw-r--r-- | vcl/unx/generic/window/screensaverinhibitor.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/unx/generic/window/screensaverinhibitor.cxx b/vcl/unx/generic/window/screensaverinhibitor.cxx index 87dd4ab3df7f..8c84a3ae5345 100644 --- a/vcl/unx/generic/window/screensaverinhibitor.cxx +++ b/vcl/unx/generic/window/screensaverinhibitor.cxx @@ -47,7 +47,7 @@ #include <sal/log.hxx> void ScreenSaverInhibitor::inhibit( bool bInhibit, const OUString& sReason, - bool bIsX11, const boost::optional<unsigned int>& xid, boost::optional<Display*> pDisplay ) + bool bIsX11, const o3tl::optional<unsigned int>& xid, o3tl::optional<Display*> pDisplay ) { const char* appname = SalGenericSystem::getFrameClassName(); const OString aReason = OUStringToOString( sReason, RTL_TEXTENCODING_UTF8 ); @@ -77,7 +77,7 @@ static void dbusInhibit( bool bInhibit, const gchar* service, const gchar* path, const gchar* interface, const std::function<GVariant*( GDBusProxy*, GError*& )>& fInhibit, const std::function<GVariant*( GDBusProxy*, const guint, GError*& )>& fUnInhibit, - boost::optional<guint>& rCookie ) + o3tl::optional<guint>& rCookie ) { if ( ( !bInhibit && !rCookie ) || ( bInhibit && rCookie ) ) |