INTEGRATION: CWS sdwarningsbegone (1.6.38); FILE MERGED

2006/11/22 12:42:11 cl 1.6.38.1: #i69285# warning free code changes for unxlngi6.pro
This commit is contained in:
Kurt Zenker
2006-12-14 09:45:50 +00:00
parent 73f3ef28da
commit 0ffb45ac27

View File

@@ -4,9 +4,9 @@
* *
* $RCSfile: SlsHideSlideFunction.cxx,v $ * $RCSfile: SlsHideSlideFunction.cxx,v $
* *
* $Revision: 1.7 $ * $Revision: 1.8 $
* *
* last change: $Author: kz $ $Date: 2006-12-12 16:07:27 $ * last change: $Author: kz $ $Date: 2006-12-14 10:45:50 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
@@ -118,16 +118,16 @@ void HideSlideFunction::DoExecute (SfxRequest& rRequest)
{ {
model::SharedPageDescriptor pDescriptor (aSelectedPages.GetNextElement()); model::SharedPageDescriptor pDescriptor (aSelectedPages.GetNextElement());
pDescriptor->GetPage()->SetExcluded (eState==EXCLUDED); pDescriptor->GetPage()->SetExcluded (eState==EXCLUDED);
static_cast<view::SlideSorterView*>(pView)->RequestRepaint(pDescriptor); static_cast<view::SlideSorterView*>(mpView)->RequestRepaint(pDescriptor);
} }
} }
SfxBindings& rBindings = pViewShell->GetViewFrame()->GetBindings(); SfxBindings& rBindings = mpViewShell->GetViewFrame()->GetBindings();
rBindings.Invalidate (SID_PRESENTATION); rBindings.Invalidate (SID_PRESENTATION);
rBindings.Invalidate (SID_REHEARSE_TIMINGS); rBindings.Invalidate (SID_REHEARSE_TIMINGS);
rBindings.Invalidate (SID_HIDE_SLIDE); rBindings.Invalidate (SID_HIDE_SLIDE);
rBindings.Invalidate (SID_SHOW_SLIDE); rBindings.Invalidate (SID_SHOW_SLIDE);
pDoc->SetChanged(); mpDoc->SetChanged();
} }
@@ -174,5 +174,4 @@ HideSlideFunction::ExclusionState HideSlideFunction::GetExclusionState (
return eState; return eState;
} }
} } } // end of namespace ::sd::slidesorter::controller } } } // end of namespace ::sd::slidesorter::controller