summaryrefslogtreecommitdiff
path: root/rsc
diff options
context:
space:
mode:
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;