summaryrefslogtreecommitdiff
path: root/sw/source/core/inc/frame.hxx
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-10-26 11:39:26 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-10-26 16:49:02 +0100
commit799d158790cfe14edb93c4225a446cd804c82f80 (patch)
treeaa9e6cf4b2606304b2c20bae0e27a4d611195f38 /sw/source/core/inc/frame.hxx
parent6ef775c6c9971e5cab868d7db870afb75eb2a510 (diff)
std::unique_ptr -> std::optional
Change-Id: I48195e5bd61f9b662481da0efc6165ced794600c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104801 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/inc/frame.hxx')
-rw-r--r--sw/source/core/inc/frame.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/core/inc/frame.hxx b/sw/source/core/inc/frame.hxx
index 27622be75dbb..1c099696c504 100644
--- a/sw/source/core/inc/frame.hxx
+++ b/sw/source/core/inc/frame.hxx
@@ -33,6 +33,7 @@
#include <vcl/outdev.hxx>
#include <memory>
+#include <optional>
namespace drawinglayer::processor2d { class BaseProcessor2D; }
@@ -571,7 +572,7 @@ public:
bool GetBackgroundBrush(
drawinglayer::attribute::SdrAllFillAttributesHelperPtr& rFillAttributes,
const SvxBrushItem*& rpBrush,
- const Color*& rpColor,
+ std::optional<Color>& rxColor,
SwRect &rOrigRect,
bool bLowerMode,
bool bConsiderTextBox ) const;