summaryrefslogtreecommitdiff
path: root/include/svtools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-06-06 11:37:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-06-06 17:35:10 +0200
commitd7d8c688d7c20ecb49ff5b3577bee3d55b806d3c (patch)
tree5ca40b2ddca96470d2a5e267eab7fb48931ab3b4 /include/svtools
parentbda52485d63e4cfc58453d9f46bf26c3ea078ed7 (diff)
convert ColorConfig to officecfg where possible
Change-Id: I14f0ada21d328b3b6637709e403bfe973a7035b0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152670 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svtools')
-rw-r--r--include/svtools/colorcfg.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/svtools/colorcfg.hxx b/include/svtools/colorcfg.hxx
index 97193f4e77ef..de16f18eab13 100644
--- a/include/svtools/colorcfg.hxx
+++ b/include/svtools/colorcfg.hxx
@@ -98,7 +98,7 @@ struct ColorConfigValue
{ return nColor != rCmp.nColor || bIsVisible != rCmp.bIsVisible;}
};
-class SVT_DLLPUBLIC ColorConfig final :
+class SAL_WARN_UNUSED SVT_DLLPUBLIC ColorConfig final :
public utl::detail::Options
{
friend class ColorConfig_Impl;
@@ -112,7 +112,7 @@ public:
// instead of the automatic color
ColorConfigValue GetColorValue(ColorConfigEntry eEntry, bool bSmart = true) const;
static Color GetDefaultColor(ColorConfigEntry eEntry);
- const OUString& GetCurrentSchemeName() const;
+ static const OUString& GetCurrentSchemeName();
};
class SVT_DLLPUBLIC EditableColorConfig