summaryrefslogtreecommitdiff
path: root/reportdesign
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2023-05-22 14:16:01 +0900
committerTomaž Vajngerl <quikee@gmail.com>2023-06-01 17:58:23 +0200
commitf72273402b96ad54e27a73d99d29296efe61b8e3 (patch)
treed90ecee2a1c0a1c0795e3bdcfb24b8bc1b53f630 /reportdesign
parent6550e7e850fa5adf1d8c64338a0817dfb69ba045 (diff)
svx: change NamedColor be a struct instead of std::pair
Change-Id: Ice1625e8cae8da859ea8a940b3f8e40f6f9d7037 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152235 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit 8e87f1f2ff4df763e29bdc097786230c6293744b) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152264 Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/source/ui/dlg/Condition.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/reportdesign/source/ui/dlg/Condition.cxx b/reportdesign/source/ui/dlg/Condition.cxx
index 456a9dfd6a3d..e3a48258637f 100644
--- a/reportdesign/source/ui/dlg/Condition.cxx
+++ b/reportdesign/source/ui/dlg/Condition.cxx
@@ -200,7 +200,7 @@ IMPL_LINK(Condition, OnConditionAction, weld::Button&, rClickedButton, void)
void Condition::ApplyCommand( sal_uInt16 _nCommandId, const NamedColor& rNamedColor )
{
- m_rAction.applyCommand( m_nCondIndex, _nCommandId, rNamedColor.first );
+ m_rAction.applyCommand(m_nCondIndex, _nCommandId, rNamedColor.m_aColor);
}
IMPL_LINK_NOARG( Condition, OnTypeSelected, weld::ComboBox&, void )