diff options
Diffstat (limited to 'sdext')
-rw-r--r-- | sdext/source/pdfimport/sax/saxattrlist.hxx | 1 | ||||
-rw-r--r-- | sdext/source/pdfimport/tree/genericelements.cxx | 4 | ||||
-rw-r--r-- | sdext/source/pdfimport/tree/genericelements.hxx | 3 | ||||
-rw-r--r-- | sdext/source/pdfimport/tree/style.hxx | 1 | ||||
-rw-r--r-- | sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx | 16 | ||||
-rw-r--r-- | sdext/source/presenter/PresenterUIPainter.hxx | 3 |
6 files changed, 2 insertions, 26 deletions
diff --git a/sdext/source/pdfimport/sax/saxattrlist.hxx b/sdext/source/pdfimport/sax/saxattrlist.hxx index c8c76f34fffa..04b766460177 100644 --- a/sdext/source/pdfimport/sax/saxattrlist.hxx +++ b/sdext/source/pdfimport/sax/saxattrlist.hxx @@ -47,7 +47,6 @@ namespace pdfi std::unordered_map< OUString, size_t, OUStringHash > m_aIndexMap; public: - SaxAttrList() {} explicit SaxAttrList( const std::unordered_map< OUString, OUString, OUStringHash >& ); SaxAttrList( const SaxAttrList& ); virtual ~SaxAttrList(); diff --git a/sdext/source/pdfimport/tree/genericelements.cxx b/sdext/source/pdfimport/tree/genericelements.cxx index 2da786057667..c5c61a4d8b74 100644 --- a/sdext/source/pdfimport/tree/genericelements.cxx +++ b/sdext/source/pdfimport/tree/genericelements.cxx @@ -32,10 +32,6 @@ namespace pdfi { -ElementFactory::~ElementFactory() -{ -} - Element::~Element() { while( !Children.empty() ) diff --git a/sdext/source/pdfimport/tree/genericelements.hxx b/sdext/source/pdfimport/tree/genericelements.hxx index 7099cb99cd2a..55b6b00306af 100644 --- a/sdext/source/pdfimport/tree/genericelements.hxx +++ b/sdext/source/pdfimport/tree/genericelements.hxx @@ -286,8 +286,7 @@ namespace pdfi class ElementFactory { public: - ElementFactory() {} - virtual ~ElementFactory(); + ElementFactory() = delete; static HyperlinkElement* createHyperlinkElement( Element* pParent, const OUString& rURI ) { return new HyperlinkElement( pParent, rURI ); } diff --git a/sdext/source/pdfimport/tree/style.hxx b/sdext/source/pdfimport/tree/style.hxx index 31be3dbdf86e..9d3edd0a90f0 100644 --- a/sdext/source/pdfimport/tree/style.hxx +++ b/sdext/source/pdfimport/tree/style.hxx @@ -43,7 +43,6 @@ namespace pdfi Element* ContainedElement; std::vector< Style* > SubStyles; - Style() : ContainedElement( nullptr ) {} Style( const OString& rName, const PropertyMap& rProps ) : Name( rName ), Properties( rProps ), diff --git a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx index d52e3a0e3a76..73ea8bf1062b 100644 --- a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx +++ b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx @@ -69,22 +69,6 @@ namespace pdfi { struct FontAttributes { - FontAttributes( const GooString& familyName_, - bool isEmbedded_, - bool isBold_, - bool isItalic_, - bool isUnderline_, - double size_ ) : - familyName(), - isEmbedded(isEmbedded_), - isBold(isBold_), - isItalic(isItalic_), - isUnderline(isUnderline_), - size(size_) - { - familyName.append(const_cast<GooString*>(&familyName_)); - } - FontAttributes() : familyName(), isEmbedded(false), diff --git a/sdext/source/presenter/PresenterUIPainter.hxx b/sdext/source/presenter/PresenterUIPainter.hxx index ed58fd41b43f..1b5ef18332fc 100644 --- a/sdext/source/presenter/PresenterUIPainter.hxx +++ b/sdext/source/presenter/PresenterUIPainter.hxx @@ -32,8 +32,7 @@ namespace sdext { namespace presenter { class PresenterUIPainter { public: - PresenterUIPainter(); - ~PresenterUIPainter(); + PresenterUIPainter() = delete; PresenterUIPainter(const PresenterUIPainter&) = delete; PresenterUIPainter& operator=(const PresenterUIPainter&) = delete; |