diff options
author | Noel Grandin <noel@peralex.com> | 2013-10-16 15:43:54 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-10-18 09:59:31 +0200 |
commit | d08ef4d26594f7bd2711615d90796e1613e82f9f (patch) | |
tree | 2580222eded64912d176b72db0850470bf931e69 /slideshow | |
parent | 218775e19cee88cdf7dae1ead787cb4274f52cd4 (diff) |
random OUString to String conversions
Change-Id: I9cfb8e7183b9cce7c690f3a43a64b61a2aa8c754
Diffstat (limited to 'slideshow')
-rw-r--r-- | slideshow/source/engine/rehearsetimingsactivity.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/slideshow/source/engine/rehearsetimingsactivity.cxx b/slideshow/source/engine/rehearsetimingsactivity.cxx index 44e03051fd00..99a0061fe7df 100644 --- a/slideshow/source/engine/rehearsetimingsactivity.cxx +++ b/slideshow/source/engine/rehearsetimingsactivity.cxx @@ -163,8 +163,7 @@ RehearseTimingsActivity::RehearseTimingsActivity( const SlideShowContext& rConte blackHole.SetMapMode( MAP_PIXEL ); Rectangle rect; const FontMetric metric( blackHole.GetFontMetric() ); - blackHole.GetTextBoundRect( - rect, String("XX:XX:XX") ); + blackHole.GetTextBoundRect( rect, OUString("XX:XX:XX") ); maSpriteSizePixel.setX( rect.getWidth() * 12 / 10 ); maSpriteSizePixel.setY( metric.GetLineHeight() * 11 / 10 ); mnYOffset = (metric.GetAscent() + (metric.GetLineHeight() / 20)); |