diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-04-10 21:00:13 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-04-10 21:00:13 +0100 |
commit | efcce8fc8478207d58069ee992aab4ff7b07f619 (patch) | |
tree | 995f58e45dc51e41dc779401cbcd58698f9254f9 | |
parent | e985155bc506c84efba297751c76242406351de7 (diff) |
VclPtr: unfortunate includes needed for inlining ref/unref.
Something of a compile time vs. run-time choice.
Change-Id: I7e9db3a6f14d352e0b78abd5f22ccc593aceb001
-rw-r--r-- | basctl/source/basicide/basdoc.hxx | 5 | ||||
-rw-r--r-- | filter/source/flash/swfwriter.cxx | 1 | ||||
-rw-r--r-- | filter/source/flash/swfwriter.hxx | 3 | ||||
-rw-r--r-- | include/sfx2/ipclient.hxx | 2 | ||||
-rw-r--r-- | sc/inc/dociter.hxx | 1 | ||||
-rw-r--r-- | sc/inc/document.hxx | 2 | ||||
-rw-r--r-- | sc/inc/editutil.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/inc/AccessibleEditObject.hxx | 3 | ||||
-rw-r--r-- | svx/source/inc/fmexch.hxx | 5 |
9 files changed, 11 insertions, 13 deletions
diff --git a/basctl/source/basicide/basdoc.hxx b/basctl/source/basicide/basdoc.hxx index 65bfb8961d51..083049ce073d 100644 --- a/basctl/source/basicide/basdoc.hxx +++ b/basctl/source/basicide/basdoc.hxx @@ -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 { diff --git a/filter/source/flash/swfwriter.cxx b/filter/source/flash/swfwriter.cxx index 7df9404ed549..9f80ca9afaeb 100644 --- a/filter/source/flash/swfwriter.cxx +++ b/filter/source/flash/swfwriter.cxx @@ -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(); diff --git a/filter/source/flash/swfwriter.hxx b/filter/source/flash/swfwriter.hxx index 2e98ab1f48a1..786410259559 100644 --- a/filter/source/flash/swfwriter.hxx +++ b/filter/source/flash/swfwriter.hxx @@ -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; diff --git a/include/sfx2/ipclient.hxx b/include/sfx2/ipclient.hxx index 56282188f45e..9022f73573c7 100644 --- a/include/sfx2/ipclient.hxx +++ b/include/sfx2/ipclient.hxx @@ -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; diff --git a/sc/inc/dociter.hxx b/sc/inc/dociter.hxx index a170fd200ee6..5b32930858b7 100644 --- a/sc/inc/dociter.hxx +++ b/sc/inc/dociter.hxx @@ -26,6 +26,7 @@ #include "scdllapi.h" #include "cellvalue.hxx" #include "mtvelements.hxx" +#include <vcl/vclptr.hxx> #include <memory> diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx index 6e9e2476977f..cec4ba966065 100644 --- a/sc/inc/document.hxx +++ b/sc/inc/document.hxx @@ -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" diff --git a/sc/inc/editutil.hxx b/sc/inc/editutil.hxx index bd76598e071d..5e3a12693b53 100644 --- a/sc/inc/editutil.hxx +++ b/sc/inc/editutil.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; diff --git a/sc/source/ui/inc/AccessibleEditObject.hxx b/sc/source/ui/inc/AccessibleEditObject.hxx index e4201808bdb9..1c7c5857a16c 100644 --- a/sc/source/ui/inc/AccessibleEditObject.hxx +++ b/sc/source/ui/inc/AccessibleEditObject.hxx @@ -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; diff --git a/svx/source/inc/fmexch.hxx b/svx/source/inc/fmexch.hxx index 8c2c6b2c6240..09ab923081c5 100644 --- a/svx/source/inc/fmexch.hxx +++ b/svx/source/inc/fmexch.hxx @@ -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 { |