From 666f732412e739fda6d0578752156dbb11931a2f Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 20 Oct 2015 11:47:18 +0200 Subject: loplugin:defaultparams Change-Id: I3e5ee77b51eb8e1207d3f95e6a1d9d8272532ba6 --- vcl/source/outdev/text.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vcl/source/outdev') diff --git a/vcl/source/outdev/text.cxx b/vcl/source/outdev/text.cxx index d03f3cb106c8..dc1bcfcbacb1 100644 --- a/vcl/source/outdev/text.cxx +++ b/vcl/source/outdev/text.cxx @@ -914,7 +914,7 @@ void OutputDevice::DrawText( const Point& rStartPt, const OUString& rStr, if ( !IsDeviceOutputNecessary() || pVector ) return; - SalLayout* pSalLayout = ImplLayout(rStr, nIndex, nLen, rStartPt, 0, NULL); + SalLayout* pSalLayout = ImplLayout(rStr, nIndex, nLen, rStartPt); if( pSalLayout ) { ImplDrawText( *pSalLayout ); @@ -1184,7 +1184,7 @@ void OutputDevice::DrawStretchText( const Point& rStartPt, sal_uLong nWidth, if ( !IsDeviceOutputNecessary() ) return; - SalLayout* pSalLayout = ImplLayout(rStr, nIndex, nLen, rStartPt, nWidth, NULL); + SalLayout* pSalLayout = ImplLayout(rStr, nIndex, nLen, rStartPt, nWidth); if( pSalLayout ) { ImplDrawText( *pSalLayout ); @@ -1428,7 +1428,7 @@ std::shared_ptr OutputDevice::CreateTextLayoutCache( return nullptr; OUString copyBecausePrepareModifiesIt(rString); ImplLayoutArgs aLayoutArgs = ImplPrepareLayoutArgs(copyBecausePrepareModifiesIt, - 0, rString.getLength(), 0, nullptr, SalLayoutFlags::NONE, nullptr); + 0, rString.getLength(), 0, nullptr); SalLayout *const pSalLayout = mpGraphics->GetTextLayout( aLayoutArgs, 0 ); if (!pSalLayout) -- cgit v1.2.3