Kaydet (Commit) ea984988 authored tarafından Vladimir Glazounov's avatar Vladimir Glazounov

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
üst 925ca30a
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment