Kaydet (Commit) c7813f25 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

Use initializer for this. No need to call SetModified to false.

üst 48abb149
......@@ -1687,25 +1687,14 @@ void ItemList::Insert( const SfxPoolItem* pItem )
EditDoc::EditDoc( SfxItemPool* pPool ) :
nLastCache(0),
pItemPool(pPool ? pPool : new EditEngineItemPool(false)),
nDefTab(DEFTAB),
bIsVertical(false),
bIsFixedCellHeight(false),
bOwnerOfPool(pPool ? false : true),
bModified(false)
{
if ( pPool )
{
pItemPool = pPool;
}
else
{
pItemPool = new EditEngineItemPool( sal_False );
}
nDefTab = DEFTAB;
// Don't create a empty node, Clear() will be called in EditEngine-CTOR
SetModified( sal_False );
};
EditDoc::~EditDoc()
......
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