[Libreoffice-commits] core.git: sw/source
Tor Lillqvist
tml at collabora.com
Wed Nov 11 00:36:02 PST 2015
sw/source/core/inc/rootfrm.hxx | 2 +-
sw/source/core/layout/dumpfilter.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 5af873303aeb056dddf5604fc7d9054e470dc94c
Author: Tor Lillqvist <tml at collabora.com>
Date: Wed Nov 11 10:11:45 2015 +0200
Avoid a default parameter that was under-used anyway (loplugin:defaultparams)
Change-Id: I845e2ceab1cf35a021eea23632291111c8f43362
diff --git a/sw/source/core/inc/rootfrm.hxx b/sw/source/core/inc/rootfrm.hxx
index 562fff6..91a0919 100644
--- a/sw/source/core/inc/rootfrm.hxx
+++ b/sw/source/core/inc/rootfrm.hxx
@@ -254,7 +254,7 @@ public:
static void AssertPageFlys( SwPageFrm * );
/// Invalidate all Content, Size or PrtArea
- void InvalidateAllContent( sal_uInt8 nInvalidate = INV_SIZE );
+ void InvalidateAllContent( sal_uInt8 nInvalidate );
/**
* Invalidate/re-calculate the position of all floating
diff --git a/sw/source/core/layout/dumpfilter.cxx b/sw/source/core/layout/dumpfilter.cxx
index be559b4..525117a 100644
--- a/sw/source/core/layout/dumpfilter.cxx
+++ b/sw/source/core/layout/dumpfilter.cxx
@@ -99,7 +99,7 @@ namespace sw
pXDoc->GetDocShell()->GetWrtShell()->StartAction();
Rectangle aRect( 0, 0, 26000, 21000 );
pXDoc->GetDocShell()->SetVisArea( aRect );
- pLayout->InvalidateAllContent( );
+ pLayout->InvalidateAllContent( INV_SIZE );
pXDoc->GetDocShell()->GetWrtShell()->EndAction();
// Dump the layout XML into the XOutputStream
More information about the Libreoffice-commits
mailing list