diff options
Diffstat (limited to 'test/source/sheet/globalsheetsettings.cxx')
-rw-r--r-- | test/source/sheet/globalsheetsettings.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/source/sheet/globalsheetsettings.cxx b/test/source/sheet/globalsheetsettings.cxx index d877e7c3ceab..0fd2e1aae21d 100644 --- a/test/source/sheet/globalsheetsettings.cxx +++ b/test/source/sheet/globalsheetsettings.cxx @@ -172,8 +172,7 @@ void GlobalSheetSettings::testGlobalSheetSettingsProperties() aNewValue <<= uno::Sequence<OUString>(); xGlobalSheetSettings->setPropertyValue(propName, aNewValue); CPPUNIT_ASSERT(xGlobalSheetSettings->getPropertyValue(propName) >>= aUserLists); - CPPUNIT_ASSERT_EQUAL_MESSAGE("Unable to set PropertyValue UserLists", sal_Int32(0), - aUserLists.getLength()); + CPPUNIT_ASSERT_MESSAGE("Unable to set PropertyValue UserLists", !aUserLists.hasElements()); propName = "LinkUpdateMode"; sal_Int16 aLinkUpdateMode = 42; |