diff options
author | Tor Lillqvist <tml@collabora.com> | 2015-11-11 10:11:45 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2015-11-11 10:35:28 +0200 |
commit | 5af873303aeb056dddf5604fc7d9054e470dc94c (patch) | |
tree | 65f1a9a4d03949b01cb96f9a5f9a606010e56e0d /sw/source | |
parent | 9125dbaf5db5bfb07f93be2cfedf43452a28ae32 (diff) |
Avoid a default parameter that was under-used anyway (loplugin:defaultparams)
Change-Id: I845e2ceab1cf35a021eea23632291111c8f43362
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/core/inc/rootfrm.hxx | 2 | ||||
-rw-r--r-- | sw/source/core/layout/dumpfilter.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/inc/rootfrm.hxx b/sw/source/core/inc/rootfrm.hxx index 562fff67be59..91a09192e1b1 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 be559b4bff35..525117a6f6c9 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 |