summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2011-08-04 01:00:50 -0400
committerKohei Yoshida <kohei.yoshida@suse.com>2011-08-04 01:00:50 -0400
commita437ca3c5239cfb2f10c0519e10aba9985c14452 (patch)
tree33efc88b49ea0572328d1b4c6c99db94e6ba69f4
parent0716d1891116a8de8d13ea9416464f4b23a57585 (diff)
Perhaps a const member needs an explicit constructor?
Norbert's tinderbox spits warning on this.
-rw-r--r--sc/source/filter/html/htmlpars.cxx2
-rw-r--r--sc/source/filter/inc/htmlpars.hxx2
2 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/filter/html/htmlpars.cxx b/sc/source/filter/html/htmlpars.cxx
index 69092bc6d..943717792 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 23a1ad1ba..65d092531 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);