diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-15 12:03:06 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-20 07:49:10 +0200 |
commit | 42ab759336cd4a4cbcc5be66de33d05b7fc46be4 (patch) | |
tree | 286485dfc7a9fdcfee65c2ff1682fe107ea682cc /writerfilter/source/dmapper/FontTable.cxx | |
parent | 13ab6b5c16f8b1504cc7c36a8e1213950a51eefa (diff) |
loplugin:unusedfields in writerfilter
Change-Id: I2f74dee5c05420275aae57485b8d81f60fff2d5d
Reviewed-on: https://gerrit.libreoffice.org/38823
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'writerfilter/source/dmapper/FontTable.cxx')
-rw-r--r-- | writerfilter/source/dmapper/FontTable.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/writerfilter/source/dmapper/FontTable.cxx b/writerfilter/source/dmapper/FontTable.cxx index 452dd95211db..f2ddedcf22c9 100644 --- a/writerfilter/source/dmapper/FontTable.cxx +++ b/writerfilter/source/dmapper/FontTable.cxx @@ -62,11 +62,11 @@ void FontTable::lcl_attribute(Id Name, Value & val) { case NS_ooxml::LN_CT_Pitch_val: if (static_cast<Id>(nIntValue) == NS_ooxml::LN_Value_ST_Pitch_fixed) - m_pImpl->pCurrentEntry->nPitchRequest = awt::FontPitch::FIXED; + ; else if (static_cast<Id>(nIntValue) == NS_ooxml::LN_Value_ST_Pitch_variable) - m_pImpl->pCurrentEntry->nPitchRequest = awt::FontPitch::VARIABLE; + ; else if (static_cast<Id>(nIntValue) == NS_ooxml::LN_Value_ST_Pitch_default) - m_pImpl->pCurrentEntry->nPitchRequest = awt::FontPitch::DONTKNOW; + ; else SAL_WARN("writerfilter.dmapper", "FontTable::lcl_attribute: unhandled NS_ooxml::CT_Pitch_val: " << nIntValue); break; |