summaryrefslogtreecommitdiff
path: root/sc/source
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
commit7d7c580e4c863e9356b83606d148a8b27da1c167 (patch)
tree2f86d91c8021ce59e68f262983d66c97a3398a49 /sc/source
parentef1744165acc42e8a955cd291171ff9f7197edf0 (diff)
Perhaps a const member needs an explicit constructor?
Norbert's tinderbox spits warning on this.
Diffstat (limited to 'sc/source')
-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 69092bc6d8c7..943717792143 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 c5c8ff86ef5e..36245d03e923 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);