Kaydet (Commit) 00db42fe authored tarafından Jan Holesovsky's avatar Jan Holesovsky

writerfilter: This depended on the order of attributes.

This code actually worked by mistake, thanks to the wrong ordering of
attributes that was caused by the usage of the boost::unordered_map.

Change-Id: I72cc5b54496b03183987d4d004f985d368e63deb
üst 345a3a39
...@@ -112,8 +112,10 @@ void ThemeTable::lcl_sprm(Sprm& rSprm) ...@@ -112,8 +112,10 @@ void ThemeTable::lcl_sprm(Sprm& rSprm)
dmapper_logger->chars(rSprm.toString()); dmapper_logger->chars(rSprm.toString());
#endif #endif
sal_uInt32 nSprmId = rSprm.getId(); m_pImpl->m_supplementalFontName = "";
m_pImpl->m_supplementalFontId = 0;
sal_uInt32 nSprmId = rSprm.getId();
switch(nSprmId) switch(nSprmId)
{ {
case NS_ooxml::LN_CT_BaseStyles_fontScheme: case NS_ooxml::LN_CT_BaseStyles_fontScheme:
......
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