diff options
author | Noel Grandin <noel@peralex.com> | 2013-08-21 11:13:04 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-08-22 10:49:32 +0200 |
commit | 23cafe3f1d619f715efc421de8abc0403a84f6b4 (patch) | |
tree | 6160fe83b9f61c161c5748131071070ab0701604 /svtools/source/control/stdmenu.cxx | |
parent | d71c8d1ed412dcf2a6a8111bc9007bc6dc73073e (diff) |
convert svtools/source/control/* from String to OUString
Change-Id: I32e411801d3754ca635cfc3ed9529b8ea43ffa3c
Diffstat (limited to 'svtools/source/control/stdmenu.cxx')
-rw-r--r-- | svtools/source/control/stdmenu.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svtools/source/control/stdmenu.cxx b/svtools/source/control/stdmenu.cxx index 3a192a19b540..f579dc2bd83d 100644 --- a/svtools/source/control/stdmenu.cxx +++ b/svtools/source/control/stdmenu.cxx @@ -186,8 +186,8 @@ void FontSizeMenu::Fill( const FontInfo& rInfo, const FontList* pList ) sal_uLong nCount = aFontSizeNames.Count(); for( sal_uLong i = 0; i < nCount; i++ ) { - String aSizeName = aFontSizeNames.GetIndexName( i ); - long nSize = aFontSizeNames.GetIndexSize( i ); + OUString aSizeName = aFontSizeNames.GetIndexName( i ); + long nSize = aFontSizeNames.GetIndexSize( i ); mpHeightAry[nPos] = nSize; nPos++; // Id is nPos+1 InsertItem( nPos, aSizeName, MIB_RADIOCHECK | MIB_AUTOCHECK ); @@ -199,8 +199,8 @@ void FontSizeMenu::Fill( const FontInfo& rInfo, const FontList* pList ) pTempAry = pAry; while ( *pTempAry ) { - String aSizeName = aFontSizeNames.Size2Name( *pTempAry ); - if ( aSizeName.Len() ) + OUString aSizeName = aFontSizeNames.Size2Name( *pTempAry ); + if ( !aSizeName.isEmpty() ) { mpHeightAry[nPos] = *pTempAry; nPos++; // Id is nPos+1 |