summaryrefslogtreecommitdiff
path: root/canvas/source/directx/dx_winstuff.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'canvas/source/directx/dx_winstuff.hxx')
-rw-r--r--canvas/source/directx/dx_winstuff.hxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/canvas/source/directx/dx_winstuff.hxx b/canvas/source/directx/dx_winstuff.hxx
index e5133de1b8e2..e92b17c62599 100644
--- a/canvas/source/directx/dx_winstuff.hxx
+++ b/canvas/source/directx/dx_winstuff.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -117,13 +117,13 @@ using ::std::min;
namespace dxcanvas
{
// some shared pointer typedefs to Gdiplus objects
- typedef ::boost::shared_ptr< Gdiplus::Graphics > GraphicsSharedPtr;
- typedef ::boost::shared_ptr< Gdiplus::GraphicsPath > GraphicsPathSharedPtr;
- typedef ::boost::shared_ptr< Gdiplus::Bitmap > BitmapSharedPtr;
- typedef ::boost::shared_ptr< Gdiplus::CachedBitmap > CachedBitmapSharedPtr;
- typedef ::boost::shared_ptr< Gdiplus::Font > FontSharedPtr;
- typedef ::boost::shared_ptr< Gdiplus::Brush > BrushSharedPtr;
- typedef ::boost::shared_ptr< Gdiplus::TextureBrush > TextureBrushSharedPtr;
+ typedef ::boost::shared_ptr< Gdiplus::Graphics > GraphicsSharedPtr;
+ typedef ::boost::shared_ptr< Gdiplus::GraphicsPath > GraphicsPathSharedPtr;
+ typedef ::boost::shared_ptr< Gdiplus::Bitmap > BitmapSharedPtr;
+ typedef ::boost::shared_ptr< Gdiplus::CachedBitmap > CachedBitmapSharedPtr;
+ typedef ::boost::shared_ptr< Gdiplus::Font > FontSharedPtr;
+ typedef ::boost::shared_ptr< Gdiplus::Brush > BrushSharedPtr;
+ typedef ::boost::shared_ptr< Gdiplus::TextureBrush > TextureBrushSharedPtr;
/** COM object RAII wrapper
@@ -196,13 +196,13 @@ namespace dxcanvas
return refcount;
}
- bool is() const { return mp != NULL; }
+ bool is() const { return mp != NULL; }
T* get() const { return mp; }
T* operator->() const { return mp; }
T& operator*() const { return *mp; }
private:
- T* mp;
+ T* mp;
};
// get_pointer() enables boost::mem_fn to recognize COMReference