diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-08-08 11:46:36 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-08-08 11:46:36 +0200 |
commit | 0bab74d6357c6438cfb38d56dd8f75217af6bd2a (patch) | |
tree | b216ed93ed53088cf1f485daabe32bee4af39f74 /vcl/quartz | |
parent | b49fbe280398acccefb9aaf38ec23779353d5744 (diff) |
loplugin:overrideparam
Change-Id: I34fc490407f2bdac036dced5360b438ffb1cb4e2
Diffstat (limited to 'vcl/quartz')
-rw-r--r-- | vcl/quartz/ctlayout.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/quartz/ctlayout.cxx b/vcl/quartz/ctlayout.cxx index 0c46c95f6589..d4eed46eb38c 100644 --- a/vcl/quartz/ctlayout.cxx +++ b/vcl/quartz/ctlayout.cxx @@ -42,12 +42,12 @@ public: virtual bool DrawTextSpecial( SalGraphics& rGraphics, sal_uInt32 flags ) const override; virtual int GetNextGlyphs( int nLen, sal_GlyphId* pOutGlyphIds, Point& rPos, int&, - DeviceCoordinate* pGlyphAdvances, int* pCharIndexes, - const PhysicalFontFace** pFallbackFonts ) const override; + DeviceCoordinate* pGlyphAdvances = nullptr, int* pCharIndexes = nullptr, + const PhysicalFontFace** pFallbackFonts = nullptr ) const override; virtual DeviceCoordinate GetTextWidth() const override; virtual DeviceCoordinate FillDXArray( DeviceCoordinate* pDXArray ) const override; - virtual sal_Int32 GetTextBreak(DeviceCoordinate nMaxWidth, DeviceCoordinate nCharExtra, int nFactor) const override; + virtual sal_Int32 GetTextBreak(DeviceCoordinate nMaxWidth, DeviceCoordinate nCharExtra = 0, int nFactor = 1) const override; virtual void GetCaretPositions( int nArraySize, long* pCaretXArray ) const override; virtual bool GetBoundRect( SalGraphics&, Rectangle& ) const override; |