From 7668d76e7a7d10a94c6122d7ff7932ab4cb1710a Mon Sep 17 00:00:00 2001 From: bruh Date: Fri, 7 Feb 2025 01:10:04 +0530 Subject: tdf#155050 Replaces the Bibliography entries with Citation The patch replaces Bibliography entries in Tables Of Contents and Index and bibliography dialog box with Citation. Left some of the entries in sw/uiconfig/swriter/ui/bibliographyentry.ui and sw/uiconfig/swriter/ui/createauthorentry.ui unchanged as per the discussion on the bug page, where it was mentioned not to modify them. Change-Id: I34c0051806a799b50d546841960c5d5a04b60196 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/181224 Tested-by: Jenkins Reviewed-by: Heiko Tietze --- sw/qa/extras/odfimport/odfimport.cxx | 2 +- sw/qa/extras/ooxmlimport/ooxmlimport.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sw/qa') diff --git a/sw/qa/extras/odfimport/odfimport.cxx b/sw/qa/extras/odfimport/odfimport.cxx index 6cf97a2a9628..7927d4edb46b 100644 --- a/sw/qa/extras/odfimport/odfimport.cxx +++ b/sw/qa/extras/odfimport/odfimport.cxx @@ -588,7 +588,7 @@ CPPUNIT_TEST_FIXTURE(Test, testBibliographyEntryField) } uno::Reference xEnumerationAccess(xFields->nextElement(), uno::UNO_QUERY); - CPPUNIT_ASSERT_EQUAL(u"Bibliography entry"_ustr, xEnumerationAccess->getPresentation(true).trim()); + CPPUNIT_ASSERT_EQUAL(u"Citation"_ustr, xEnumerationAccess->getPresentation(true).trim()); CPPUNIT_ASSERT_EQUAL(u"[ABC]"_ustr, xEnumerationAccess->getPresentation(false).trim()); } diff --git a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx index 4ce5edb38557..b1376f29c104 100644 --- a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx +++ b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx @@ -1015,7 +1015,7 @@ CPPUNIT_TEST_FIXTURE(Test, testTdf107784) } uno::Reference xEnumerationAccess(xFields->nextElement(), uno::UNO_QUERY); - CPPUNIT_ASSERT_EQUAL(u"Bibliography entry"_ustr, xEnumerationAccess->getPresentation(true).trim()); + CPPUNIT_ASSERT_EQUAL(u"Citation"_ustr, xEnumerationAccess->getPresentation(true).trim()); CPPUNIT_ASSERT_EQUAL(u"(Smith, 1950)"_ustr, xEnumerationAccess->getPresentation(false).trim()); } -- cgit