summaryrefslogtreecommitdiff
path: root/starmath/inc/document.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-07-22 14:35:27 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-07-25 06:09:17 +0000
commit938821fb08e427864db6a10642f385bde9803f6c (patch)
tree759da9d0d0905a90f6dac2f0bf750721c17421c4 /starmath/inc/document.hxx
parent4d4d77a1aad1bcae18bad35dad5308d33d6b2e51 (diff)
new loplugin overrideparam
verify that parameters on override methods have the same set of default values for their params as their parent/super-methods do. Change-Id: Ibdbc1c6e417fbaa680ea025a6bbf5ba9c2e5bcd2 Reviewed-on: https://gerrit.libreoffice.org/27437 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'starmath/inc/document.hxx')
-rw-r--r--starmath/inc/document.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/inc/document.hxx b/starmath/inc/document.hxx
index 667102d5be44..fcf1c200f7af 100644
--- a/starmath/inc/document.hxx
+++ b/starmath/inc/document.hxx
@@ -200,7 +200,7 @@ public:
void GetState(SfxItemSet &);
virtual void SetVisArea (const Rectangle & rVisArea) override;
- virtual void SetModified(bool bModified) override;
+ virtual void SetModified(bool bModified = true) override;
/** Get a cursor for modifying this document
* @remarks Don't store this reference, a new cursor may be made...