diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-04 16:28:49 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-08-05 09:39:22 +0000 |
commit | 403c13487c36f4200adf0986c5d11398f719cd7a (patch) | |
tree | 21a4acf87dce1e6c8772f5cbcff3c2a3de21f4ba /sot/source/base | |
parent | 10560949f90e08fe4a04dd91c7d388c4998100e8 (diff) |
loplugin:unusedmethods
Change-Id: I6801618efb5a66d24156fa429e026acb6ca03aba
Reviewed-on: https://gerrit.libreoffice.org/17506
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sot/source/base')
-rw-r--r-- | sot/source/base/object.cxx | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/sot/source/base/object.cxx b/sot/source/base/object.cxx index 1cb951b3fbfc..88e457e4bd8e 100644 --- a/sot/source/base/object.cxx +++ b/sot/source/base/object.cxx @@ -42,15 +42,6 @@ SotFactory * SotObject::ClassFactory() return *ppFactory; } -void * SotObject::CreateInstance( SotObject ** ppObj ) -{ - SotObject * p = new SotObject(); - if( ppObj ) - *ppObj = p; - return p; -} - - void * SotObject::Cast( const SotFactory * pFact ) { void * pRet = NULL; |