summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2005-02-24 15:58:42 +0000
committerVladimir Glazounov <vg@openoffice.org>2005-02-24 15:58:42 +0000
commitea9849882d5eac52694b6f1e10791667cb028ee1 (patch)
tree0924416530f1dab586aa5d9fdeb91fa13e090d62 /basctl
parent925ca30a376e46f71617920ad0b03ec49984d7ca (diff)
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
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/basides2.cxx8
1 files changed, 4 insertions, 4 deletions
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 );