diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2013-09-27 15:59:32 +0200 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2013-09-27 18:18:27 +0200 |
commit | ac14ac29a4d069b3e85032237efed2f899a10c7b (patch) | |
tree | c468ce09efbb1c07dac723c2cf2d2c6df148f532 /sc/qa | |
parent | d5ad8ec23ec530bada4d14c62da35becfdea7ac8 (diff) |
fdo#69450 - IDF_ATTRIB & IDF_CONTENTS must be disjoint.
Change-Id: Ib971824a7f274334012b872acec65310535ad767
Diffstat (limited to 'sc/qa')
-rw-r--r-- | sc/qa/unit/ucalc.cxx | 5 | ||||
-rw-r--r-- | sc/qa/unit/ucalc.hxx | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx index b0b6f32d05ca..8d2266e0e80c 100644 --- a/sc/qa/unit/ucalc.cxx +++ b/sc/qa/unit/ucalc.cxx @@ -503,6 +503,11 @@ void Test::testInput() m_pDoc->DeleteTab(0); } +void Test::testCopyAttributes() +{ + CPPUNIT_ASSERT_MESSAGE ("mashed up attributes", !(IDF_ATTRIB & IDF_CONTENTS)); +} + void Test::testCopyToDocument() { CPPUNIT_ASSERT_MESSAGE ("failed to insert sheet", m_pDoc->InsertTab (0, "src")); diff --git a/sc/qa/unit/ucalc.hxx b/sc/qa/unit/ucalc.hxx index 3c46cab60b0a..d01714ee700e 100644 --- a/sc/qa/unit/ucalc.hxx +++ b/sc/qa/unit/ucalc.hxx @@ -105,6 +105,7 @@ public: void testFuncINDIRECT(); void testFuncIFERROR(); void testFuncGETPIVOTDATA(); + void testCopyAttributes(); void testCopyToDocument(); /** |