summaryrefslogtreecommitdiff
path: root/toolkit/source/controls/grid/defaultgridcolumnmodel.cxx
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2012-05-28 15:43:18 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-05-28 18:09:26 -0500
commit9485f3a6d68372db28481ee895a2b9983d1c3b59 (patch)
treedbf731307aff331d0c79e8d4b9fff65bad26e964 /toolkit/source/controls/grid/defaultgridcolumnmodel.cxx
parent2f804c94cdaaa9ac047f229509c774dbea1dbcaa (diff)
targeted string re-work
Change-Id: If929937d8b1243032983b8b379f067a47d2717a4
Diffstat (limited to 'toolkit/source/controls/grid/defaultgridcolumnmodel.cxx')
-rw-r--r--toolkit/source/controls/grid/defaultgridcolumnmodel.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/toolkit/source/controls/grid/defaultgridcolumnmodel.cxx b/toolkit/source/controls/grid/defaultgridcolumnmodel.cxx
index 9c0fd9ad09bd..1661740120db 100644
--- a/toolkit/source/controls/grid/defaultgridcolumnmodel.cxx
+++ b/toolkit/source/controls/grid/defaultgridcolumnmodel.cxx
@@ -98,7 +98,7 @@ namespace toolkit
GridColumn* const pGridColumn = GridColumn::getImplementation( xClone );
if ( pGridColumn == NULL )
- throw RuntimeException( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "invalid clone source implementation" ) ), *this );
+ throw RuntimeException( "invalid clone source implementation", *this );
// that's indeed a RuntimeException, not an IllegalArgumentException or some such:
// a DefaultGridColumnModel implementation whose columns are not GridColumn implementations
// is borked.
@@ -140,7 +140,7 @@ namespace toolkit
GridColumn* const pGridColumn = GridColumn::getImplementation( i_column );
if ( pGridColumn == NULL )
- throw IllegalArgumentException( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "invalid column implementation" ) ), *this, 1 );
+ throw IllegalArgumentException( "invalid column implementation", *this, 1 );
m_aColumns.push_back( i_column );
sal_Int32 index = m_aColumns.size() - 1;
@@ -313,7 +313,7 @@ namespace toolkit
//------------------------------------------------------------------------------------------------------------------
::rtl::OUString SAL_CALL DefaultGridColumnModel::getImplementationName( ) throw (RuntimeException)
{
- return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "org.openoffice.comp.toolkit.DefaultGridColumnModel" ) );
+ return ::rtl::OUString( "org.openoffice.comp.toolkit.DefaultGridColumnModel" );
}
//------------------------------------------------------------------------------------------------------------------