cid#1507856 silence Invalid type in argument to printf format specifier
Change-Id: I05cfe777108667ea3640519b3231431fbe3fc0d7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137980 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
parent
6f377e7bae
commit
813ad0b0e1
1 changed files with 1 additions and 1 deletions
|
@ -1774,7 +1774,7 @@ void SwFormatAnchor::dumpAsXml(xmlTextWriterPtr pWriter) const
|
|||
(void)xmlTextWriterWriteAttribute(pWriter, BAD_CAST("m_pContentAnchor"), BAD_CAST(aContentAnchor.str().c_str()));
|
||||
}
|
||||
else
|
||||
(void)xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("m_pContentAnchor"), "%p", nullptr);
|
||||
(void)xmlTextWriterWriteAttribute(pWriter, BAD_CAST("m_pContentAnchor"), BAD_CAST("(nil)"));
|
||||
(void)xmlTextWriterWriteAttribute(pWriter, BAD_CAST("m_eAnchorType"), BAD_CAST(OString::number(static_cast<int>(m_eAnchorId)).getStr()));
|
||||
(void)xmlTextWriterWriteAttribute(pWriter, BAD_CAST("m_nPageNumber"), BAD_CAST(OString::number(m_nPageNumber).getStr()));
|
||||
(void)xmlTextWriterWriteAttribute(pWriter, BAD_CAST("m_nOrder"), BAD_CAST(OString::number(m_nOrder).getStr()));
|
||||
|
|
Loading…
Reference in a new issue