Kaydet (Commit) 8e12e330 authored tarafından Eike Rathke's avatar Eike Rathke

Resolves: tdf#123122 category is just one bit, date+time is two bits set

DATE|TIME != DATE ...

Regression from

    commit e8596645
    CommitDate: Wed Oct 3 12:08:55 2018 +0200

        Related: tdf#119613 tdf#118127 suppress duplicated builtins, rework All cat

Change-Id: If500dbeae00805f04f61586730479901b27d3901
Reviewed-on: https://gerrit.libreoffice.org/67554Reviewed-by: 's avatarEike Rathke <erack@redhat.com>
Tested-by: Jenkins
üst f42554a1
...@@ -1035,7 +1035,7 @@ short SvxNumberFormatShell::FillEListWithUsD_Impl(std::vector<OUString>& rList, ...@@ -1035,7 +1035,7 @@ short SvxNumberFormatShell::FillEListWithUsD_Impl(std::vector<OUString>& rList,
{ {
const SvNumberformat* pNumEntry = rEntry.second; const SvNumberformat* pNumEntry = rEntry.second;
if (bCategoryMatch && pNumEntry->GetMaskedType() != eCategory) if (bCategoryMatch && (pNumEntry->GetMaskedType() & eCategory) != eCategory)
continue; // for; type does not match category if not ALL continue; // for; type does not match category if not ALL
const bool bUserDefined = bool(pNumEntry->GetType() & SvNumFormatType::DEFINED); const bool bUserDefined = bool(pNumEntry->GetType() & SvNumFormatType::DEFINED);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment