summaryrefslogtreecommitdiffstats
path: root/sw/source/filter/xml/xmlitemi.cxx
diff options
context:
space:
mode:
authorArmin Le Grand (allotropia) <armin.le.grand.extern@allotropia.de>2024-01-27 15:04:06 +0100
committerArmin Le Grand <Armin.Le.Grand@me.com>2024-01-27 19:02:54 +0100
commit4790ef5cb574650c418591566eeb0babc69db59e (patch)
treebdca4156b1da8bb3efc06cebcee77fa541866ca7 /sw/source/filter/xml/xmlitemi.cxx
parenttdf#159381 TimeStamp(RFC3161) create problem by asn1 format error. (diff)
downloadcore-4790ef5cb574650c418591566eeb0babc69db59e.tar.gz
core-4790ef5cb574650c418591566eeb0babc69db59e.zip
ITEM: Cleanup some Pool stuff with Defaults
Sorted out some methods at ItemPool which process Defaults to make more clear what is going on and what which method is doing. Change-Id: I2568d3e03d0a56a14b6fe4e04521e1a8e22c000b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162643 Tested-by: Jenkins Reviewed-by: Armin Le Grand <Armin.Le.Grand@me.com>
Diffstat (limited to 'sw/source/filter/xml/xmlitemi.cxx')
-rw-r--r--sw/source/filter/xml/xmlitemi.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/xml/xmlitemi.cxx b/sw/source/filter/xml/xmlitemi.cxx
index 55ddfd8fb53f..e4655143b4ea 100644
--- a/sw/source/filter/xml/xmlitemi.cxx
+++ b/sw/source/filter/xml/xmlitemi.cxx
@@ -201,7 +201,7 @@ void SwXMLImportTableItemMapper_Impl::finished(
// if not set, try the pool
if ((SfxItemState::SET != eState) && SfxItemPool::IsWhich(Ids[i][0]))
{
- pItem = &rSet.GetPool()->GetDefaultItem(Ids[i][0]);
+ pItem = &rSet.GetPool()->GetUserOrPoolDefaultItem(Ids[i][0]);
}
// do we have an item?