summaryrefslogtreecommitdiffstats
path: root/sc/source/ui/view/hintwin.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-10-04 16:14:14 +0200
committerNoel Grandin <noel@peralex.com>2013-10-08 10:03:09 +0200
commite12ae54991b70027bbff21bb948c4923898d32eb (patch)
treeacf87f03f7fb89872a86abde2e623d92fd844cb5 /sc/source/ui/view/hintwin.cxx
parentconvert sc/inc/address.hxx from String to OUString (diff)
downloadcore-e12ae54991b70027bbff21bb948c4923898d32eb.tar.gz
core-e12ae54991b70027bbff21bb948c4923898d32eb.zip
convert sc/source/ui/view/*.cxx from String to OUString
Change-Id: I906217b453d3a0ec2ec8deaa5dce739f0cacfd01
Diffstat (limited to 'sc/source/ui/view/hintwin.cxx')
-rw-r--r--sc/source/ui/view/hintwin.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/view/hintwin.cxx b/sc/source/ui/view/hintwin.cxx
index f674eb6c3501..b1d725a49849 100644
--- a/sc/source/ui/view/hintwin.cxx
+++ b/sc/source/ui/view/hintwin.cxx
@@ -49,7 +49,7 @@ ScHintWindow::ScHintWindow( Window* pParent, const OUString& rTit, const OUStrin
sal_Int32 nIndex = 0;
while ( nIndex != -1 )
{
- String aLine = aMessage.getToken( 0, CHAR_CR, nIndex );
+ OUString aLine = aMessage.getToken( 0, CHAR_CR, nIndex );
Size aLineSize( GetTextWidth( aLine ), GetTextHeight() );
nTextHeight = aLineSize.Height();
aTextSize.Height() += nTextHeight;
@@ -82,7 +82,7 @@ void ScHintWindow::Paint( const Rectangle& /* rRect */ )
Point aLineStart = aTextStart;
while ( nIndex != -1 )
{
- String aLine = aMessage.getToken( 0, CHAR_CR, nIndex );
+ OUString aLine = aMessage.getToken( 0, CHAR_CR, nIndex );
DrawText( aLineStart, aLine );
aLineStart.Y() += nTextHeight;
}