diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-29 17:12:14 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-30 08:33:19 +0100 |
commit | 5adc833f960d57719d8784dfd53e6070b26bf034 (patch) | |
tree | 9c76352fa9e9021814bade95a2a4e0f080c2f9d2 /sfx2 | |
parent | fa79e8df02a082cd4967bf7a1c61aa925dc7b101 (diff) |
SfxFrameHTMLParser does not need to extend SfxHTMLParser
since it's constructor is deleted, it is just a standalone function
Change-Id: Ic872ecc6fa360b109224f4d80be64e30a48d84a3
Reviewed-on: https://gerrit.libreoffice.org/81725
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/bastyp/frmhtml.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sfx2/source/bastyp/frmhtml.cxx b/sfx2/source/bastyp/frmhtml.cxx index 5ff72824c7a8..c1641582934f 100644 --- a/sfx2/source/bastyp/frmhtml.cxx +++ b/sfx2/source/bastyp/frmhtml.cxx @@ -42,7 +42,9 @@ static HTMLOptionEnum<ScrollingMode> const aScrollingTable[] = { nullptr, ScrollingMode(0) } }; -void SfxFrameHTMLParser::ParseFrameOptions( +namespace SfxFrameHTMLParser +{ +void ParseFrameOptions( SfxFrameDescriptor *pFrame, const HTMLOptions& rOptions, const OUString& rBaseURL ) { // Get and set the options @@ -101,5 +103,6 @@ void SfxFrameHTMLParser::ParseFrameOptions( pFrame->SetMargin( aMargin ); } +} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |