diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-07-25 14:53:18 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-07-26 08:15:21 +0000 |
commit | 60f36bb7cd5956fa30b3f7ebe8a1489ed0f98685 (patch) | |
tree | dce874ec32705c11a470ca7ff887b6ca6686912d /sc/source/ui/view/cellsh3.cxx | |
parent | 00a58dfead6e05724b252f74e24f9f6c89a68d76 (diff) |
sc: convert SC_SCENARIO_.. defines typed flags ..
ScScenarioFlags
add ScScenarioFlags::NONE for 0.
replace uses of '-= flag' with '&= ~flag'.
Change-Id: I003c0ca1f59b060f52935fec8bb6282fd9981805
Reviewed-on: https://gerrit.libreoffice.org/27464
Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sc/source/ui/view/cellsh3.cxx')
-rw-r--r-- | sc/source/ui/view/cellsh3.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/view/cellsh3.cxx b/sc/source/ui/view/cellsh3.cxx index 8ce210d42f39..e8766a0661bf 100644 --- a/sc/source/ui/view/cellsh3.cxx +++ b/sc/source/ui/view/cellsh3.cxx @@ -455,7 +455,7 @@ void ScCellShell::Execute( SfxRequest& rReq ) OUString aName; OUString aComment; Color aColor; - sal_uInt16 nFlags; + ScScenarioFlags nFlags; OUString aTmp; pDoc->GetName(nTab, aTmp); @@ -496,7 +496,7 @@ void ScCellShell::Execute( SfxRequest& rReq ) aArgComment = static_cast<const SfxStringItem*>(pItem)->GetValue(); aColor = Color( COL_LIGHTGRAY ); // Default - nFlags = 0; // not-TwoWay + nFlags = ScScenarioFlags::NONE; // not TwoWay pTabViewShell->MakeScenario( aArgName, aArgComment, aColor, nFlags ); if( ! rReq.IsAPI() ) |