summaryrefslogtreecommitdiff
path: root/rsc/source/res
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2016-05-08 08:08:17 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-09 07:55:10 +0000
commit1edcad0daca7f00559fe7cf100438e105623b3eb (patch)
treeef0be4f736cf9b0977ff14e4e58e9a405f4a59e1 /rsc/source/res
parent116cf0b298ed62f26a60db51164f6510007d2579 (diff)
convert SFX_STYLE_ITEM to scoped enum
Change-Id: I929603a12c29931074a467d1472ef686c1d4e8ee Reviewed-on: https://gerrit.libreoffice.org/24751 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'rsc/source/res')
-rw-r--r--rsc/source/res/rscclass.cxx10
-rw-r--r--rsc/source/res/rsctop.cxx11
2 files changed, 21 insertions, 0 deletions
diff --git a/rsc/source/res/rscclass.cxx b/rsc/source/res/rscclass.cxx
index c88cf082b664..5447270e649e 100644
--- a/rsc/source/res/rscclass.cxx
+++ b/rsc/source/res/rscclass.cxx
@@ -278,6 +278,16 @@ ERRTYPE RscClass::SetVariable( Atom nVarName,
return ERR_OK;
}
+ERRTYPE RscClass::SetVariable( Atom nVarName,
+ RscTop * pClass,
+ RSCINST * pDflt,
+ RSCVAR nVarType,
+ SfxStyleItem nMask,
+ Atom nDataBaseName)
+{
+ return SetVariable(nVarName, pClass, pDflt, nVarType, (sal_uInt32)nMask, nDataBaseName);
+}
+
void RscClass::EnumVariables( void * pData, VarEnumCallbackProc pProc )
{
sal_uInt32 i;
diff --git a/rsc/source/res/rsctop.cxx b/rsc/source/res/rsctop.cxx
index 02ee9413632e..210e7c3f258a 100644
--- a/rsc/source/res/rsctop.cxx
+++ b/rsc/source/res/rsctop.cxx
@@ -102,6 +102,17 @@ ERRTYPE RscTop::SetVariable( Atom nVarName, RscTop * pClass,
return ERR_UNKNOWN_METHOD;
}
+ERRTYPE RscTop::SetVariable( Atom nVarName, RscTop * pClass,
+ RSCINST * pDflt, RSCVAR nVarType, SfxStyleItem nMask,
+ Atom nDataBaseName )
+{
+ if( pSuperClass )
+ return pSuperClass->SetVariable( nVarName, pClass, pDflt,
+ nVarType, nMask, nDataBaseName );
+ else
+ return ERR_UNKNOWN_METHOD;
+}
+
void RscTop::EnumVariables( void * pData, VarEnumCallbackProc pProc )
{
if( pSuperClass )