summaryrefslogtreecommitdiff
path: root/basic/source/comp/dim.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-02 14:56:27 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-08-04 05:46:22 +0000
commite5e7475febbca460c30eaf4959d3282688383ef2 (patch)
treea3c07eb67978c07ec1fc6acd6f8ca41adc043afb /basic/source/comp/dim.cxx
parent6d9cf658eda57c29c2848a7b6eaf5a8285e14972 (diff)
loplugin:countusersofdefaultparams in basctl..basic
Change-Id: I16fac3317ebf55581cb9aaef676a9759de51d695 Reviewed-on: https://gerrit.libreoffice.org/27793 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'basic/source/comp/dim.cxx')
-rw-r--r--basic/source/comp/dim.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/basic/source/comp/dim.cxx b/basic/source/comp/dim.cxx
index e6c6b9390dd0..2bdf696b703d 100644
--- a/basic/source/comp/dim.cxx
+++ b/basic/source/comp/dim.cxx
@@ -833,7 +833,7 @@ SbiProcDef* SbiParser::ProcDecl( bool bDecl )
pDef->SetType( eType );
if( Peek() == CDECL_ )
{
- Next(); pDef->SetCdecl();
+ Next(); pDef->SetCdecl(true);
}
if( Peek() == LIB )
{
@@ -939,7 +939,7 @@ SbiProcDef* SbiParser::ProcDecl( bool bDecl )
}
if( bByVal )
{
- pPar->SetByVal();
+ pPar->SetByVal(true);
}
if( bOptional )
{