diff options
Diffstat (limited to 'sdext/source/presenter')
4 files changed, 4 insertions, 4 deletions
diff --git a/sdext/source/presenter/PresenterConfigurationAccess.cxx b/sdext/source/presenter/PresenterConfigurationAccess.cxx index a000eb9279dc..7855179b2d4c 100644 --- a/sdext/source/presenter/PresenterConfigurationAccess.cxx +++ b/sdext/source/presenter/PresenterConfigurationAccess.cxx @@ -49,7 +49,7 @@ PresenterConfigurationAccess::PresenterConfigurationAccess ( uno::Sequence<uno::Any> aCreationArguments(comphelper::InitAnyPropertySequence( { {"nodepath", uno::Any(rsRootName)}, - {"depth", uno::Any((sal_Int32)-1)} + {"depth", uno::Any(sal_Int32(-1))} })); OUString sAccessService; diff --git a/sdext/source/presenter/PresenterNotesView.cxx b/sdext/source/presenter/PresenterNotesView.cxx index ababf72265ae..7ea54d85cc7c 100644 --- a/sdext/source/presenter/PresenterNotesView.cxx +++ b/sdext/source/presenter/PresenterNotesView.cxx @@ -642,7 +642,7 @@ void PresenterNotesView::ChangeFontSize (const sal_Int32 nSizeChange) return; pConfiguration->GoToChild(OUString("Font")); - pConfiguration->SetProperty("Size", Any((sal_Int32)(nNewSize+0.5))); + pConfiguration->SetProperty("Size", Any(static_cast<sal_Int32>(nNewSize+0.5))); pConfiguration->CommitChanges(); } catch (Exception&) diff --git a/sdext/source/presenter/PresenterScrollBar.cxx b/sdext/source/presenter/PresenterScrollBar.cxx index ec244a2ef520..5cc42ef5e64f 100644 --- a/sdext/source/presenter/PresenterScrollBar.cxx +++ b/sdext/source/presenter/PresenterScrollBar.cxx @@ -533,7 +533,7 @@ void PresenterScrollBar::UpdateWidthOrHeight ( if (xBitmap.is()) { const geometry::IntegerSize2D aBitmapSize (xBitmap->getSize()); - const sal_Int32 nBitmapSize = (sal_Int32)GetMinor(aBitmapSize.Width, aBitmapSize.Height); + const sal_Int32 nBitmapSize = static_cast<sal_Int32>(GetMinor(aBitmapSize.Width, aBitmapSize.Height)); if (nBitmapSize > rSize) rSize = nBitmapSize; } diff --git a/sdext/source/presenter/PresenterWindowManager.cxx b/sdext/source/presenter/PresenterWindowManager.cxx index 31cfa9d337be..99b71da4dd26 100644 --- a/sdext/source/presenter/PresenterWindowManager.cxx +++ b/sdext/source/presenter/PresenterWindowManager.cxx @@ -173,7 +173,7 @@ void PresenterWindowManager::NotifyViewCreation (const Reference<XView>& rxView) mpPresenterController->GetPaintManager()->Invalidate( pDescriptor->mxContentWindow, - (sal_Int16)(awt::InvalidateStyle::TRANSPARENT + sal_Int16(awt::InvalidateStyle::TRANSPARENT | awt::InvalidateStyle::CHILDREN)); } } |