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

Stephan Bergmann sbergman at redhat.com
Mon May 5 07:36:26 PDT 2014


 chart2/source/view/main/OpenGLRender.cxx |    2 +-
 chart2/source/view/main/OpenGLRender.hxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 0635a9c1906e00c16fd7c5b83720858b73edbae0
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon May 5 16:35:44 2014 +0200

    Missing const
    
    Change-Id: If1e0e78e1b62c547bd0f03e727e1856227b32821

diff --git a/chart2/source/view/main/OpenGLRender.cxx b/chart2/source/view/main/OpenGLRender.cxx
index 9bd8e72..bbdf750 100644
--- a/chart2/source/view/main/OpenGLRender.cxx
+++ b/chart2/source/view/main/OpenGLRender.cxx
@@ -897,7 +897,7 @@ int OpenGLRender::RenderRectangleShape(bool bBorder, bool bFill)
     return 0;
 }
 
-int OpenGLRender::CreateTextTexture(::rtl::OUString &textValue, Font aFont, long , awt::Point aPos, awt::Size aSize, long rotation)
+int OpenGLRender::CreateTextTexture(::rtl::OUString const &textValue, Font aFont, long , awt::Point aPos, awt::Size aSize, long rotation)
 {
     VirtualDevice aDevice(*Application::GetDefaultDevice(), 0, 0);
     aDevice.Erase();
diff --git a/chart2/source/view/main/OpenGLRender.hxx b/chart2/source/view/main/OpenGLRender.hxx
index f5c54fa..e88fffa 100644
--- a/chart2/source/view/main/OpenGLRender.hxx
+++ b/chart2/source/view/main/OpenGLRender.hxx
@@ -99,7 +99,7 @@ public:
     int CreateTextTexture(const BitmapEx& rBitmapEx,
             const com::sun::star::awt::Point& aPos, const com::sun::star::awt::Size& aSize,
             long rotation, const com::sun::star::drawing::HomogenMatrix3& rTrans);
-    int CreateTextTexture(::rtl::OUString &textValue, Font aFont, long fontColor, awt::Point aPos, awt::Size aSize, long rotation);
+    int CreateTextTexture(::rtl::OUString const &textValue, Font aFont, long fontColor, awt::Point aPos, awt::Size aSize, long rotation);
     int RenderTextShape();
 
     int SetArea2DShapePoint(float x, float y, int listLength);


More information about the Libreoffice-commits mailing list