summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/drviews1.cxx
diff options
context:
space:
mode:
authorMatthias Huetsch [mhu] <matthias.huetsch@oracle.com>2011-01-27 18:16:28 +0100
committerMatthias Huetsch [mhu] <matthias.huetsch@oracle.com>2011-01-27 18:16:28 +0100
commitcff21146b09d6bd46d83cf6a36bac14d340b6c9c (patch)
treefd3c068484f281253ebe425550fe6b0798d1f79d /sd/source/ui/view/drviews1.cxx
parent563aab4eddce3503905a2b404f653531b3ba9439 (diff)
parentfa27b2da2f8e7bd9bafb4a057318ac22577727dd (diff)
Update from master repository (DEV300_m98).
Diffstat (limited to 'sd/source/ui/view/drviews1.cxx')
-rwxr-xr-xsd/source/ui/view/drviews1.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sd/source/ui/view/drviews1.cxx b/sd/source/ui/view/drviews1.cxx
index 98d0b7551705..f2075a50bd3e 100755
--- a/sd/source/ui/view/drviews1.cxx
+++ b/sd/source/ui/view/drviews1.cxx
@@ -219,7 +219,7 @@ void DrawViewShell::SelectionHasChanged (void)
}
ViewShellBase& rBase = GetViewShellBase();
- rBase.SetVerbs(0);
+ rBase.SetVerbs( uno::Sequence< embed::VerbDescriptor >() );
try
{
@@ -1244,6 +1244,7 @@ BOOL DrawViewShell::SwitchPage(USHORT nSelectedPage)
rBindings.Invalidate(SID_DELETE_MASTER_PAGE, TRUE, FALSE);
rBindings.Invalidate(SID_DELETE_PAGE, TRUE, FALSE);
rBindings.Invalidate(SID_ASSIGN_LAYOUT,TRUE,FALSE);
+ rBindings.Invalidate(SID_INSERTPAGE,TRUE,FALSE);
UpdatePreview( mpActualPage );
mpDrawView->AdjustMarkHdl();