summaryrefslogtreecommitdiff
path: root/extensions/source
diff options
context:
space:
mode:
authorCarsten Driesner <cd@openoffice.org>2002-04-22 06:42:24 +0000
committerCarsten Driesner <cd@openoffice.org>2002-04-22 06:42:24 +0000
commit9a0118fd12d214856fe2b7f5670e2d6e9b0b59ad (patch)
tree4205ca6a41c2c30d49d2f08f89e799c5c82c2275 /extensions/source
parent9ab01abcee4fe009fd432583bd98681fe0cf5aed (diff)
#98419# Added support for new .uno commands
Diffstat (limited to 'extensions/source')
-rw-r--r--extensions/source/bibliography/framectr.cxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/extensions/source/bibliography/framectr.cxx b/extensions/source/bibliography/framectr.cxx
index 98fbc064713f..db33ef0d2d35 100644
--- a/extensions/source/bibliography/framectr.cxx
+++ b/extensions/source/bibliography/framectr.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: framectr.cxx,v $
*
- * $Revision: 1.13 $
+ * $Revision: 1.14 $
*
- * last change: $Author: fs $ $Date: 2001-10-22 07:31:41 $
+ * last change: $Author: cd $ $Date: 2002-04-22 07:42:24 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -312,7 +312,8 @@ uno::Reference< frame::XDispatch > BibFrameController_Impl::queryDispatch( cons
if ( aCommand.EqualsAscii("Undo") || aCommand.EqualsAscii("Cut") ||
aCommand.EqualsAscii("Copy") || aCommand.EqualsAscii("Paste") ||
aCommand.EqualsAscii("SelectAll") || aCommand.Copy(0,4).EqualsAscii("Bib/")||
- aURL.Complete.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("slot:5503")))
+ aURL.Complete.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("slot:5503")) ||
+ aCommand.EqualsAscii("Close"))
return (frame::XDispatch*) this;
}
@@ -463,7 +464,8 @@ void BibFrameController_Impl::dispatch(const util::URL& aURL, const uno::Sequenc
{
RemoveFilter();
}
- else if(aURL.Complete.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("slot:5503")))
+ else if(aURL.Complete.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("slot:5503")) ||
+ aCommand.EqualsAscii("Close"))
{
Application::PostUserEvent( STATIC_LINK( this, BibFrameController_Impl,
DisposeHdl ), 0 );