diff options
author | Noel Grandin <noel@peralex.com> | 2013-09-16 09:58:03 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-09-17 09:05:49 +0200 |
commit | e8ecf30ea61625c3397a635c5c409bbc004685bc (patch) | |
tree | 36052ce7f57e3c39f5c96f9aaeaaf6cc469290ea /framework/source/uielement/fontsizemenucontroller.cxx | |
parent | 1591130dc2b62e5fdec45274b1b06d63df0051b3 (diff) |
convert FRAMEWORK module from String to OUString
Change-Id: Iafa6b5f213d37093e7e46065c9264c7bb7fae377
Diffstat (limited to 'framework/source/uielement/fontsizemenucontroller.cxx')
-rw-r--r-- | framework/source/uielement/fontsizemenucontroller.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/framework/source/uielement/fontsizemenucontroller.cxx b/framework/source/uielement/fontsizemenucontroller.cxx index cbf868e92e38..bbdab8158f80 100644 --- a/framework/source/uielement/fontsizemenucontroller.cxx +++ b/framework/source/uielement/fontsizemenucontroller.cxx @@ -182,8 +182,8 @@ void FontSizeMenuController::fillPopupMenu( Reference< css::awt::XPopupMenu >& r 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 ); m_pHeightArray[nPos] = nSize; nPos++; // Id is nPos+1 pVCLPopupMenu->InsertItem( nPos, aSizeName, MIB_RADIOCHECK | MIB_AUTOCHECK ); @@ -200,8 +200,8 @@ void FontSizeMenuController::fillPopupMenu( Reference< css::awt::XPopupMenu >& r pTempAry = pAry; while ( *pTempAry ) { - String aSizeName = aFontSizeNames.Size2Name( *pTempAry ); - if ( aSizeName.Len() ) + OUString aSizeName = aFontSizeNames.Size2Name( *pTempAry ); + if ( !aSizeName.isEmpty() ) { m_pHeightArray[nPos] = *pTempAry; nPos++; // Id is nPos+1 |