summaryrefslogtreecommitdiffstats
path: root/sw/source/core/layout/pagechg.cxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-10-13 08:02:22 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-10-13 08:17:42 +0000
commit192edafdd0e0ce38665d14022b4511eba1a9c954 (patch)
treeeae241bfc054a204d624454a4ac8601cedb286c5 /sw/source/core/layout/pagechg.cxx
parentUse FeatureStateEvent directly for status updates (diff)
downloadcore-192edafdd0e0ce38665d14022b4511eba1a9c954.tar.gz
core-192edafdd0e0ce38665d14022b4511eba1a9c954.zip
sw: remove useless debug code in SwTextMargin::CtorInitTextMargin()
Change-Id: I15bde2652ca39c2ea43036557c36b77c5ead0d32 Reviewed-on: https://gerrit.libreoffice.org/29750 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'sw/source/core/layout/pagechg.cxx')
-rw-r--r--sw/source/core/layout/pagechg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/pagechg.cxx b/sw/source/core/layout/pagechg.cxx
index 720a541631b8..0257f12721e5 100644
--- a/sw/source/core/layout/pagechg.cxx
+++ b/sw/source/core/layout/pagechg.cxx
@@ -1528,7 +1528,7 @@ void SwRootFrame::AssertPageFlys( SwPageFrame *pPage )
// It can move by itself. Just send a modify to its anchor attribute.
#if OSL_DEBUG_LEVEL > 1
const size_t nCnt = pPage->GetSortedObjs()->size();
- rFormat.NotifyClients( 0, (SwFormatAnchor*)&rAnch );
+ rFormat.NotifyClients( nullptr, &rAnch );
OSL_ENSURE( !pPage->GetSortedObjs() ||
nCnt != pPage->GetSortedObjs()->size(),
"Object couldn't be reattached!" );