NFC cleanup docxattributeoutput: use existing function to clear
commitfd14dd0e4c6a7ea0866a686f653db90301d664b6
authorJustin Luth <justin.luth@collabora.com>
Fri, 2 Dec 2022 19:59:08 +0000 (2 14:59 -0500)
committerJustin Luth <jluth@mail.com>
Mon, 5 Dec 2022 18:36:29 +0000 (5 18:36 +0000)
tree15a17f82b7ba14894dd0081d04f67cf18352edc8
parent9d93e57613fc5e9f67400a166dcce5344c238348
NFC cleanup docxattributeoutput: use existing function to clear

The function already clears these things,
so use it - which should also prevent bugs
where a clear is put in one place and not the other.

A dead giveaway was that m_bHasId = false
is also done in the function.

Change-Id: Ibb97b8da246404841afa5a03d11514dbcc7157b0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143604
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
sw/source/filter/ww8/docxattributeoutput.cxx