summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2023-05-12 21:10:50 +0100
committerCaolán McNamara <caolanm@redhat.com>2023-05-13 11:38:35 +0200
commit2ac8bf040be16eea79b1386a9466a058deee330f (patch)
tree30e10c430a7c3dd7782769fd7c79610acf015779 /sc/source
parentfb41d0d2969726a00bcb5ac381ca77f4cb7230bd (diff)
cid#1529965 Uninitialized scalar variable
Change-Id: I8a4ca8ad47086d19b6714d9846775afd5e81fda8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151713 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/core/data/sortparam.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/core/data/sortparam.cxx b/sc/source/core/data/sortparam.cxx
index 66b8c4f33db6..3e1506dbad7c 100644
--- a/sc/source/core/data/sortparam.cxx
+++ b/sc/source/core/data/sortparam.cxx
@@ -198,6 +198,7 @@ ScSortParam::ScSortParam( const ScSubTotalParam& rSub, const ScSortParam& rOld )
key.bDoSort = true;
key.nField = nThisField;
key.bAscending = rOld.maKeyState[i].bAscending;
+ key.aColorSortMode = ScColorSortMode::None;
maKeyState.push_back(key);
}
}