diff options
Diffstat (limited to 'sw/qa/api/BaseIndexTest.hxx')
-rw-r--r-- | sw/qa/api/BaseIndexTest.hxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sw/qa/api/BaseIndexTest.hxx b/sw/qa/api/BaseIndexTest.hxx index 997f91aa948f..cfad380ca493 100644 --- a/sw/qa/api/BaseIndexTest.hxx +++ b/sw/qa/api/BaseIndexTest.hxx @@ -58,10 +58,7 @@ class BaseIndexTest : public ApiTestBase public: void testBaseIndexProperties() { - auto map = init(); - - css::uno::Reference<css::beans::XPropertySet> xBaseIndex(map["text::BaseIndex"], - css::uno::UNO_QUERY_THROW); + css::uno::Reference<css::beans::XPropertySet> xBaseIndex(init(), css::uno::UNO_QUERY_THROW); testStringProperty(xBaseIndex, "Title", "Value"); testBooleanProperty(xBaseIndex, "IsProtected"); |