Kaydet (Commit) 9e9f3106 authored tarafından Miklos Vajna's avatar Miklos Vajna

sw RTF filter: more cleanup of redundant virtual keywords

Change-Id: Ia2596e11f303edf5e1b81ab90062fd93df42159b
Reviewed-on: https://gerrit.libreoffice.org/38847Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
Tested-by: 's avatarJenkins <ci@libreoffice.org>
üst 5e8eb215
...@@ -48,14 +48,14 @@ protected: ...@@ -48,14 +48,14 @@ protected:
css::uno::Reference<css::lang::XComponent> m_xSrcDoc; css::uno::Reference<css::lang::XComponent> m_xSrcDoc;
public: public:
explicit RtfExportFilter(css::uno::Reference<css::uno::XComponentContext> xCtx); explicit RtfExportFilter(css::uno::Reference<css::uno::XComponentContext> xCtx);
virtual ~RtfExportFilter() override; ~RtfExportFilter() override;
// XFilter // XFilter
virtual sal_Bool SAL_CALL filter(const css::uno::Sequence<css::beans::PropertyValue>& aDescriptor) override; sal_Bool SAL_CALL filter(const css::uno::Sequence<css::beans::PropertyValue>& aDescriptor) override;
virtual void SAL_CALL cancel() override; void SAL_CALL cancel() override;
// XExporter // XExporter
virtual void SAL_CALL setSourceDocument(const css::uno::Reference<css::lang::XComponent>& xDoc) override; void SAL_CALL setSourceDocument(const css::uno::Reference<css::lang::XComponent>& xDoc) override;
RtfWriter m_aWriter; RtfWriter m_aWriter;
}; };
......
...@@ -9,11 +9,7 @@ ...@@ -9,11 +9,7 @@
#include "rtfstringbuffer.hxx" #include "rtfstringbuffer.hxx"
#include "rtfattributeoutput.hxx" #include "rtfattributeoutput.hxx"
RtfStringBufferValue::RtfStringBufferValue() RtfStringBufferValue::RtfStringBufferValue() = default;
: m_pFlyFrameFormat(nullptr),
m_pGrfNode(nullptr)
{
}
RtfStringBufferValue::RtfStringBufferValue(const SwFlyFrameFormat* pFlyFrameFormat, const SwGrfNode* pGrfNode) RtfStringBufferValue::RtfStringBufferValue(const SwFlyFrameFormat* pFlyFrameFormat, const SwGrfNode* pGrfNode)
: m_pFlyFrameFormat(pFlyFrameFormat), : m_pFlyFrameFormat(pFlyFrameFormat),
......
...@@ -31,8 +31,8 @@ public: ...@@ -31,8 +31,8 @@ public:
bool isGraphic() const; bool isGraphic() const;
OStringBuffer m_aBuffer; OStringBuffer m_aBuffer;
const SwFlyFrameFormat* m_pFlyFrameFormat; const SwFlyFrameFormat* m_pFlyFrameFormat = nullptr;
const SwGrfNode* m_pGrfNode; const SwGrfNode* m_pGrfNode = nullptr;
}; };
/// Wrapper around OStringBuffers, so less hexdump of graphics have to be kept in memory during RTF export. /// Wrapper around OStringBuffers, so less hexdump of graphics have to be kept in memory during RTF export.
......
...@@ -40,7 +40,7 @@ protected: ...@@ -40,7 +40,7 @@ protected:
void MouseButtonUp(const MouseEvent& rMouseEvent) override; void MouseButtonUp(const MouseEvent& rMouseEvent) override;
public: public:
SidebarScrollBar(sw::annotation::SwAnnotationWin& rSidebarWin, WinBits nStyle, SwView& rView); SidebarScrollBar(sw::annotation::SwAnnotationWin& rSidebarWin, WinBits nStyle, SwView& rView);
virtual ~SidebarScrollBar() override; ~SidebarScrollBar() override;
}; };
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment