From ea9849882d5eac52694b6f1e10791667cb028ee1 Mon Sep 17 00:00:00 2001 From: Vladimir Glazounov Date: Thu, 24 Feb 2005 15:58:42 +0000 Subject: INTEGRATION: CWS tbe19 (1.11.26); FILE MERGED 2005/01/25 16:07:51 tbe 1.11.26.1: #i40346# embedded documents (forms/reports) appear without title in macro dialog --- basctl/source/basicide/basides2.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'basctl') diff --git a/basctl/source/basicide/basides2.cxx b/basctl/source/basicide/basides2.cxx index c2617c916af6..17746e361dbb 100644 --- a/basctl/source/basicide/basides2.cxx +++ b/basctl/source/basicide/basides2.cxx @@ -2,9 +2,9 @@ * * $RCSfile: basides2.cxx,v $ * - * $Revision: 1.11 $ + * $Revision: 1.12 $ * - * last change: $Author: obo $ $Date: 2004-11-17 10:26:41 $ + * last change: $Author: vg $ $Date: 2005-02-24 16:58:42 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -189,7 +189,7 @@ void BasicIDEShell::SetMDITitle() if ( m_aCurLibName.Len() ) { LibraryLocation eLocation = BasicIDE::GetLibraryLocation( m_pCurShell, m_aCurLibName ); - aTitle = BasicIDE::GetTitle( m_pCurShell, eLocation, SFX_TITLE_FILENAME ); + aTitle = BasicIDE::GetTitle( m_pCurShell, eLocation, SFX_TITLE_CAPTION ); aTitle += '.'; aTitle += m_aCurLibName; } @@ -202,7 +202,7 @@ void BasicIDEShell::SetMDITitle() if ( pViewFrame ) { SfxObjectShell* pShell = pViewFrame->GetObjectShell(); - if ( pShell && aTitle != pShell->GetTitle( SFX_TITLE_FILENAME ) ) + if ( pShell && aTitle != pShell->GetTitle( SFX_TITLE_CAPTION ) ) { pShell->SetTitle( aTitle ); pShell->SetModified( FALSE ); -- cgit