summaryrefslogtreecommitdiff
path: root/rsc/inc
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/inc
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/inc')
-rw-r--r--rsc/inc/rscclass.hxx4
-rw-r--r--rsc/inc/rsctop.hxx6
2 files changed, 10 insertions, 0 deletions
diff --git a/rsc/inc/rscclass.hxx b/rsc/inc/rscclass.hxx
index be4854ae1ba6..976423056f2c 100644
--- a/rsc/inc/rscclass.hxx
+++ b/rsc/inc/rscclass.hxx
@@ -64,6 +64,10 @@ public:
void Pre_dtor() override;
ERRTYPE SetVariable( Atom nVarName, RscTop * pClass,
RSCINST * pDflt,
+ RSCVAR nVarType, SfxStyleItem nMask,
+ Atom nDataBaseName ) override;
+ ERRTYPE SetVariable( Atom nVarName, RscTop * pClass,
+ RSCINST * pDflt,
RSCVAR nVarType, sal_uInt32 nMask,
Atom nDataBaseName ) override;
virtual void EnumVariables( void * pData, VarEnumCallbackProc ) override;
diff --git a/rsc/inc/rsctop.hxx b/rsc/inc/rsctop.hxx
index 1f5f44c18e9d..1c3c739411a2 100644
--- a/rsc/inc/rsctop.hxx
+++ b/rsc/inc/rsctop.hxx
@@ -23,6 +23,7 @@
#include <rsctools.hxx>
#include <rschash.hxx>
#include <rscclobj.hxx>
+#include <rsc/rscsfx.hxx>
typedef sal_uInt32 RSCVAR;
#define VAR_POINTER 0x0001
@@ -81,6 +82,11 @@ public:
// sets the variable
virtual ERRTYPE SetVariable( Atom nVarName, RscTop * pClass,
+ RSCINST * pDflt,
+ RSCVAR nVarType, SfxStyleItem nMask,
+ Atom nDataBaseName = InvalidAtom );
+
+ virtual ERRTYPE SetVariable( Atom nVarName, RscTop * pClass,
RSCINST * pDflt = nullptr,
RSCVAR nVarType = 0, sal_uInt32 nMask = 0,
Atom nDataBaseName = InvalidAtom );