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

Tomaž Vajngerl tomaz.vajngerl at collabora.com
Tue Oct 11 11:03:16 UTC 2016


 vcl/source/gdi/graph.cxx |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

New commits:
commit 9c9f184138dd9e3dbd50d5d50fc86ca172ae4dfe
Author: Tomaž Vajngerl <tomaz.vajngerl at collabora.com>
Date:   Tue Oct 11 12:59:00 2016 +0200

    vcl: put in anonymous namespace
    
    Change-Id: Ib24a8dd044003f8d667d97e989fbbf640d4eacdf

diff --git a/vcl/source/gdi/graph.cxx b/vcl/source/gdi/graph.cxx
index 77c8fad..db4f1a7 100644
--- a/vcl/source/gdi/graph.cxx
+++ b/vcl/source/gdi/graph.cxx
@@ -33,7 +33,10 @@
 
 using namespace ::com::sun::star;
 
-static void ImplDrawDefault( OutputDevice* pOutDev, const OUString* pText,
+namespace
+{
+
+void ImplDrawDefault( OutputDevice* pOutDev, const OUString* pText,
                              vcl::Font* pFont, const Bitmap* pBitmap, const BitmapEx* pBitmapEx,
                              const Point& rDestPt, const Size& rDestSize )
 {
@@ -178,6 +181,8 @@ static void ImplDrawDefault( OutputDevice* pOutDev, const OUString* pText,
     pOutDev->Pop();
 }
 
+} // end anonymous namespace
+
 Graphic::Graphic()
     : mxImpGraphic(new ImpGraphic)
 {


More information about the Libreoffice-commits mailing list