diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-19 10:04:54 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-05-19 10:06:19 +0200 |
commit | f4b4db10da454af98ec6071e20ef0a7e068e11fb (patch) | |
tree | 6be0b56e9981d91c3dbc51e1ba0ccff511edfcbf /chart2 | |
parent | bf41d6df35ce9d023b9865cbb007a405d6be02e6 (diff) |
fix old GCC build
after my commit 10749bbf8247f0b17201b33f95a090dfc4fc3211
"remove the last of the OUString #defines in header files"
Change-Id: I7666cfb28d8a28d541c9d7a51f014ebe53c50551
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/model/filter/XMLFilter.cxx | 2 | ||||
-rw-r--r-- | chart2/source/model/main/ChartModel.cxx | 2 | ||||
-rw-r--r-- | chart2/source/view/main/ChartView.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/chart2/source/model/filter/XMLFilter.cxx b/chart2/source/model/filter/XMLFilter.cxx index a12c1f6b5246..feb94a2db053 100644 --- a/chart2/source/model/filter/XMLFilter.cxx +++ b/chart2/source/model/filter/XMLFilter.cxx @@ -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 diff --git a/chart2/source/model/main/ChartModel.cxx b/chart2/source/model/main/ChartModel.cxx index 6ea53671da16..e38dfcee6b4f 100644 --- a/chart2/source/model/main/ChartModel.cxx +++ b/chart2/source/model/main/ChartModel.cxx @@ -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 ) diff --git a/chart2/source/view/main/ChartView.cxx b/chart2/source/view/main/ChartView.cxx index 97b318192e0c..b95b5ab8fbc4 100644 --- a/chart2/source/view/main/ChartView.cxx +++ b/chart2/source/view/main/ChartView.cxx @@ -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 ) |