summaryrefslogtreecommitdiff
path: root/sw/qa
diff options
context:
space:
mode:
authorbruh <randomforest33@gmail.com>2025-02-07 01:10:04 +0530
committerHeiko Tietze <heiko.tietze@documentfoundation.org>2025-03-03 14:11:05 +0100
commit7668d76e7a7d10a94c6122d7ff7932ab4cb1710a (patch)
tree2992442d948b8436affdcfc7c2eb82dac2937a98 /sw/qa
parent8f8e84eddb3b1a24d3fc670155832618dfcbcd09 (diff)
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 <heiko.tietze@documentfoundation.org>
Diffstat (limited to 'sw/qa')
-rw-r--r--sw/qa/extras/odfimport/odfimport.cxx2
-rw-r--r--sw/qa/extras/ooxmlimport/ooxmlimport.cxx2
2 files changed, 2 insertions, 2 deletions
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<text::XTextField> 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<text::XTextField> 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());
}