summaryrefslogtreecommitdiff
path: root/svl/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-10-07 16:28:27 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-10-27 08:20:43 +0000
commit644487a1152c7586a7f20c7f372572a71d8494d5 (patch)
tree683cdbd755ec1660e75f930e5be4cd6867e3e734 /svl/source
parent1b4dff2c371d31c99f34324c3f6f31888bdc34d7 (diff)
loplugin:unusedmethods
Change-Id: I161cd52606c11b6008f5d8b1d8ee391692f91861 Reviewed-on: https://gerrit.libreoffice.org/19231 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svl/source')
-rw-r--r--svl/source/inc/strmadpt.hxx2
-rw-r--r--svl/source/misc/strmadpt.cxx16
2 files changed, 0 insertions, 18 deletions
diff --git a/svl/source/inc/strmadpt.hxx b/svl/source/inc/strmadpt.hxx
index 0e6d122a04d9..c91d61cd06cc 100644
--- a/svl/source/inc/strmadpt.hxx
+++ b/svl/source/inc/strmadpt.hxx
@@ -54,8 +54,6 @@ public:
virtual ErrCode FillAppend(const void * pBuffer, sal_uLong nCount,
sal_uLong * pWritten) override;
-
- virtual void Terminate() override;
};
#endif // INCLUDED_SVL_STRMADPT_HXX
diff --git a/svl/source/misc/strmadpt.cxx b/svl/source/misc/strmadpt.cxx
index c24291ecc501..367ea56db03f 100644
--- a/svl/source/misc/strmadpt.cxx
+++ b/svl/source/misc/strmadpt.cxx
@@ -208,22 +208,6 @@ ErrCode SvOutputStreamOpenLockBytes::FillAppend(void const * pBuffer,
return ERRCODE_NONE;
}
-// virtual
-void SvOutputStreamOpenLockBytes::Terminate()
-{
- if (m_xOutputStream.is())
- {
- try
- {
- m_xOutputStream->closeOutput();
- }
- catch (const io::IOException&)
- {
- }
- }
-}
-
-
// SvInputStream