summaryrefslogtreecommitdiffstats
path: root/include/basic
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-11 14:55:50 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-11 21:20:25 +0200
commit4d89865ef2026f40a9a4d66f3e047b77454e6fee (patch)
tree237c8339b1ab11059415d8744ddce7b0c971df9f /include/basic
parentRelated tdf#111634: Multiple memory leaks in libmacabdrv1 (part2) (diff)
downloadcore-4d89865ef2026f40a9a4d66f3e047b77454e6fee.tar.gz
core-4d89865ef2026f40a9a4d66f3e047b77454e6fee.zip
new loplugin:deadclass
look for classes which only have copy/move constructors, and so are effectively dead Change-Id: I0b844f301e2200c2b40031856bfdb0b0e2c8f77d Reviewed-on: https://gerrit.libreoffice.org/41039 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/basic')
-rw-r--r--include/basic/sbx.hxx12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/basic/sbx.hxx b/include/basic/sbx.hxx
index 0e905fd333b1..45d00555ec3d 100644
--- a/include/basic/sbx.hxx
+++ b/include/basic/sbx.hxx
@@ -97,18 +97,6 @@ public:
SbxVariable* GetVar() const { return pVar; }
};
-// SbxAlias is an alias for a var or object
-class BASIC_DLLPUBLIC SbxAlias : public SbxVariable, public SfxListener
-{
- SbxVariableRef xAlias;
- virtual ~SbxAlias() override;
- virtual void Broadcast( SfxHintId ) override;
- virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
-public:
- SbxAlias( const SbxAlias& );
- SbxAlias& operator=( const SbxAlias& );
-};
-
// SbxArray is an unidimensional, dynamic Array
// The variables convert from SbxVariablen. Put()/Insert() into the
// declared datatype, if they are not SbxVARIANT.