diff options
Diffstat (limited to 'sfx2/qa/cppunit/test_metadatable.cxx')
-rw-r--r-- | sfx2/qa/cppunit/test_metadatable.cxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sfx2/qa/cppunit/test_metadatable.cxx b/sfx2/qa/cppunit/test_metadatable.cxx index 06b18edfec43..7508d467a7ac 100644 --- a/sfx2/qa/cppunit/test_metadatable.cxx +++ b/sfx2/qa/cppunit/test_metadatable.cxx @@ -84,15 +84,12 @@ void MetadatableTest::test() MockMetadatable m5(*pReg); OUString empty; OUString content( "content.xml" ); - OUString const styles( "styles.xml" ); - OUString const sid1( "id1" ); - OUString const sid2( "id2" ); OUString sid3( "id3" ); OUString sid4( "id4" ); - beans::StringPair id1(content, sid1); - beans::StringPair id2(content, sid2); + beans::StringPair id1(content, "id1"); + beans::StringPair id2(content, "id2"); beans::StringPair id3(content, sid3); - beans::StringPair id4(styles, sid4); + beans::StringPair id4("styles.xml", sid4); beans::StringPair id3e(empty, sid3); beans::StringPair id4e(empty, sid4); m1.SetMetadataReference(id1); |