diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2012-06-08 22:04:48 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2012-06-09 23:51:08 +0300 |
commit | 10ff11e70c59d2e9cd9218faedef2b2b507f852f (patch) | |
tree | 4e0ab632ffa0b8ec84145fc089530037d3910b24 | |
parent | 15201d37a48ba759ac2aa6f4f5b6bd15d53f0416 (diff) |
Do what the TODO said: Remove unused member and inclusion of vcl/virdev.hxx
Add header back in a few C++ files elsewhere.
Change-Id: I041ed39ff9bb26d1f42f3614ca50dbc085f13861
-rw-r--r-- | cui/source/customize/cfg.cxx | 1 | ||||
-rw-r--r-- | framework/source/services/backingwindow.cxx | 1 | ||||
-rw-r--r-- | sc/source/ui/cctrl/tbzoomsliderctrl.cxx | 1 | ||||
-rw-r--r-- | svx/source/dialog/_contdlg.cxx | 1 | ||||
-rw-r--r-- | vcl/inc/vcl/toolbox.hxx | 2 | ||||
-rw-r--r-- | vcl/source/window/toolbox.cxx | 2 | ||||
-rw-r--r-- | vcl/source/window/window.cxx | 1 |
7 files changed, 5 insertions, 4 deletions
diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx index adaeaaa94614..c033c758d8b5 100644 --- a/cui/source/customize/cfg.cxx +++ b/cui/source/customize/cfg.cxx @@ -34,6 +34,7 @@ #include <vcl/decoview.hxx> #include <vcl/toolbox.hxx> #include <vcl/scrbar.hxx> +#include <vcl/virdev.hxx> #include <sfx2/app.hxx> #include <sfx2/sfxdlg.hxx> diff --git a/framework/source/services/backingwindow.cxx b/framework/source/services/backingwindow.cxx index 1755b98989d8..019619e773e3 100644 --- a/framework/source/services/backingwindow.cxx +++ b/framework/source/services/backingwindow.cxx @@ -40,6 +40,7 @@ #include "vcl/mnemonic.hxx" #include "vcl/menu.hxx" #include "vcl/svapp.hxx" +#include "vcl/virdev.hxx" #include "tools/urlobj.hxx" diff --git a/sc/source/ui/cctrl/tbzoomsliderctrl.cxx b/sc/source/ui/cctrl/tbzoomsliderctrl.cxx index e3e8700a5fce..df7b87b86ece 100644 --- a/sc/source/ui/cctrl/tbzoomsliderctrl.cxx +++ b/sc/source/ui/cctrl/tbzoomsliderctrl.cxx @@ -28,6 +28,7 @@ #include "tbzoomsliderctrl.hxx" #include <vcl/image.hxx> #include <vcl/toolbox.hxx> +#include <vcl/virdev.hxx> #include <vcl/svapp.hxx> #include <vcl/gradient.hxx> #include <svl/itemset.hxx> diff --git a/svx/source/dialog/_contdlg.cxx b/svx/source/dialog/_contdlg.cxx index ddc11ed87e39..db68e5892b5c 100644 --- a/svx/source/dialog/_contdlg.cxx +++ b/svx/source/dialog/_contdlg.cxx @@ -60,6 +60,7 @@ #include <svx/svdopath.hxx> #include "svx/dlgutil.hxx" #include <vcl/svapp.hxx> +#include <vcl/virdev.hxx> #include "dlgunit.hxx" SFX_IMPL_FLOATINGWINDOW( SvxContourDlgChildWindow, SID_CONTOUR_DLG ); diff --git a/vcl/inc/vcl/toolbox.hxx b/vcl/inc/vcl/toolbox.hxx index 75ff319dbc12..8e1270ff8c77 100644 --- a/vcl/inc/vcl/toolbox.hxx +++ b/vcl/inc/vcl/toolbox.hxx @@ -34,7 +34,6 @@ #include <vcl/dockwin.hxx> #include <vcl/image.hxx> #include <vcl/timer.hxx> -#include <vcl/virdev.hxx> class UserDrawEvent; @@ -176,7 +175,6 @@ class VCL_DLLPUBLIC ToolBox : public DockingWindow private: ImplToolBoxPrivateData* mpData; - VirtualDevice* mpBtnDev; // TODO: remove unused member ImplToolSizeArray* mpFloatSizeAry; XubString maCvtStr; XubString maNextToolBoxStr; diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx index 370eb0d4cf69..aeb23517df35 100644 --- a/vcl/source/window/toolbox.cxx +++ b/vcl/source/window/toolbox.cxx @@ -39,7 +39,6 @@ #include <vcl/svapp.hxx> #include <vcl/help.hxx> #include <vcl/sound.hxx> -#include <vcl/virdev.hxx> #include <vcl/spin.h> #include <vcl/toolbox.hxx> #include <vcl/bitmap.hxx> @@ -1541,7 +1540,6 @@ void ToolBox::ImplInit( Window* pParent, WinBits nStyle ) // initialize variables ImplGetWindowImpl()->mbToolBox = sal_True; - mpBtnDev = NULL; mpFloatSizeAry = NULL; mpData = new ImplToolBoxPrivateData; mpFloatWin = NULL; diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx index a7c3d1165846..e55a0928d5a5 100644 --- a/vcl/source/window/window.cxx +++ b/vcl/source/window/window.cxx @@ -56,6 +56,7 @@ #include "vcl/gdimtf.hxx" #include "vcl/pdfextoutdevdata.hxx" #include "vcl/lazydelete.hxx" +#include "vcl/virdev.hxx" // declare system types in sysdata.hxx #include "svsys.h" |