summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sd/sdi/app.sdi7
-rw-r--r--sd/source/ui/app/sdmod1.cxx9
-rw-r--r--sd/source/ui/slideshow/slideshowimpl.cxx1
3 files changed, 17 insertions, 0 deletions
diff --git a/sd/sdi/app.sdi b/sd/sdi/app.sdi
index cd3959258cfb..69df9f364234 100644
--- a/sd/sdi/app.sdi
+++ b/sd/sdi/app.sdi
@@ -35,6 +35,13 @@ interface StarImpress
StateMethod = GetState ;
]
+ SID_OPENHYPERLINK // ole() api()
+ [
+
+ ExecMethod = Execute ;
+ StateMethod = GetState ;
+ ]
+
SID_AUTOSPELL_CHECK // ole() api()
[
diff --git a/sd/source/ui/app/sdmod1.cxx b/sd/source/ui/app/sdmod1.cxx
index 44fd6337ca09..f87c9a11c0bd 100644
--- a/sd/source/ui/app/sdmod1.cxx
+++ b/sd/source/ui/app/sdmod1.cxx
@@ -230,6 +230,7 @@ void SdModule::Execute(SfxRequest& rReq)
break;
+ case SID_OPENHYPERLINK:
case SID_OPENDOC:
{
BOOL bIntercept = FALSE;
@@ -405,6 +406,14 @@ void SdModule::GetState(SfxItemSet& rItemSet)
rItemSet.Put(*pItem);
}
+ // der Status von SID_OPENHYPERLINK wird von der Basisklasse bestimmt
+ if (rItemSet.GetItemState(SID_OPENHYPERLINK) != SFX_ITEM_UNKNOWN)
+ {
+ const SfxPoolItem* pItem = SFX_APP()->GetSlotState(SID_OPENHYPERLINK, SFX_APP()->GetInterface());
+ if (pItem)
+ rItemSet.Put(*pItem);
+ }
+
if( SFX_ITEM_AVAILABLE == rItemSet.GetItemState( SID_AUTOSPELL_CHECK ) )
{
::sd::DrawDocShell* pDocSh =
diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx
index a0c6a2cf5672..4128a0d9a93f 100644
--- a/sd/source/ui/slideshow/slideshowimpl.cxx
+++ b/sd/source/ui/slideshow/slideshowimpl.cxx
@@ -133,6 +133,7 @@ static USHORT __READONLY_DATA pAllowed[] =
SID_JUMPTOMARK , // 5598
// SID_SHOWPOPUPS , // 5929
// SID_GALLERY , // 5960
+ SID_OPENHYPERLINK , // 6676
// SID_GALLERY_FORMATS , // 10280
SID_NAVIGATOR , // 10366
// SID_FM_DESIGN_MODE , // 10629