summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/drawattr.cxx
diff options
context:
space:
mode:
authorRicardo Montania <ricardo@linuxafundo.com.br>2013-02-27 17:21:51 -0300
committerOlivier Hallot <olivier.hallot@alta.org.br>2013-03-01 12:40:44 +0000
commit1cdb93954633a7a2a6346f7cd6637d57672b3c72 (patch)
tree073bd8a8846522e914acbf9c065ec09cfb46899e /sc/source/ui/view/drawattr.cxx
parente06559e69ac9432a6ada4934c39721217c8c6f49 (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.cxx6
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 );
}
//------------------------------------------------------------------------