diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-05-07 04:20:02 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-05-07 21:23:04 +0200 |
commit | af578839ca4bfd3dfc09203994189254a60e5ea9 (patch) | |
tree | 5fa3364e28fbeab32291eb0d9ec68698979dc0ed /sc/source | |
parent | 67c134d4e26fca9317157f634bed1fff6a3093e4 (diff) |
let us use the new OpenGLWindow
Change-Id: I5cbab0aa1707513b62f7a9958fac013b3beb2dcb
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/ui/drawfunc/fuins2.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/drawfunc/fuins2.cxx b/sc/source/ui/drawfunc/fuins2.cxx index dde50891601d..873588d36f4a 100644 --- a/sc/source/ui/drawfunc/fuins2.cxx +++ b/sc/source/ui/drawfunc/fuins2.cxx @@ -32,7 +32,7 @@ #include <tools/urlobj.hxx> #include <vcl/msgbox.hxx> #include <vcl/syschild.hxx> -#include <vcl/sysdata.hxx> +#include <vcl/openglwin.hxx> #include <svl/urihelper.hxx> #include <unotools/moduleoptions.hxx> #include <svtools/insdlg.hxx> @@ -544,7 +544,7 @@ FuInsertChart::FuInsertChart(ScTabViewShell* pViewSh, Window* pWin, ScDrawView* ScDocument* pScDoc = pScDocSh->GetDocument(); bool bUndo (pScDoc->IsUndoEnabled()); - SystemChildWindow* pChildWindow = new SystemChildWindow(pData->GetActiveWin(), 0); + OpenGLWindow* pChildWindow = new OpenGLWindow(pData->GetActiveWin()); Size aWindowSize = pChildWindow->LogicToPixel( aSize, MapMode( MAP_100TH_MM ) ); pChildWindow->SetSizePixel(aWindowSize); Wallpaper aBackground = pChildWindow->GetBackground(); |