[Libreoffice-commits] core.git: writerfilter/source

Jacobo Aragunde Pérez jaragunde at igalia.com
Wed Dec 11 09:43:23 PST 2013


 writerfilter/source/dmapper/ThemeTable.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 7ab65f71c3f986d46914dd1c4c3790ccdb07bb10
Author: Jacobo Aragunde Pérez <jaragunde at igalia.com>
Date:   Wed Dec 11 18:41:56 2013 +0100

    Fix member initialization to comply with ISO C++
    
    Change-Id: Id7ec3a3fe546bbd68f74c732c9708a61d400e946

diff --git a/writerfilter/source/dmapper/ThemeTable.cxx b/writerfilter/source/dmapper/ThemeTable.cxx
index 6d623e0..ff39b6b 100644
--- a/writerfilter/source/dmapper/ThemeTable.cxx
+++ b/writerfilter/source/dmapper/ThemeTable.cxx
@@ -34,12 +34,13 @@ struct ThemeTable_Impl
 {
     ThemeTable_Impl() :
         m_currentThemeFontId(0),
+        m_supplementalFontId(0),
         m_currentFontThemeEntry() {}
     std::map<sal_uInt32, std::map<sal_uInt32, OUString> > m_themeFontMap;
     sal_uInt32 m_currentThemeFontId;
     std::map<sal_uInt32, OUString> m_currentFontThemeEntry;
     OUString m_supplementalFontName;
-    sal_uInt32 m_supplementalFontId = 0;
+    sal_uInt32 m_supplementalFontId;
     OUString m_themeFontLangEastAsia;
     OUString m_themeFontLangBidi;
 };


More information about the Libreoffice-commits mailing list