summaryrefslogtreecommitdiff
path: root/reportdesign/source/ui
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2023-05-22 14:35:19 +0900
committerTomaž Vajngerl <quikee@gmail.com>2023-05-25 03:59:01 +0200
commit9a4b768b0a22bd3ae627c7355bbd223b9cf65015 (patch)
tree673c3cc38b8ffcb8c9b321cba8579e343a61e137 /reportdesign/source/ui
parent8e87f1f2ff4df763e29bdc097786230c6293744b (diff)
svx: combine svx::NamedThemedColor into NamedColor
Change-Id: I9a9656ddce9c12564411cfcb3e8e8714ae74a418 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152236 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'reportdesign/source/ui')
-rw-r--r--reportdesign/source/ui/dlg/Condition.cxx4
-rw-r--r--reportdesign/source/ui/dlg/Condition.hxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/reportdesign/source/ui/dlg/Condition.cxx b/reportdesign/source/ui/dlg/Condition.cxx
index 9c78e3df79a0..c442e4ccfcd5 100644
--- a/reportdesign/source/ui/dlg/Condition.cxx
+++ b/reportdesign/source/ui/dlg/Condition.cxx
@@ -74,9 +74,9 @@ ConditionColorWrapper::ConditionColorWrapper(Condition* pControl, sal_uInt16 nSl
}
void ConditionColorWrapper::operator()(
- [[maybe_unused]] const OUString& /*rCommand*/, const svx::NamedThemedColor& rNamedColor)
+ [[maybe_unused]] const OUString& /*rCommand*/, const NamedColor& rNamedColor)
{
- mpControl->ApplyCommand(mnSlotId, rNamedColor.ToNamedColor());
+ mpControl->ApplyCommand(mnSlotId, rNamedColor);
}
// = Condition
diff --git a/reportdesign/source/ui/dlg/Condition.hxx b/reportdesign/source/ui/dlg/Condition.hxx
index 91bb52e5a231..a5e02d09bd6e 100644
--- a/reportdesign/source/ui/dlg/Condition.hxx
+++ b/reportdesign/source/ui/dlg/Condition.hxx
@@ -58,7 +58,7 @@ namespace rptui
{
public:
ConditionColorWrapper(Condition* pControl, sal_uInt16 nSlotId);
- void operator()(const OUString& rCommand, const svx::NamedThemedColor& rColor);
+ void operator()(const OUString& rCommand, const NamedColor& rColor);
// ColorSelectFunction signature
private:
Condition* mpControl;