summaryrefslogtreecommitdiff
path: root/sc/source/filter/inc/scenariobuffer.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/inc/scenariobuffer.hxx')
-rw-r--r--sc/source/filter/inc/scenariobuffer.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/filter/inc/scenariobuffer.hxx b/sc/source/filter/inc/scenariobuffer.hxx
index cfe18f7eb94a..ddfbee5e86a8 100644
--- a/sc/source/filter/inc/scenariobuffer.hxx
+++ b/sc/source/filter/inc/scenariobuffer.hxx
@@ -44,6 +44,7 @@ struct ScenarioModel
OUString maUser; /// Name of user created the scenario.
bool mbLocked; /// True = input cell values locked.
bool mbHidden; /// True = scenario is hidden.
+ bool mbActive;
explicit ScenarioModel();
};
@@ -51,7 +52,7 @@ struct ScenarioModel
class Scenario : public WorkbookHelper
{
public:
- explicit Scenario( const WorkbookHelper& rHelper, sal_Int16 nSheet );
+ explicit Scenario( const WorkbookHelper& rHelper, sal_Int16 nSheet, bool bIsActive );
/** Imports a scenario definition from a scenario element. */
void importScenario( const AttributeList& rAttribs );