diff options
author | Kurt Zenker <kz@openoffice.org> | 2007-10-09 14:21:50 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2007-10-09 14:21:50 +0000 |
commit | 0dfdaf1d629171edcb4e037a340f56eec223bc80 (patch) | |
tree | 7b69dd1f042e5ffbd0e5d8e34bfd4f38145af9b9 /basctl | |
parent | aacb329376da38f4915097339145b3b0cbeaadcf (diff) |
INTEGRATION: CWS basmgr03 (1.20.2); FILE MERGED
2007/07/31 12:32:55 fs 1.20.2.1: #i73331# signature functionality outsourced to DocumentSignature class
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/basides2.cxx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/basctl/source/basicide/basides2.cxx b/basctl/source/basicide/basides2.cxx index 494e95e61564..1505d6c8d4a6 100644 --- a/basctl/source/basicide/basides2.cxx +++ b/basctl/source/basicide/basides2.cxx @@ -4,9 +4,9 @@ * * $RCSfile: basides2.cxx,v $ * - * $Revision: 1.20 $ + * $Revision: 1.21 $ * - * last change: $Author: obo $ $Date: 2007-07-17 13:22:10 $ + * last change: $Author: kz $ $Date: 2007-10-09 15:21:50 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -36,6 +36,8 @@ // MARKER(update_precomp.py): autogen include statement, do not remove #include "precompiled_basctl.hxx" +#include "docsignature.hxx" + #define SI_NOCONTROL #define SI_NOSBXCONTROLS @@ -176,8 +178,8 @@ void BasicIDEShell::SetMDITitle() aTitle = String( IDEResId( RID_STR_ALL ) ); } - if ( m_aCurDocument.isDocument() && - m_aCurDocument.getScriptingSignatureState() == SIGNATURESTATE_SIGNATURES_OK ) + ::basctl::DocumentSignature aCurSignature( m_aCurDocument ); + if ( aCurSignature.getScriptingSignatureState() == SIGNATURESTATE_SIGNATURES_OK ) { aTitle += String::CreateFromAscii( " " ); aTitle += String( IDEResId( RID_STR_SIGNED ) ); |