[Libreoffice-commits] .: sc/source

Kohei Yoshida kohei at kemper.freedesktop.org
Wed Aug 3 22:00:47 PDT 2011


 sc/source/filter/html/htmlpars.cxx |    2 ++
 sc/source/filter/inc/htmlpars.hxx  |    2 ++
 2 files changed, 4 insertions(+)

New commits:
commit a437ca3c5239cfb2f10c0519e10aba9985c14452
Author: Kohei Yoshida <kohei.yoshida at suse.com>
Date:   Thu Aug 4 01:00:50 2011 -0400

    Perhaps a const member needs an explicit constructor?
    
    Norbert's tinderbox spits warning on this.

diff --git a/sc/source/filter/html/htmlpars.cxx b/sc/source/filter/html/htmlpars.cxx
index 69092bc..9437177 100644
--- a/sc/source/filter/html/htmlpars.cxx
+++ b/sc/source/filter/html/htmlpars.cxx
@@ -73,6 +73,8 @@
 using ::editeng::SvxBorderLine;
 using namespace ::com::sun::star;
 
+ScHTMLStyles::ScHTMLStyles() : maEmpty() {}
+
 void ScHTMLStyles::add(const char* pElemName, size_t nElemName, const char* pClassName, size_t nClassName,
                        const rtl::OUString& aProp, const rtl::OUString& aValue)
 {
diff --git a/sc/source/filter/inc/htmlpars.hxx b/sc/source/filter/inc/htmlpars.hxx
index 23a1ad1..65d0925 100644
--- a/sc/source/filter/inc/htmlpars.hxx
+++ b/sc/source/filter/inc/htmlpars.hxx
@@ -68,6 +68,8 @@ class ScHTMLStyles
     ElemsType maElemProps;           /// element to class to properties (both element and class are given)
     const rtl::OUString maEmpty;     /// just a persistent empty string.
 public:
+    ScHTMLStyles();
+
     void add(const char* pElemName, size_t nElemName, const char* pClassName, size_t nClassName,
              const rtl::OUString& aProp, const rtl::OUString& aValue);
 


More information about the Libreoffice-commits mailing list