summaryrefslogtreecommitdiff
path: root/svtools/source/table
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2012-01-13 19:13:55 -0200
committerOlivier Hallot <olivier.hallot@alta.org.br>2012-01-13 19:13:55 -0200
commitad6ce5e938ce9d78bed9ce6dead5fa087de49c63 (patch)
tree668b0b73f6aa515e4303b946136c155f9d38ae4e /svtools/source/table
parent38423e0ad2a8e2a902aeb37391aef0b543c09d68 (diff)
Fix for fdo43460 Part XXXVII getLength() to isEmpty()
Part XXXVII Modules svtools
Diffstat (limited to 'svtools/source/table')
-rw-r--r--svtools/source/table/gridtablerenderer.cxx4
-rw-r--r--svtools/source/table/tabledatawindow.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/svtools/source/table/gridtablerenderer.cxx b/svtools/source/table/gridtablerenderer.cxx
index 5d6eff9e5368..5a20053b694c 100644
--- a/svtools/source/table/gridtablerenderer.cxx
+++ b/svtools/source/table/gridtablerenderer.cxx
@@ -395,7 +395,7 @@ namespace svt { namespace table
Any const rowHeading( m_pImpl->rModel.getRowHeading( m_pImpl->nCurrentRow ) );
::rtl::OUString const rowTitle( CellValueConversion::convertToString( rowHeading ) );
- if ( rowTitle.getLength() )
+ if ( !rowTitle.isEmpty() )
{
::Color const textColor = lcl_getEffectiveColor( m_pImpl->rModel.getHeaderTextColor(), _rStyle, &StyleSettings::GetFieldTextColor );
_rDevice.SetTextColor( textColor );
@@ -586,7 +586,7 @@ namespace svt { namespace table
}
::rtl::OUString const sText( CellValueConversion::convertToString( i_cellContent ) );
- if ( sText.getLength() == 0 )
+ if ( sText.isEmpty() )
return true;
Rectangle const aTargetArea( lcl_getTextRenderingArea( lcl_getContentArea( *m_pImpl, i_targetArea ) ) );
diff --git a/svtools/source/table/tabledatawindow.cxx b/svtools/source/table/tabledatawindow.cxx
index 5f5ad0a6ab1f..1dedd3657333 100644
--- a/svtools/source/table/tabledatawindow.cxx
+++ b/svtools/source/table/tabledatawindow.cxx
@@ -141,7 +141,7 @@ namespace svt { namespace table
}
}
- if ( sHelpText.getLength() )
+ if ( !sHelpText.isEmpty() )
{
Rectangle const aControlScreenRect(
OutputToScreenPixel( Point( 0, 0 ) ),