summaryrefslogtreecommitdiff
path: root/include/vcl/treelistentry.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/vcl/treelistentry.hxx')
-rw-r--r--include/vcl/treelistentry.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/vcl/treelistentry.hxx b/include/vcl/treelistentry.hxx
index deb733b7bf9a..456a99c3fd67 100644
--- a/include/vcl/treelistentry.hxx
+++ b/include/vcl/treelistentry.hxx
@@ -27,7 +27,7 @@
#include <vcl/treelistentries.hxx>
#include <o3tl/typed_flags_set.hxx>
-#include <o3tl/optional.hxx>
+#include <optional>
#include <vector>
#include <memory>
@@ -64,7 +64,7 @@ class VCL_DLLPUBLIC SvTreeListEntry
void* pUserData;
SvTLEntryFlags nEntryFlags;
Color maBackColor;
- o3tl::optional<Color> mxTextColor;
+ std::optional<Color> mxTextColor;
private:
void ClearChildren();
@@ -112,8 +112,8 @@ public:
void SetBackColor( const Color& rColor ) { maBackColor = rColor; }
const Color& GetBackColor() const { return maBackColor; }
- void SetTextColor( o3tl::optional<Color> xColor ) { mxTextColor = xColor; }
- o3tl::optional<Color> const & GetTextColor() const { return mxTextColor; }
+ void SetTextColor( std::optional<Color> xColor ) { mxTextColor = xColor; }
+ std::optional<Color> const & GetTextColor() const { return mxTextColor; }
SvTreeListEntry* GetParent() const { return pParent; }