Kaydet (Commit) efcce8fc authored tarafından Michael Meeks's avatar Michael Meeks

VclPtr: unfortunate includes needed for inlining ref/unref.

Something of a compile time vs. run-time choice.

Change-Id: I7e9db3a6f14d352e0b78abd5f22ccc593aceb001
üst e985155b
......@@ -23,11 +23,10 @@
#include <iderid.hxx>
#include <sfx2/docfac.hxx>
#include <svx/ifaceids.hxx>
#include <vcl/vclptr.hxx>
#include <sfx2/printer.hxx>
#include <boost/scoped_ptr.hpp>
class SfxPrinter;
namespace basctl
{
......
......@@ -49,7 +49,6 @@ Writer::Writer( sal_Int32 nTWIPWidthOutput, sal_Int32 nTWIPHeightOutput, sal_Int
mnGlobalTransparency(0),
mnJPEGCompressMode(nJPEGcompressMode)
{
mpVDev = new VirtualDevice;
mpVDev->EnableOutput( false );
maMovieTempFile.EnableKillingFile();
......
......@@ -25,6 +25,7 @@
#include <com/sun/star/i18n/XBreakIterator.hpp>
#include <vcl/font.hxx>
#include <vcl/gradient.hxx>
#include <vcl/vclptr.hxx>
#include <unotools/tempfile.hxx>
#include <tools/color.hxx>
#include <tools/poly.hxx>
......@@ -395,7 +396,7 @@ private:
sal_uInt16 mnWhiteBackgroundShapeId;
sal_uInt16 mnPageButtonId;
VclPtr<VirtualDevice> mpVDev;
VclPtrInstance<VirtualDevice> mpVDev;
const tools::PolyPolygon* mpClipPolyPolygon;
......
......@@ -29,11 +29,11 @@
#include <tools/gen.hxx>
#include <sfx2/objsh.hxx>
#include <vcl/window.hxx>
class SfxInPlaceClient_Impl;
class SfxViewShell;
class SfxObjectShell;
namespace vcl { class Window; }
class Fraction;
......
......@@ -26,6 +26,7 @@
#include "scdllapi.h"
#include "cellvalue.hxx"
#include "mtvelements.hxx"
#include <vcl/vclptr.hxx>
#include <memory>
......
......@@ -24,7 +24,7 @@
#include <vcl/timer.hxx>
#include <vcl/idle.hxx>
#include <com/sun/star/uno/Reference.hxx>
#include <rtl/ref.hxx>
#include <vcl/vclptr.hxx>
#include "scdllapi.h"
#include "rangelst.hxx"
#include "rangenam.hxx"
......
......@@ -28,8 +28,8 @@
#include <tools/time.hxx>
#include <tools/gen.hxx>
#include <tools/fract.hxx>
#include <vcl/outdev.hxx>
class OutputDevice;
class ScDocument;
class ScPatternAttr;
class ScEditEngineDefaulter;
......
......@@ -24,6 +24,7 @@
#include <com/sun/star/accessibility/XAccessibleSelection.hpp>
#include "global.hxx"
#include <vcl/window.hxx>
namespace accessibility
{
......@@ -188,7 +189,7 @@ public:
private:
accessibility::AccessibleTextHelper* mpTextHelper;
EditView* mpEditView;
VclPtr<vcl::Window> mpWindow;
VclPtr<vcl::Window> mpWindow;
EditObjectType meObjectType;
bool mbHasFocus;
......
......@@ -28,15 +28,12 @@
#include <com/sun/star/container/XNameContainer.hpp>
#include <com/sun/star/form/XForms.hpp>
#include <tools/link.hxx>
#include <vcl/window.hxx>
#include <svx/svxdllapi.h>
class SvTreeListEntry;
class SvTreeListBox;
namespace svxform
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment