From 0dfdaf1d629171edcb4e037a340f56eec223bc80 Mon Sep 17 00:00:00 2001 From: Kurt Zenker Date: Tue, 9 Oct 2007 14:21:50 +0000 Subject: 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 --- basctl/source/basicide/basides2.cxx | 10 ++++++---- 1 file 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 ) ); -- cgit