summaryrefslogtreecommitdiff
path: root/rsc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-20 11:46:10 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-20 11:46:10 +0200
commitc0fc1c54a3372400f6156ed830293cac3279d6f8 (patch)
tree73301852318ec23fb264684575b6a52f749f9fa4 /rsc
parentd0e371ecb6e5e68614bbc0d75a5296ad6e0934b1 (diff)
loplugin:defaultparams
Change-Id: I80c422a961170f25d2a674bb347b9d330b6c7fc0
Diffstat (limited to 'rsc')
-rw-r--r--rsc/source/parser/rscicpx.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/rsc/source/parser/rscicpx.cxx b/rsc/source/parser/rscicpx.cxx
index 16eda4454fb0..608126f2f243 100644
--- a/rsc/source/parser/rscicpx.cxx
+++ b/rsc/source/parser/rscicpx.cxx
@@ -350,7 +350,7 @@ RscTop * RscTypCont::InitClassWorkWindow( RscTop * pSuper )
// add variable
nVarId = aNmTb.Put( "Show", VARNAME );
- pClassWorkWindow->SetVariable( nVarId, pShow, NULL );
+ pClassWorkWindow->SetVariable( nVarId, pShow );
}
return pClassWorkWindow;
@@ -713,7 +713,7 @@ RscTop * RscTypCont::InitClassKeyCode( RscTop * pSuper, RscEnum * pKey )
SETCONST( pKeyFunc, "KEYFUNC_FINDBACKWARD", KeyFuncType::FINDBACKWARD );
// add variable
nVarId = aNmTb.Put( "Function", VARNAME );
- pClassKeyCode->SetVariable( nVarId, pKeyFunc, NULL );
+ pClassKeyCode->SetVariable( nVarId, pKeyFunc );
}
return pClassKeyCode;