cid#1502851 Uninitialized scalar variable

Change-Id: I5d44106e1865c5c498d280d29f5f58115b4588a9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130986
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
Caolán McNamara 2022-03-04 13:43:40 +00:00
parent e403e4c0d4
commit 0d9f46a1f4

View file

@ -157,6 +157,8 @@ void FilterConfigCache::ImplInit()
aEntry.nFlags = 1; aEntry.nFlags = 1;
else if (lFlags[0].equalsIgnoreAsciiCase("export")) else if (lFlags[0].equalsIgnoreAsciiCase("export"))
aEntry.nFlags = 2; aEntry.nFlags = 2;
else
aEntry.nFlags = 0;
OUString sFormatName; OUString sFormatName;
xFilterSet->getPropertyValue(SFORMATNAME) >>= sFormatName; xFilterSet->getPropertyValue(SFORMATNAME) >>= sFormatName;
@ -258,7 +260,7 @@ void FilterConfigCache::ImplInitSmart()
} }
} }
FilterConfigCache::FilterConfigCache( bool bConfig ) FilterConfigCache::FilterConfigCache(bool bConfig)
{ {
if (bConfig) if (bConfig)
bConfig = !utl::ConfigManager::IsFuzzing(); bConfig = !utl::ConfigManager::IsFuzzing();