diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-11-12 07:16:05 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-11-12 07:22:07 +0100 |
commit | eb240530443b964ea45bf80a5e3711e11a3f09c5 (patch) | |
tree | 5758fff3a7b509fce21477dc185b4e47e02805f6 /sc/inc/conditio.hxx | |
parent | 51533c729fc57dea539163f45fb5152a864467f0 (diff) |
remove conditional formats withiout range after import, related fdo#56983
Change-Id: I9a8c02369c3e5a12310a46229bdc1671f75593ad
Diffstat (limited to 'sc/inc/conditio.hxx')
-rw-r--r-- | sc/inc/conditio.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sc/inc/conditio.hxx b/sc/inc/conditio.hxx index afcfd0138d62..d60da24db422 100644 --- a/sc/inc/conditio.hxx +++ b/sc/inc/conditio.hxx @@ -409,6 +409,12 @@ public: void InsertNew( ScConditionalFormat* pNew ) { maConditionalFormats.insert(pNew); } + /** + * Checks that all cond formats have a non empty range. + * Deletes empty cond formats. + * @return true if all cond formats were valid + */ + bool CheckAllEntries(); ScConditionalFormat* GetFormat( sal_uInt32 nKey ); |