[Libreoffice-commits] .: filter/source oox/source
Gert Faller
gfaller at kemper.freedesktop.org
Mon Nov 29 14:35:48 PST 2010
filter/source/t602/t602filter.cxx | 2 +-
filter/source/xsltfilter/XSLTFilter.cxx | 2 +-
oox/source/export/chartexport.cxx | 10 +++++-----
3 files changed, 7 insertions(+), 7 deletions(-)
New commits:
commit 85d779dfea276b26aebefdac318f132c9417f183
Author: Gert Faller <gertfaller at aliceadsl.fr>
Date: Mon Nov 29 23:35:09 2010 +0100
RTL_CONSTASCII_USTRINGPARAM in filters 14
diff --git a/filter/source/t602/t602filter.cxx b/filter/source/t602/t602filter.cxx
index 0f30aa6..d049271 100644
--- a/filter/source/t602/t602filter.cxx
+++ b/filter/source/t602/t602filter.cxx
@@ -932,7 +932,7 @@ throw ( RuntimeException )
MutexGuard guard( Mutex::getGlobalMutex() );
if( !pNames ) {
static Sequence< OUString > seqNames(2);
- seqNames.getArray()[0] = OUString::createFromAscii(IMPLEMENTATION_NAME);
+ seqNames.getArray()[0] = OUString(RTL_CONSTASCII_USTRINGPARAM(IMPLEMENTATION_NAME));
pNames = &seqNames;
}
}
diff --git a/filter/source/xsltfilter/XSLTFilter.cxx b/filter/source/xsltfilter/XSLTFilter.cxx
index e13e483..b2c2858 100644
--- a/filter/source/xsltfilter/XSLTFilter.cxx
+++ b/filter/source/xsltfilter/XSLTFilter.cxx
@@ -664,7 +664,7 @@ static Sequence< OUString > getSupportedServiceNames()
if( !pNames )
{
static Sequence< OUString > seqNames(1);
- seqNames.getArray()[0] = OUString::createFromAscii(SERVICE_NAME);
+ seqNames.getArray()[0] = OUString(RTL_CONSTASCII_USTRINGPARAM(SERVICE_NAME));
pNames = &seqNames;
}
}
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index fb91d80..d5d3eab 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -2008,31 +2008,31 @@ void ChartExport::InitPlotArea( )
if (xServiceInfo.is())
{
if (xServiceInfo->supportsService(
- OUString::createFromAscii ("com.sun.star.chart.ChartAxisXSupplier")))
+ OUString(RTL_CONSTASCII_USTRINGPARAM ("com.sun.star.chart.ChartAxisXSupplier"))))
{
xDiagramProperties->getPropertyValue(
OUString(RTL_CONSTASCII_USTRINGPARAM("HasXAxis"))) >>= mbHasXAxis;
}
if (xServiceInfo->supportsService(
- OUString::createFromAscii ("com.sun.star.chart.ChartAxisYSupplier")))
+ OUString(RTL_CONSTASCII_USTRINGPARAM ("com.sun.star.chart.ChartAxisYSupplier"))))
{
xDiagramProperties->getPropertyValue(
OUString(RTL_CONSTASCII_USTRINGPARAM("HasYAxis"))) >>= mbHasYAxis;
}
if (xServiceInfo->supportsService(
- OUString::createFromAscii ("com.sun.star.chart.ChartAxisZSupplier")))
+ OUString(RTL_CONSTASCII_USTRINGPARAM ("com.sun.star.chart.ChartAxisZSupplier"))))
{
xDiagramProperties->getPropertyValue(
OUString(RTL_CONSTASCII_USTRINGPARAM("HasZAxis"))) >>= mbHasZAxis;
}
if (xServiceInfo->supportsService(
- OUString::createFromAscii ("com.sun.star.chart.ChartTwoAxisXSupplier")))
+ OUString(RTL_CONSTASCII_USTRINGPARAM ("com.sun.star.chart.ChartTwoAxisXSupplier"))))
{
xDiagramProperties->getPropertyValue(
OUString(RTL_CONSTASCII_USTRINGPARAM("HasSecondaryXAxis"))) >>= mbHasSecondaryXAxis;
}
if (xServiceInfo->supportsService(
- OUString::createFromAscii ("com.sun.star.chart.ChartTwoAxisYSupplier")))
+ OUString(RTL_CONSTASCII_USTRINGPARAM ("com.sun.star.chart.ChartTwoAxisYSupplier"))))
{
xDiagramProperties->getPropertyValue(
OUString(RTL_CONSTASCII_USTRINGPARAM("HasSecondaryYAxis"))) >>= mbHasSecondaryYAxis;
More information about the Libreoffice-commits
mailing list