summaryrefslogtreecommitdiff
path: root/include/sot/storage.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-06-17 09:49:37 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-06-19 14:08:50 +0200
commite3077168072452fb8f1c0a8afb2992877cb96d1c (patch)
tree785da5126ddb052250ee3747fa221c746cc62e82 /include/sot/storage.hxx
parente48dd86341fff8a010f514bbcd818468f3a92815 (diff)
loplugin:finalclasses
improve the plugin to detect more cases. I only apply the new final changes to classes in /include here. Which reveals that RoadmapWizard::getPageController( TabPage* _pCurrentPage ) will always return nullptr Also needed to sprinkle some SAL_DLLPUBLIC_TEMPLATE around to workaround Visual Studio linking problems. Change-Id: Iadb7d46a9e0e73dabce562375ca013c0fea6690c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117365 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/sot/storage.hxx')
-rw-r--r--include/sot/storage.hxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/sot/storage.hxx b/include/sot/storage.hxx
index 41b57506946c..dd44b020694a 100644
--- a/include/sot/storage.hxx
+++ b/include/sot/storage.hxx
@@ -70,7 +70,7 @@ public:
};
class BaseStorage;
-class SOT_DLLPUBLIC SotStorage : virtual public SotObject
+class SOT_DLLPUBLIC SotStorage final : virtual public SotObject
{
friend class SotStorageStream;
@@ -83,7 +83,6 @@ friend class SotStorageStream;
OString m_aKey; // aKey.Len != 0 -> encryption
sal_Int32 m_nVersion;
-protected:
virtual ~SotStorage() override;
void CreateStorage(bool bUCBStorage, StreamMode);
public: