Kaydet (Commit) f4b4db10 authored tarafından Noel Grandin's avatar Noel Grandin

fix old GCC build

after my commit 10749bbf
"remove the last of the OUString #defines in header files"

Change-Id: I7666cfb28d8a28d541c9d7a51f014ebe53c50551
üst bf41d6df
......@@ -809,7 +809,7 @@ void XMLReportFilterHelper::isOasisFormat(const Sequence< beans::PropertyValue >
}
OUString XMLReportFilterHelper::getMediaType(bool )
{
return MIMETYPE_OASIS_OPENDOCUMENT_REPORT_CHART_ASCII;
return OUString(MIMETYPE_OASIS_OPENDOCUMENT_REPORT_CHART_ASCII);
}
} // namespace chart
......
......@@ -324,7 +324,7 @@ OUString SAL_CALL ChartModel::getImplementationName()
OUString ChartModel::getImplementationName_Static()
{
return CHART_MODEL_SERVICE_IMPLEMENTATION_NAME;
return OUString(CHART_MODEL_SERVICE_IMPLEMENTATION_NAME);
}
sal_Bool SAL_CALL ChartModel::supportsService( const OUString& rServiceName )
......
......@@ -1396,7 +1396,7 @@ OUString SAL_CALL ChartView::getImplementationName()
OUString ChartView::getImplementationName_Static()
{
return CHART_VIEW_SERVICE_IMPLEMENTATION_NAME;
return OUString(CHART_VIEW_SERVICE_IMPLEMENTATION_NAME);
}
sal_Bool SAL_CALL ChartView::supportsService( const OUString& rServiceName )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment