diff options
author | Mathias Bauer <mba@openoffice.org> | 2001-03-20 16:16:21 +0000 |
---|---|---|
committer | Mathias Bauer <mba@openoffice.org> | 2001-03-20 16:16:21 +0000 |
commit | 9fb96f12431c30dbcab61fd16c7bc9bec6b3b53f (patch) | |
tree | 566e2f25ffd7ba0bb64b475423c1ec195dbf8517 /sot/source | |
parent | 5cad3f6d51be25b3b3ac4488924119658a4df048 (diff) |
static methods for OLE-Storage detection
Diffstat (limited to 'sot/source')
-rw-r--r-- | sot/source/sdstor/storage.cxx | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/sot/source/sdstor/storage.cxx b/sot/source/sdstor/storage.cxx index 78594d6f49ba..5156429a2fe2 100644 --- a/sot/source/sdstor/storage.cxx +++ b/sot/source/sdstor/storage.cxx @@ -2,9 +2,9 @@ * * $RCSfile: storage.cxx,v $ * - * $Revision: 1.14 $ + * $Revision: 1.15 $ * - * last change: $Author: mba $ $Date: 2001-03-09 10:21:09 $ + * last change: $Author: mba $ $Date: 2001-03-20 17:16:21 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1162,3 +1162,13 @@ BOOL SotStorage::IsOLEStorage() const return !pStg; } +BOOL SotStorage::IsOLEStorage( const String & rFileName ) +{ + return Storage::IsStorageFile( rFileName ); +} + +BOOL SotStorage::IsOLEStorage( SvStream* pStream ) +{ + return Storage::IsStorageFile( pStream ); +} + |