Kaydet (Commit) 71ef88ec authored tarafından Ashod Nakashian's avatar Ashod Nakashian Kaydeden (comit) Ashod Nakashian

sw: move paragraph signatures to the beginning

Change-Id: Ic9fb1f74ff19d3e9ad455483b221181f25f09653
Reviewed-on: https://gerrit.libreoffice.org/41790Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarAshod Nakashian <ashnakash@gmail.com>
üst c497c4ca
......@@ -727,7 +727,7 @@ void SwEditShell::SignParagraph(SwPaM* pPaM)
uno::Reference<css::text::XTextField> xField(xMultiServiceFactory->createInstance("com.sun.star.text.textfield.MetadataField"), uno::UNO_QUERY);
uno::Reference<text::XTextContent> xContent(xField, uno::UNO_QUERY);
xContent->attach(xParent->getAnchor()->getEnd());
xContent->attach(xParent->getAnchor()->getStart());
uno::Reference<rdf::XResource> xRes(xField, uno::UNO_QUERY);
const OUString name = "loext:signature:signature";
......@@ -735,7 +735,7 @@ void SwEditShell::SignParagraph(SwPaM* pPaM)
const std::pair<bool, OUString> res = lcl_MakeParagraphSignatureFieldText(xModel, xField, utf8Text);
uno::Reference<css::text::XTextRange> xText(xField, uno::UNO_QUERY);
xText->setString(res.second);
xText->setString(res.second + " ");
}
void SwEditShell::ValidateParagraphSignatures(bool updateDontRemove)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment