diff options
Diffstat (limited to 'sd/source/ui/slidesorter')
3 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/slidesorter/view/SlideSorterView.cxx b/sd/source/ui/slidesorter/view/SlideSorterView.cxx index dfd04baeb23f..9b7dcf3bf67e 100644 --- a/sd/source/ui/slidesorter/view/SlideSorterView.cxx +++ b/sd/source/ui/slidesorter/view/SlideSorterView.cxx @@ -743,7 +743,7 @@ void SlideSorterView::CompleteRedraw ( mrSlideSorter.GetContentWindow()->SetTextColor(COL_WHITE); mrSlideSorter.GetContentWindow()->DrawText( gFrameTimeBox, - OUString::valueOf(1 / (gFrameTimeSum / gFrameTimeCount)), + OUString::number(1 / (gFrameTimeSum / gFrameTimeCount)), TEXT_DRAW_RIGHT | TEXT_DRAW_VCENTER); // mrSlideSorter.GetContentWindow()->Invalidate(gFrameTimeBox); #endif diff --git a/sd/source/ui/slidesorter/view/SlsInsertionIndicatorOverlay.cxx b/sd/source/ui/slidesorter/view/SlsInsertionIndicatorOverlay.cxx index 4375dfa2b7f6..87d91d2aca4c 100644 --- a/sd/source/ui/slidesorter/view/SlsInsertionIndicatorOverlay.cxx +++ b/sd/source/ui/slidesorter/view/SlsInsertionIndicatorOverlay.cxx @@ -270,7 +270,7 @@ void InsertionIndicatorOverlay::PaintPageCount ( ::boost::shared_ptr<Font> pFont(Theme::GetFont(Theme::Font_PageCount, rDevice)); if (pFont) { - OUString sNumber (OUString::valueOf(nSelectionCount)); + OUString sNumber (OUString::number(nSelectionCount)); // Determine the size of the (painted) text and create a bounding // box that centers the text on the first preview. diff --git a/sd/source/ui/slidesorter/view/SlsPageObjectPainter.cxx b/sd/source/ui/slidesorter/view/SlsPageObjectPainter.cxx index a87d7a77711f..0eafa0b21eeb 100644 --- a/sd/source/ui/slidesorter/view/SlsPageObjectPainter.cxx +++ b/sd/source/ui/slidesorter/view/SlsPageObjectPainter.cxx @@ -331,7 +331,7 @@ void PageObjectPainter::PaintPageNumber ( // Paint the page number. OSL_ASSERT(rpDescriptor->GetPage()!=NULL); const sal_Int32 nPageNumber ((rpDescriptor->GetPage()->GetPageNum() - 1) / 2 + 1); - const OUString sPageNumber(OUString::valueOf(nPageNumber)); + const OUString sPageNumber(OUString::number(nPageNumber)); rDevice.SetFont(*mpPageNumberFont); rDevice.SetTextColor(aPageNumberColor); rDevice.DrawText(aBox, sPageNumber, TEXT_DRAW_RIGHT | TEXT_DRAW_VCENTER); |