new method IsOLEStorage

This commit is contained in:
Mathias Bauer 2001-03-05 11:46:00 +00:00
parent 36aced3e57
commit 3cf4fe3607

View file

@ -2,9 +2,9 @@
*
* $RCSfile: storage.cxx,v $
*
* $Revision: 1.12 $
* $Revision: 1.13 $
*
* last change: $Author: mba $ $Date: 2001-02-19 13:14:44 $
* last change: $Author: mba $ $Date: 2001-03-05 12:46:00 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@ -1156,3 +1156,9 @@ BOOL SotStorage::GetProperty( const String& rName, ::com::sun::star::uno::Any& r
}
}
BOOL SotStorage::IsOLEStorage() const
{
UCBStorage* pStg = PTR_CAST( UCBStorage, pOwnStg );
return !pStg;
}