summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/sdi/prevwsh.sdi1
-rw-r--r--sc/source/ui/view/prevwsh.cxx1
2 files changed, 2 insertions, 0 deletions
diff --git a/sc/sdi/prevwsh.sdi b/sc/sdi/prevwsh.sdi
index 530dbc28da04..5f1a1beeeceb 100644
--- a/sc/sdi/prevwsh.sdi
+++ b/sc/sdi/prevwsh.sdi
@@ -163,6 +163,7 @@ interface TablePrintPreview
SID_SAVEDOC [ StateMethod = GetState; Export = FALSE; ]
SID_SAVEASDOC [ StateMethod = GetState; Export = FALSE; ]
SID_MAIL_SENDDOC [ StateMethod = GetState; Export = FALSE; ]
+ SID_VIEW_DATA_SOURCE_BROWSER [ StateMethod = GetState; Export = FALSE; ]
}
diff --git a/sc/source/ui/view/prevwsh.cxx b/sc/source/ui/view/prevwsh.cxx
index ebc4e68175f1..091baec7e786 100644
--- a/sc/source/ui/view/prevwsh.cxx
+++ b/sc/source/ui/view/prevwsh.cxx
@@ -842,6 +842,7 @@ void ScPreviewShell::GetState( SfxItemSet& rSet )
case SID_SAVEDOC:
case SID_SAVEASDOC:
case SID_MAIL_SENDDOC:
+ case SID_VIEW_DATA_SOURCE_BROWSER:
rSet.DisableItem(nWhich);
break;
case SID_PREVIEW_PREVIOUS: