diff options
author | Ricardo Montania <ricardo@linuxafundo.com.br> | 2013-02-27 17:21:51 -0300 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@alta.org.br> | 2013-03-01 12:40:44 +0000 |
commit | 1cdb93954633a7a2a6346f7cd6637d57672b3c72 (patch) | |
tree | 073bd8a8846522e914acbf9c065ec09cfb46899e /sc/source/ui/view/drawattr.cxx | |
parent | e06559e69ac9432a6ada4934c39721217c8c6f49 (diff) |
String::CreateFromAscii drop in sc
Change-Id: Idb9fda589b309bd850ba2fdd68e7170c28d4c31a
Reviewed-on: https://gerrit.libreoffice.org/2448
Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br>
Diffstat (limited to 'sc/source/ui/view/drawattr.cxx')
-rw-r--r-- | sc/source/ui/view/drawattr.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/view/drawattr.cxx b/sc/source/ui/view/drawattr.cxx index 63fa606a9e6a..cb58d2af6c3f 100644 --- a/sc/source/ui/view/drawattr.cxx +++ b/sc/source/ui/view/drawattr.cxx @@ -22,14 +22,14 @@ //------------------------------------------------------------------------ -String SvxDrawToolItem::GetValueText() const +OUString SvxDrawToolItem::GetValueText() const { return GetValueText(GetValue()); } //------------------------------------------------------------------------ -String SvxDrawToolItem::GetValueText( sal_uInt16 nVal ) const +OUString SvxDrawToolItem::GetValueText( sal_uInt16 nVal ) const { const sal_Char* p; @@ -47,7 +47,7 @@ String SvxDrawToolItem::GetValueText( sal_uInt16 nVal ) const case 8 : p = "SVX_SNAP_DRAW_TEXT" ; break; default : return EMPTY_STRING; } - return String::CreateFromAscii( p ); + return OUString::createFromAscii( p ); } //------------------------------------------------------------------------ |