svtools/source/config/colorcfg.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit c612aa8fcb7c64884b369a4c72cd56ac10c40dc6
Author:     Sahil Gautam <sahil.gautam.ext...@allotropia.de>
AuthorDate: Fri Jan 10 09:51:58 2025 +0100
Commit:     Sahil Gautam <sahil.gautam.ext...@allotropia.de>
CommitDate: Tue Jan 14 16:56:53 2025 +0100

    Revert "remove unused #include from svtools"
    
    This reverts commit 8fb8e2fb5fc6f8059b56ef98450dff01940023c7.
    
    Reason for revert: <string_view> is used quite often in colorcfg, removing 
it just because it's indirectly used might cause some issues down the road like 
what if the file which indirectly included it removes it?
    
    Change-Id: Ibb01144a3473fa422745bf61591a9ce51268a6c7
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/180064
    Tested-by: Jenkins
    Reviewed-by: Sahil Gautam <sahil.gautam.ext...@allotropia.de>

diff --git a/svtools/source/config/colorcfg.cxx 
b/svtools/source/config/colorcfg.cxx
index 02e65ad228ee..2ec5abf16d28 100644
--- a/svtools/source/config/colorcfg.cxx
+++ b/svtools/source/config/colorcfg.cxx
@@ -19,6 +19,8 @@
 
 #include <sal/config.h>
 
+#include <string_view>
+
 #include <svtools/colorcfg.hxx>
 #include <com/sun/star/uno/Any.hxx>
 #include <com/sun/star/uno/Sequence.hxx>

Reply via email to