diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-13 13:21:04 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-04-15 11:35:03 +0000 |
commit | d208cf834f4f191558ae27ea7a8c7a31b8e440a6 (patch) | |
tree | 4b318cdb42b9888197247089cb0a7349f122dd99 /basctl/source/basicide/basides1.cxx | |
parent | 9782438a5887c40246016c1f2b5fe12401d2c68d (diff) |
convert SIGNATURESTATE_ constants to scoped enum
Change-Id: I715e39599464a199a8b78ec274bfe47b90fc4bb7
Reviewed-on: https://gerrit.libreoffice.org/15301
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'basctl/source/basicide/basides1.cxx')
-rw-r--r-- | basctl/source/basicide/basides1.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/basctl/source/basicide/basides1.cxx b/basctl/source/basicide/basides1.cxx index eabb0a24b03d..4a952cad67ff 100644 --- a/basctl/source/basicide/basides1.cxx +++ b/basctl/source/basicide/basides1.cxx @@ -733,13 +733,13 @@ void Shell::GetState(SfxItemSet &rSet) break; case SID_SIGNATURE: { - sal_uInt16 nState = 0; + SignatureState nState = SignatureState::NOSIGNATURES; if ( pCurWin ) { DocumentSignature aSignature( pCurWin->GetDocument() ); nState = aSignature.getScriptingSignatureState(); } - rSet.Put( SfxUInt16Item( SID_SIGNATURE, nState ) ); + rSet.Put( SfxUInt16Item( SID_SIGNATURE, static_cast<sal_uInt16>(nState) ) ); } break; case SID_BASICIDE_MODULEDLG: |