summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2023-08-25 10:03:21 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2023-08-25 13:40:37 +0200
commit7d7b2747751c442b7c75680d9960de70037e38d8 (patch)
treea3e491c8043a92f2bcaa68315a7a98dfc04f3b20 /include
parentc46f00166027fa3eefc75f9cb13bf4afc887bf1d (diff)
Use std::optional instead of out arguments
Change-Id: I6dde7d602695d44488f7debf65d8ef278fa8704c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156087 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'include')
-rw-r--r--include/svx/svdetc.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/svdetc.hxx b/include/svx/svdetc.hxx
index 9ae29efb5f06..61c8a34867cf 100644
--- a/include/svx/svdetc.hxx
+++ b/include/svx/svdetc.hxx
@@ -87,7 +87,7 @@ class SfxItemSet;
*
* @returns false for XFILL_NONE and rCol remains unchanged
*/
-SVXCORE_DLLPUBLIC bool GetDraftFillColor(const SfxItemSet& rSet, Color& rCol);
+SVXCORE_DLLPUBLIC std::optional<Color> GetDraftFillColor(const SfxItemSet& rSet);
/**