summaryrefslogtreecommitdiff
path: root/vcl/source/image/Image.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/image/Image.cxx')
-rw-r--r--vcl/source/image/Image.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/vcl/source/image/Image.cxx b/vcl/source/image/Image.cxx
index d224da1d0a7b..dedc0cff72a2 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() );