[Libreoffice-commits] core.git: chart2/source

Noel Grandin noel at peralex.com
Tue Dec 9 03:32:13 PST 2014


 chart2/source/model/main/CartesianCoordinateSystem.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 360f40544d8b03a9c4fccf8c41a712868af89de5
Author: Noel Grandin <noel at peralex.com>
Date:   Tue Dec 9 13:28:09 2014 +0200

    fix build under gcc
    
    after my commit feb92a5
    "inline some strings, they don't need to be in a shared header file"
    
    Change-Id: I60a6fa11d56f3d4648dbedeca062ab27206f2a02

diff --git a/chart2/source/model/main/CartesianCoordinateSystem.cxx b/chart2/source/model/main/CartesianCoordinateSystem.cxx
index c6ad005..47b7b0c 100644
--- a/chart2/source/model/main/CartesianCoordinateSystem.cxx
+++ b/chart2/source/model/main/CartesianCoordinateSystem.cxx
@@ -64,13 +64,13 @@ CartesianCoordinateSystem::~CartesianCoordinateSystem()
 OUString SAL_CALL CartesianCoordinateSystem::getCoordinateSystemType()
     throw (RuntimeException, std::exception)
 {
-    return CHART2_COOSYSTEM_CARTESIAN_SERVICE_NAME;
+    return OUString(CHART2_COOSYSTEM_CARTESIAN_SERVICE_NAME);
 }
 
 OUString SAL_CALL CartesianCoordinateSystem::getViewServiceName()
     throw (RuntimeException, std::exception)
 {
-    return CHART2_COOSYSTEM_CARTESIAN_VIEW_SERVICE_NAME;
+    return OUString(CHART2_COOSYSTEM_CARTESIAN_VIEW_SERVICE_NAME);
 }
 
 // ____ XCloneable ____


More information about the Libreoffice-commits mailing list