summaryrefslogtreecommitdiff
path: root/desktop/source/app/cmdlineargs.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/source/app/cmdlineargs.hxx')
-rw-r--r--desktop/source/app/cmdlineargs.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/desktop/source/app/cmdlineargs.hxx b/desktop/source/app/cmdlineargs.hxx
index 6c18bda3572d..577b50e1af3a 100644
--- a/desktop/source/app/cmdlineargs.hxx
+++ b/desktop/source/app/cmdlineargs.hxx
@@ -25,7 +25,7 @@
#include <vector>
#include <rtl/ustring.hxx>
-#include <o3tl/optional.hxx>
+#include <optional>
namespace desktop
{
@@ -46,7 +46,7 @@ class CommandLineArgs
};
virtual ~Supplier();
- virtual o3tl::optional< OUString > getCwdUrl() = 0;
+ virtual std::optional< OUString > getCwdUrl() = 0;
virtual bool next(OUString * argument) = 0;
};
@@ -56,7 +56,7 @@ class CommandLineArgs
CommandLineArgs(const CommandLineArgs&) = delete;
const CommandLineArgs& operator=(const CommandLineArgs&) = delete;
- const o3tl::optional< OUString >& getCwdUrl() const { return m_cwdUrl; }
+ const std::optional< OUString >& getCwdUrl() const { return m_cwdUrl; }
// Access to bool parameters
bool IsMinimized() const { return m_minimized;}
@@ -127,7 +127,7 @@ class CommandLineArgs
void ParseCommandLine_Impl( Supplier& supplier );
void InitParamValues();
- o3tl::optional< OUString > m_cwdUrl;
+ std::optional< OUString > m_cwdUrl;
bool m_minimized;
bool m_invisible;