diff options
author | David Tardon <dtardon@redhat.com> | 2012-01-15 16:09:33 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-01-15 20:27:17 +0100 |
commit | 09f8d4f75a0b3527bf6f99f5408dfda3c711c382 (patch) | |
tree | 891555a614e2498f243c635073f2ea411f5bf04c /basic/inc | |
parent | WaE: deleting object of abstract class type with non-virtual destructor (diff) | |
download | core-09f8d4f75a0b3527bf6f99f5408dfda3c711c382.tar.gz core-09f8d4f75a0b3527bf6f99f5408dfda3c711c382.zip |
WaE: deleting object of abstract class type with non-virtual destructor
Diffstat (limited to 'basic/inc')
-rw-r--r-- | basic/inc/basic/sbxfac.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/basic/inc/basic/sbxfac.hxx b/basic/inc/basic/sbxfac.hxx index 494b912911d3..2ef93a1140f8 100644 --- a/basic/inc/basic/sbxfac.hxx +++ b/basic/inc/basic/sbxfac.hxx @@ -41,6 +41,7 @@ class BASIC_DLLPUBLIC SbxFactory { sal_Bool bHandleLast; // sal_True: Factory is asked at last because of its expensiveness public: + virtual ~SbxFactory(); SbxFactory( sal_Bool bLast=sal_False ) { bHandleLast = bLast; } sal_Bool IsHandleLast( void ) { return bHandleLast; } virtual SbxBase* Create( sal_uInt16 nSbxId, sal_uInt32 = SBXCR_SBX ); |