Kaydet (Commit) 1e66a07e authored tarafından Eike Rathke's avatar Eike Rathke Kaydeden (comit) Xisco Faulí

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
(cherry picked from commit 8e12e330)
Reviewed-on: https://gerrit.libreoffice.org/67575Reviewed-by: 's avatarXisco Faulí <xiscofauli@libreoffice.org>
üst 16b8cb5e
...@@ -1037,7 +1037,7 @@ short SvxNumberFormatShell::FillEListWithUsD_Impl(std::vector<OUString>& rList, ...@@ -1037,7 +1037,7 @@ short SvxNumberFormatShell::FillEListWithUsD_Impl(std::vector<OUString>& rList,
{ {
const SvNumberformat* pNumEntry = it->second; const SvNumberformat* pNumEntry = it->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