summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/tools/ObjectIdentifier.cxx4
-rw-r--r--chart2/source/view/charttypes/VSeriesPlotter.cxx6
2 files changed, 5 insertions, 5 deletions
diff --git a/chart2/source/tools/ObjectIdentifier.cxx b/chart2/source/tools/ObjectIdentifier.cxx
index 358385f059a3..8779f1dd9942 100644
--- a/chart2/source/tools/ObjectIdentifier.cxx
+++ b/chart2/source/tools/ObjectIdentifier.cxx
@@ -82,14 +82,14 @@ OUString lcl_createClassificationStringForType( ObjectType eObjectType
}
if( !rDragMethodServiceName.isEmpty() )
{
- if( aRet.getLength() )
+ if( !aRet.isEmpty() )
aRet.appendAscii(":");
aRet.append( m_aDragMethodEquals );
aRet.append( rDragMethodServiceName );
if( !rDragParameterString.isEmpty() )
{
- if( aRet.getLength() )
+ if( !aRet.isEmpty() )
aRet.appendAscii(":");
aRet.append( m_aDragParameterEquals );
aRet.append( rDragParameterString );
diff --git a/chart2/source/view/charttypes/VSeriesPlotter.cxx b/chart2/source/view/charttypes/VSeriesPlotter.cxx
index d32638c8b3e2..6e114ddae0a5 100644
--- a/chart2/source/view/charttypes/VSeriesPlotter.cxx
+++ b/chart2/source/view/charttypes/VSeriesPlotter.cxx
@@ -515,7 +515,7 @@ uno::Reference< drawing::XShape > VSeriesPlotter::createDataLabel( const uno::Re
, nPointIndex, fValue, false /*bAsPercentage*/ ) );
if( !aNumber.isEmpty() )
{
- if(aText.getLength())
+ if(!aText.isEmpty())
aText.append(aSeparator);
aText.append(aNumber);
++nLineCountForSymbolsize;
@@ -534,7 +534,7 @@ uno::Reference< drawing::XShape > VSeriesPlotter::createDataLabel( const uno::Re
, nPointIndex, fValue, true /*bAsPercentage*/ ) );
if( !aPercentage.isEmpty() )
{
- if(aText.getLength())
+ if(!aText.isEmpty())
aText.append(aSeparator);
aText.append(aPercentage);
++nLineCountForSymbolsize;
@@ -1144,7 +1144,7 @@ void VSeriesPlotter::createRegressionCurveEquationShapes(
else
aScreenPosition2D = aDefaultPos;
- if( aFormula.getLength())
+ if( !aFormula.isEmpty())
{
// set fill and line properties on creation
tNameSequence aNames;