summaryrefslogtreecommitdiff
path: root/lotuswordpro/inc/xfilter/xffootnote.hxx
diff options
context:
space:
mode:
authorPhilipp Hofer <philipp.hofer@protonmail.com>2020-11-12 13:07:21 +0100
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2020-11-19 01:37:21 +0100
commit69b12a6eb3616d15035310eeb0c3dbc7aefcb5c1 (patch)
tree85fa3dd6e742033dc0b5a04b45a1e035a4c93cbd /lotuswordpro/inc/xfilter/xffootnote.hxx
parent6ceb1d0f2e23749fe03fab08ec338ba4d7782173 (diff)
tdf#123936 Formatting files in module lotuswordpro with clang-format
Change-Id: I3110b452b6c81fb7e5c10f6ba98ce521c51c0427 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105690 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Jenkins
Diffstat (limited to 'lotuswordpro/inc/xfilter/xffootnote.hxx')
-rw-r--r--lotuswordpro/inc/xfilter/xffootnote.hxx36
1 files changed, 16 insertions, 20 deletions
diff --git a/lotuswordpro/inc/xfilter/xffootnote.hxx b/lotuswordpro/inc/xfilter/xffootnote.hxx
index 76f26c83e296..289217129287 100644
--- a/lotuswordpro/inc/xfilter/xffootnote.hxx
+++ b/lotuswordpro/inc/xfilter/xffootnote.hxx
@@ -75,41 +75,37 @@ public:
XFFootNote();
public:
- virtual void ToXml(IXFStream *pStrm) override;
+ virtual void ToXml(IXFStream* pStrm) override;
private:
- OUString m_strID;
- OUString m_strLabel;
+ OUString m_strID;
+ OUString m_strLabel;
};
-inline XFFootNote::XFFootNote()
-{
- m_strID = XFGlobal::GenNoteName();
-}
-
+inline XFFootNote::XFFootNote() { m_strID = XFGlobal::GenNoteName(); }
-inline void XFFootNote::ToXml(IXFStream *pStrm)
+inline void XFFootNote::ToXml(IXFStream* pStrm)
{
- IXFAttrList *pAttrList = pStrm->GetAttrList();
+ IXFAttrList* pAttrList = pStrm->GetAttrList();
pAttrList->Clear();
- pAttrList->AddAttribute( "text:id", m_strID );
- pStrm->StartElement( "text:footnote" );
+ pAttrList->AddAttribute("text:id", m_strID);
+ pStrm->StartElement("text:footnote");
pAttrList->Clear();
- if( !m_strLabel.isEmpty() )
- pAttrList->AddAttribute( "text:label", m_strLabel );
- pStrm->StartElement( "text:footnote-citation" );
- if( !m_strLabel.isEmpty() )
+ if (!m_strLabel.isEmpty())
+ pAttrList->AddAttribute("text:label", m_strLabel);
+ pStrm->StartElement("text:footnote-citation");
+ if (!m_strLabel.isEmpty())
pStrm->Characters(m_strLabel);
- pStrm->EndElement( "text:footnote-citation" );
+ pStrm->EndElement("text:footnote-citation");
pAttrList->Clear();
- pStrm->StartElement( "text:footnote-body" );
+ pStrm->StartElement("text:footnote-body");
XFContentContainer::ToXml(pStrm);
- pStrm->EndElement( "text:footnote-body" );
+ pStrm->EndElement("text:footnote-body");
- pStrm->EndElement( "text:footnote" );
+ pStrm->EndElement("text:footnote");
}
#endif