summaryrefslogtreecommitdiff
path: root/xmloff/source/chart/SchXMLTableContext.cxx
diff options
context:
space:
mode:
authorChr. Rossmanith <ChrRossmanith@gmx.de>2013-02-24 21:02:16 +0100
committerChr. Rossmanith <ChrRossmanith@gmx.de>2013-02-24 21:06:00 +0100
commitd5da6480561b3df99cb1df480b88fcd055bd10aa (patch)
treef2617a1a3656eb22106832e1f194ffe235ed812e /xmloff/source/chart/SchXMLTableContext.cxx
parent4c8738671313c12e672c59379d109d5fee9138f9 (diff)
remove RTL_CONSTASCII_(U)STRINGPARAM in xmloff
Change-Id: I86163e68d0993dcaf6888060ace17f5dba812f1a
Diffstat (limited to 'xmloff/source/chart/SchXMLTableContext.cxx')
-rw-r--r--xmloff/source/chart/SchXMLTableContext.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/xmloff/source/chart/SchXMLTableContext.cxx b/xmloff/source/chart/SchXMLTableContext.cxx
index 07065b6bb78d..d2a804369c2a 100644
--- a/xmloff/source/chart/SchXMLTableContext.cxx
+++ b/xmloff/source/chart/SchXMLTableContext.cxx
@@ -860,8 +860,8 @@ void SchXMLTableHelper::applyTableToInternalDataProvider(
try
{
Reference< beans::XPropertySet > xProps( xChartDoc, uno::UNO_QUERY_THROW );
- xProps->setPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM( "DisableDataTableDialog" ) ), uno::makeAny( sal_True ) );
- xProps->setPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM( "DisableComplexChartTypes" ) ), uno::makeAny( sal_True ) );
+ xProps->setPropertyValue( OUString( "DisableDataTableDialog" ), uno::makeAny( sal_True ) );
+ xProps->setPropertyValue( OUString( "DisableComplexChartTypes" ), uno::makeAny( sal_True ) );
}
catch ( uno::Exception& )
{
@@ -934,7 +934,7 @@ void SchXMLTableHelper::switchRangesFromOuterToInternalIfNecessary(
Reference< beans::XPropertySet > xOldSequenceProp( aLSeqIt->second->getValues(), uno::UNO_QUERY );
Reference< chart2::data::XDataSequence > xNewSequence(
xDataProv->createDataSequenceByRangeRepresentation(
- OUString(RTL_CONSTASCII_USTRINGPARAM("categories"))));
+ OUString("categories")));
SchXMLTools::copyProperties(
xOldSequenceProp, Reference< beans::XPropertySet >( xNewSequence, uno::UNO_QUERY ));
aLSeqIt->second->setValues( xNewSequence );
@@ -974,7 +974,7 @@ void SchXMLTableHelper::switchRangesFromOuterToInternalIfNecessary(
}
else if( ! lcl_tableOfRangeMatches( aRange, rTable.aTableNameOfFile ))
{
- OUString aRep( RTL_CONSTASCII_USTRINGPARAM("label "));
+ OUString aRep("label ");
aRep += OUString::valueOf( aLSeqIt->first.first );
Reference< chart2::data::XDataSequence > xNewSeq(
@@ -993,7 +993,7 @@ void SchXMLTableHelper::switchRangesFromOuterToInternalIfNecessary(
if( ! bCategoriesApplied )
{
SchXMLTools::CreateCategories(
- xDataProv, xChartDoc, OUString(RTL_CONSTASCII_USTRINGPARAM("categories")),
+ xDataProv, xChartDoc, OUString("categories"),
0 /* nCooSysIndex */, 0 /* nDimension */ );
}