Kaydet (Commit) 5549160d authored tarafından Noel Grandin's avatar Noel Grandin

improve comment

Change-Id: Ia45916169c10b1c8bb712c9c21ce2df6cda37245
üst 4b1b17f4
...@@ -1157,18 +1157,18 @@ bool SfxItemPool::IsCurrentVersionLoading() const ...@@ -1157,18 +1157,18 @@ bool SfxItemPool::IsCurrentVersionLoading() const
/** /**
* Saves the SfxPoolItem 'rItem' to the SvStream 'rStream': * Saves the SfxPoolItem 'rItem' to the SvStream 'rStream':
* either as a surrogate ('bDirect == sal_False') or directly with * either as a surrogate ('bDirect == false') or directly with
* 'rItem.Store()'. * 'rItem.Store()'.
* Non-poolable Items are always saved directly. Items without WhichId and * Non-poolable Items are always saved directly. Items without WhichId and
* SID-Items as well as Items that were not yet present in the file format * SID-Items as well as Items that were not yet present in the file format
* version (return sal_False) are not saved. * version (return false) are not saved.
* *
* The Item is saved to the Stream in the following manner: * The Item is saved to the Stream in the following manner:
* sal_uInt16 rItem.Which() * sal_uInt16 rItem.Which()
* sal_uInt16 GetSlotId( rItem.Which() ) or 0 if not available * sal_uInt16 GetSlotId( rItem.Which() ) or 0 if not available
* sal_uInt16 GetSurrogate( &rItem ) or SFX_ITEM_DIRECT fo '!SFX_ITEM_POOLBLE' * sal_uInt16 GetSurrogate( &rItem ) or SFX_ITEM_DIRECT for '!SFX_ITEM_POOLABLE'
* *
* Optionally (if 'bDirect == sal_True' or '!rItem.IsPoolable()': * Optionally (if 'bDirect == true' or '!rItem.IsPoolable()':
* sal_uInt16 rItem.GetVersion() * sal_uInt16 rItem.GetVersion()
* sal_uLong Size * sal_uLong Size
* Size rItem.Store() * Size rItem.Store()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment