summaryrefslogtreecommitdiff
path: root/extensions/source/bibliography/framectr.cxx
diff options
context:
space:
mode:
authorOliver Specht <os@openoffice.org>2001-06-12 06:24:35 +0000
committerOliver Specht <os@openoffice.org>2001-06-12 06:24:35 +0000
commitc65597a34b7333240b49e86b93387c49fe1dfd4d (patch)
tree65501dfb6d8005cda920e19e130f51567cb5c2b1 /extensions/source/bibliography/framectr.cxx
parent77fb4e650ca6e1cc5f84c9419835b28631d544e4 (diff)
#87943# set the title of the frame
Diffstat (limited to 'extensions/source/bibliography/framectr.cxx')
-rw-r--r--extensions/source/bibliography/framectr.cxx17
1 files changed, 3 insertions, 14 deletions
diff --git a/extensions/source/bibliography/framectr.cxx b/extensions/source/bibliography/framectr.cxx
index dd10e46b6..7adc24e93 100644
--- a/extensions/source/bibliography/framectr.cxx
+++ b/extensions/source/bibliography/framectr.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: framectr.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: os $ $Date: 2001-05-22 11:10:49 $
+ * last change: $Author: os $ $Date: 2001-06-12 07:24:35 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -296,8 +296,7 @@ uno::Reference< frame::XDispatch > BibFrameController_Impl::queryDispatch( cons
String aCommand( aURL.Path );
if ( aCommand.EqualsAscii("Undo") || aCommand.EqualsAscii("Cut") ||
aCommand.EqualsAscii("Copy") || aCommand.EqualsAscii("Paste") ||
- aCommand.EqualsAscii("SelectAll") || aCommand.Copy(0,4).EqualsAscii("Bib/")||
- aCommand.EqualsAscii("Title"))
+ aCommand.EqualsAscii("SelectAll") || aCommand.Copy(0,4).EqualsAscii("Bib/"))
return (frame::XDispatch*) this;
}
@@ -472,16 +471,6 @@ void BibFrameController_Impl::addStatusListener(
aListener->statusChanged( aEvent );
//break; because there are more than one
}
- else
- {
- FeatureStateEvent aEvent;
- aEvent.FeatureURL = aURL;
- aEvent.IsEnabled = sal_True;
- aEvent.Requery = sal_False;
- aEvent.Source = (XDispatch *) this;
- aEvent.State <<= OUString(String(BibResId(RID_BIB_STR_FRAME_TITLE)));
- aListener->statusChanged( aEvent );
- }
}
//-----------------------------------------------------------------------------
void BibFrameController_Impl::removeStatusListener(