summaryrefslogtreecommitdiff
path: root/sw/source/filter/inc
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2018-02-07 17:54:49 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2018-02-08 09:07:19 +0100
commit303f8e5160ddb39914ba7f669698d5dbe958878a (patch)
tree9fb7eaf336df3434dd7ffe883323b2513edb427e /sw/source/filter/inc
parent89fa5e45c3cc87cba450aff965918bf5af8f2fa9 (diff)
sw HTML import: avoid loading the Writer/Web template for the Writer filter
The share/template/common/internal/html.stw template we have is for Writer/Web, loading that into Writer is questionable at best. Also it means that the outline numbering of the heading styles is not set, which is a problem, as the sw HTML import only sets the style, not the outline numbering. Change-Id: I86d11d8a5744c3c2ca71b03fd41a24d3f88ea333 Reviewed-on: https://gerrit.libreoffice.org/49381 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'sw/source/filter/inc')
-rw-r--r--sw/source/filter/inc/fltini.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/inc/fltini.hxx b/sw/source/filter/inc/fltini.hxx
index 2a6b55fc0724..c20859fa5250 100644
--- a/sw/source/filter/inc/fltini.hxx
+++ b/sw/source/filter/inc/fltini.hxx
@@ -34,7 +34,7 @@ class HTMLReader: public Reader
// we don't want to have the streams/storages open
virtual bool SetStrmStgPtr() override;
virtual ErrCode Read(SwDoc &, const OUString& rBaseURL, SwPaM &, const OUString &) override;
- virtual OUString GetTemplateName() const override;
+ virtual OUString GetTemplateName(SwDoc& rDoc) const override;
public:
HTMLReader();
};