diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-03-18 09:16:09 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-03-20 12:57:32 +0000 |
commit | 6d12d8cab29ff4d9eb19039a183f90e309fa5d82 (patch) | |
tree | 637ec963c7a06165561bb3c774fc14913dbc80c0 /svl/source/items/visitem.cxx | |
parent | 5c887ee0e48d85ddd7bb17aac6cb87203a188e7a (diff) |
reduce UniStrings
Diffstat (limited to 'svl/source/items/visitem.cxx')
-rw-r--r-- | svl/source/items/visitem.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/svl/source/items/visitem.cxx b/svl/source/items/visitem.cxx index c9e75356f456..6453efc0c52d 100644 --- a/svl/source/items/visitem.cxx +++ b/svl/source/items/visitem.cxx @@ -135,12 +135,9 @@ sal_uInt16 SfxVisibilityItem::GetValueCount() const //============================================================================ // virtual -UniString SfxVisibilityItem::GetValueTextByVal(sal_Bool bTheValue) const +rtl::OUString SfxVisibilityItem::GetValueTextByVal(sal_Bool bTheValue) const { - return - bTheValue ? - UniString::CreateFromAscii(RTL_CONSTASCII_STRINGPARAM("TRUE")) : - UniString::CreateFromAscii(RTL_CONSTASCII_STRINGPARAM("FALSE")); + return bTheValue ? rtl::OUString("TRUE") : rtl::OUString("FALSE"); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |