summaryrefslogtreecommitdiff
path: root/sw/source/core/tox
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/tox')
-rw-r--r--sw/source/core/tox/ToxTabStopTokenHandler.cxx2
-rw-r--r--sw/source/core/tox/ToxTextGenerator.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/tox/ToxTabStopTokenHandler.cxx b/sw/source/core/tox/ToxTabStopTokenHandler.cxx
index 70b283865c72..8ac6c227c480 100644
--- a/sw/source/core/tox/ToxTabStopTokenHandler.cxx
+++ b/sw/source/core/tox/ToxTabStopTokenHandler.cxx
@@ -106,7 +106,7 @@ DefaultToxTabStopTokenHandler::CanUseLayoutRectangle(const SwTextNode& targetNod
if (!pageDescription) {
return false;
}
- const SwFrm* pFrm = targetNode.getLayoutFrm(currentLayout, 0, 0);
+ const SwFrm* pFrm = targetNode.getLayoutFrm(currentLayout);
if (!pFrm) {
return false;
}
diff --git a/sw/source/core/tox/ToxTextGenerator.cxx b/sw/source/core/tox/ToxTextGenerator.cxx
index 3fc431d48321..bea3a6e4dabd 100644
--- a/sw/source/core/tox/ToxTextGenerator.cxx
+++ b/sw/source/core/tox/ToxTextGenerator.cxx
@@ -279,7 +279,7 @@ ToxTextGenerator::CollectAttributesForTox(const SwTextAttr& hint, SwAttrPool& po
pItem->Which() == RES_CHRATR_POSTURE ||
pItem->Which() == RES_CHRATR_CJK_POSTURE ||
pItem->Which() == RES_CHRATR_CTL_POSTURE) {
- SfxPoolItem* clonedItem = pItem->Clone(NULL);
+ SfxPoolItem* clonedItem = pItem->Clone();
retval->Put(*clonedItem);
}
if (aIter.IsAtEnd()) {