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

Chris Sherlock chris.sherlock79 at gmail.com
Thu Jan 7 18:35:08 PST 2016


 vcl/source/image/Image.cxx |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

New commits:
commit c0ae710c1c449ccacfa4910ccdace9a7dd6fcb8b
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
Date:   Fri Jan 8 13:34:30 2016 +1100

    vcl: cleanup namespaces in vcl/source/image/Image.cxx
    
    Change-Id: Idc1989a8a59eb65e40e0e97e3688100c23175fa5

diff --git a/vcl/source/image/Image.cxx b/vcl/source/image/Image.cxx
index d224da1..dedc0cf 100644
--- a/vcl/source/image/Image.cxx
+++ b/vcl/source/image/Image.cxx
@@ -31,6 +31,7 @@
 #include <vcl/image.hxx>
 #include <vcl/imagerepository.hxx>
 #include <vcl/implimagetree.hxx>
+#include <sal/types.h>
 #include <image.h>
 
 #include <vcl/BitmapProcessor.hxx>
@@ -39,8 +40,6 @@
 #include <rtl/strbuf.hxx>
 #endif
 
-using namespace ::com::sun::star;
-
 Image::Image() :
     mpImplData( nullptr )
 {
@@ -132,7 +131,7 @@ Image::Image( const Bitmap& rBitmap, const Color& rColor ) :
     ImplInit( aBmpEx );
 }
 
-Image::Image( const uno::Reference< graphic::XGraphic >& rxGraphic ) :
+Image::Image( const css::uno::Reference< css::graphic::XGraphic >& rxGraphic ) :
     mpImplData( nullptr )
 {
 
@@ -192,7 +191,7 @@ BitmapEx Image::GetBitmapEx() const
     return aRet;
 }
 
-uno::Reference< graphic::XGraphic > Image::GetXGraphic() const
+css::uno::Reference< css::graphic::XGraphic > Image::GetXGraphic() const
 {
     const Graphic aGraphic( GetBitmapEx() );
 


More information about the Libreoffice-commits mailing list