diff options
Diffstat (limited to 'sc/source/filter/oox/condformatbuffer.cxx')
-rw-r--r-- | sc/source/filter/oox/condformatbuffer.cxx | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/sc/source/filter/oox/condformatbuffer.cxx b/sc/source/filter/oox/condformatbuffer.cxx index 01c3edc077ba..6660ac9c5784 100644 --- a/sc/source/filter/oox/condformatbuffer.cxx +++ b/sc/source/filter/oox/condformatbuffer.cxx @@ -932,7 +932,8 @@ CondFormatModel::CondFormatModel() : CondFormat::CondFormat( const WorksheetHelper& rHelper ) : WorksheetHelper( rHelper ), - mpFormat(NULL) + mpFormat(NULL), + mbReadyForFinalize(false) { } @@ -1013,6 +1014,17 @@ CondFormatRef CondFormatBuffer::importConditionalFormatting( const AttributeList return xCondFmt; } +void CondFormatBuffer::finalizeImport() +{ + CondFormatVec::iterator it = maCondFormats.begin(); + CondFormatVec::iterator it_end = maCondFormats.end(); + for( ; it != it_end; ++it ) + { + if ( (*it).get() ) + (*it).get()->finalizeImport(); + } +} + CondFormatRef CondFormatBuffer::importCondFormatting( SequenceInputStream& rStrm ) { CondFormatRef xCondFmt = createCondFormat(); |