diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-10-13 08:02:22 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-10-13 08:17:42 +0000 |
commit | 192edafdd0e0ce38665d14022b4511eba1a9c954 (patch) | |
tree | eae241bfc054a204d624454a4ac8601cedb286c5 /sw/source/core/layout/pagechg.cxx | |
parent | Use FeatureStateEvent directly for status updates (diff) | |
download | core-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.cxx | 2 |
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!" ); |