diff options
author | Kevin Hunter <hunteke@earlham.edu> | 2010-11-18 18:47:55 -0500 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-11-19 09:55:14 +0000 |
commit | 9321d8acfed33545aecb18f2a6619041066cbc33 (patch) | |
tree | 3ffb4925e9095c9d35fa6297db57211ff51384fa /svtools/source/control/roadmap.cxx | |
parent | 324612c06bb1c16c575224d5791be1a0afee6a5e (diff) |
EasyHack: RTL_CONST macro from createFromAscii
Diffstat (limited to 'svtools/source/control/roadmap.cxx')
-rw-r--r-- | svtools/source/control/roadmap.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/control/roadmap.cxx b/svtools/source/control/roadmap.cxx index 21d8d5993726..90952d7c0ce4 100644 --- a/svtools/source/control/roadmap.cxx +++ b/svtools/source/control/roadmap.cxx @@ -831,7 +831,7 @@ namespace svt if ( mpID ) { - ::rtl::OUString aIDText = ::rtl::OUString::valueOf( (sal_Int32)( _nIndex + 1 ) ) + ::rtl::OUString::createFromAscii( "." ); + ::rtl::OUString aIDText = ::rtl::OUString::valueOf( (sal_Int32)( _nIndex + 1 ) ) + ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "." )); mpID->SetText( aIDText ); } @@ -929,7 +929,7 @@ namespace svt { // calculate widths long nIDWidth = mpID->GetTextWidth( mpID->GetText() ); - long nMaxIDWidth = mpID->GetTextWidth( ::rtl::OUString::createFromAscii( "100." ) ); + long nMaxIDWidth = mpID->GetTextWidth( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "100." )) ); nIDWidth = ::std::min( nIDWidth, nMaxIDWidth ); // check how many space the description would need |