summaryrefslogtreecommitdiff
path: root/basic/source
diff options
context:
space:
mode:
authorGregor Hartmann <gh@openoffice.org>2002-11-12 15:29:27 +0000
committerGregor Hartmann <gh@openoffice.org>2002-11-12 15:29:27 +0000
commit2cdc39cf14687acd1174b630af3c5eb68d634d2f (patch)
tree652a986244f4d89ddd5c47d967d5372c7ae55bad /basic/source
parent0db43f130f8b4020dcf76fbcadd29322a505f1a3 (diff)
#105024#remove Tilde before comparing
Diffstat (limited to 'basic/source')
-rw-r--r--basic/source/app/app.cxx5
-rw-r--r--basic/source/app/status.cxx6
2 files changed, 6 insertions, 5 deletions
diff --git a/basic/source/app/app.cxx b/basic/source/app/app.cxx
index 55715e4d95ff..4d9726ce4a21 100644
--- a/basic/source/app/app.cxx
+++ b/basic/source/app/app.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: app.cxx,v $
*
- * $Revision: 1.41 $
+ * $Revision: 1.42 $
*
- * last change: $Author: gh $ $Date: 2002-11-12 11:33:28 $
+ * last change: $Author: gh $ $Date: 2002-11-12 16:29:27 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1634,6 +1634,7 @@ long BasicFrame::Command( short nID, BOOL bChecked )
MenuBar* pMenu = GetMenuBar();
PopupMenu* pWinMenu = pMenu->GetPopupMenu( RID_APPWINDOW );
String aName = pWinMenu->GetItemText( nID );
+ aName..EraseAllChars( '~' );
AppWin* pWin = FindWin( aName );
if ( pWin )
pWin->ToTop();
diff --git a/basic/source/app/status.cxx b/basic/source/app/status.cxx
index 9e9cd80c47e7..f8d3ecbf6f1c 100644
--- a/basic/source/app/status.cxx
+++ b/basic/source/app/status.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: status.cxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 16:12:09 $
+ * last change: $Author: gh $ $Date: 2002-11-12 16:29:27 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -119,7 +119,7 @@ IMPL_LINK( StatusLine, ActivateTask, TaskToolBox*, pTTB )
x = pTTB->GetItemPos( pTTB->GetCurItemId() );
x = pWinMenu->GetItemId( nFirstWinPos );
x = pWinMenu->GetItemCount();
- AppWin* pWin = pFrame->FindWin( pWinMenu->GetItemText( pWinMenu->GetItemId( nFirstWinPos ) ) );
+ AppWin* pWin = pFrame->FindWin( pWinMenu->GetItemText( pWinMenu->GetItemId( nFirstWinPos ) ).EraseAllChars( '~' ) );
if ( pWin )
{
pWin->Minimize( FALSE );