summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-06-29 16:15:08 +0200
committerThomas Arnhold <thomas@arnhold.org>2013-06-29 16:23:24 +0200
commit955ebe83a8e57a776044b7f7749b4701ba82b8f4 (patch)
tree1ead4da716db8f19b27d0cec2785301935ceea9d /chart2
parent318f2b64cc32038b2ab1b18b4a13e3f41e1e35ff (diff)
String to OUString and cleanup
Change-Id: Idc18c1a6a64edea3399c8747ec0f096a2f964b68
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/controller/main/ChartDropTargetHelper.cxx2
-rw-r--r--chart2/source/view/charttypes/VSeriesPlotter.cxx6
2 files changed, 4 insertions, 4 deletions
diff --git a/chart2/source/controller/main/ChartDropTargetHelper.cxx b/chart2/source/controller/main/ChartDropTargetHelper.cxx
index e09c298ddfa0..c15b9d2b6014 100644
--- a/chart2/source/controller/main/ChartDropTargetHelper.cxx
+++ b/chart2/source/controller/main/ChartDropTargetHelper.cxx
@@ -152,7 +152,7 @@ sal_Int8 ChartDropTargetHelper::ExecuteDrop( const ExecuteDropEvent& rEvt )
{
// @todo: using implcit knowledge that ranges can be
// merged with ";". This should be done more general
- pCellRange->Value <<= (aOldRange + OUString( sal_Unicode(';')) + aRangeString );
+ pCellRange->Value <<= (aOldRange + ";" + aRangeString );
}
// move means replace range
else
diff --git a/chart2/source/view/charttypes/VSeriesPlotter.cxx b/chart2/source/view/charttypes/VSeriesPlotter.cxx
index d9041f9503db..194a06defb51 100644
--- a/chart2/source/view/charttypes/VSeriesPlotter.cxx
+++ b/chart2/source/view/charttypes/VSeriesPlotter.cxx
@@ -477,7 +477,7 @@ uno::Reference< drawing::XShape > VSeriesPlotter::createDataLabel( const uno::Re
}
//prepare text
OUStringBuffer aText;
- OUString aSeparator(sal_Unicode(' '));
+ OUString aSeparator(" ");
double fRotationDegrees = 0.0;
try
{
@@ -1080,7 +1080,7 @@ void VSeriesPlotter::createRegressionCurveEquationShapes(
bool bShowEquation = false;
bool bShowCorrCoeff = false;
- OUString aSep( sal_Unicode('\n'));
+ OUString aSep( "\n" );
if(( xEquationProperties->getPropertyValue( "ShowEquation") >>= bShowEquation ) &&
( xEquationProperties->getPropertyValue( "ShowCorrelationCoefficient") >>= bShowCorrCoeff ))
{
@@ -1111,7 +1111,7 @@ void VSeriesPlotter::createRegressionCurveEquationShapes(
}
if( bShowCorrCoeff )
{
- aFormula.append( sal_Unicode( 'R' ));
+ aFormula.append( "R" );
aFormula.append( sal_Unicode( 0x00b2 ));
aFormula.append( " = ");
double fR( xRegressionCurveCalculator->getCorrelationCoefficient());