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/sdstor/storage.cxx | |
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/sdstor/storage.cxx')
-rw-r--r-- | sot/source/sdstor/storage.cxx | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/sot/source/sdstor/storage.cxx b/sot/source/sdstor/storage.cxx index 70dd249b7a2d..00a4801d0778 100644 --- a/sot/source/sdstor/storage.cxx +++ b/sot/source/sdstor/storage.cxx @@ -64,16 +64,6 @@ SotFactory * SotStorageStream::ClassFactory() return *ppFactory; } -void * SotStorageStream::CreateInstance( SotObject ** ppObj ) -{ - SotStorageStream * p = new SotStorageStream(); - SotObject* pSuper1 = p; - SotObject* pBasicObj = pSuper1; - if( ppObj ) - *ppObj = pBasicObj; - return p; -} - void * SotStorageStream::Cast( const SotFactory * pFact ) { void * pRet = NULL; @@ -323,16 +313,6 @@ SotFactory * SotStorage::ClassFactory() return *ppFactory; } -void * SotStorage::CreateInstance( SotObject ** ppObj ) -{ - SotStorage * p = new SotStorage(); - SotObject* pSuper1 = p; - SotObject* pBasicObj = pSuper1; - if( ppObj ) - *ppObj = pBasicObj; - return p; -} - void * SotStorage::Cast( const SotFactory * pFact ) { void * pRet = NULL; |