summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2014-08-07 12:30:13 +0200
committerJan Holesovsky <kendy@collabora.com>2014-08-07 15:21:46 +0200
commit00db42fec1056999e8aaa5a5cd671ecb7f89c57a (patch)
treec008c79fd926b958bb85e1473ba6c14e40d0a2f9
parent345a3a394e082595924bf219796627f6c00ae2dd (diff)
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
-rw-r--r--writerfilter/source/dmapper/ThemeTable.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/writerfilter/source/dmapper/ThemeTable.cxx b/writerfilter/source/dmapper/ThemeTable.cxx
index 78171753f843..68efb48c50ee 100644
--- a/writerfilter/source/dmapper/ThemeTable.cxx
+++ b/writerfilter/source/dmapper/ThemeTable.cxx
@@ -112,8 +112,10 @@ void ThemeTable::lcl_sprm(Sprm& rSprm)
dmapper_logger->chars(rSprm.toString());
#endif
- sal_uInt32 nSprmId = rSprm.getId();
+ m_pImpl->m_supplementalFontName = "";
+ m_pImpl->m_supplementalFontId = 0;
+ sal_uInt32 nSprmId = rSprm.getId();
switch(nSprmId)
{
case NS_ooxml::LN_CT_BaseStyles_fontScheme: