diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-05-19 16:00:39 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-05-19 16:03:28 -0400 |
commit | 2fc4f5cd750cc3899ffc6b2f831edcb01e7773b4 (patch) | |
tree | 050d146a6cf1639453a98581d2801e132d2d4ada /sc/source/ui/view/tabvwshb.cxx | |
parent | 0d361388060741fe8e2f1ba059fba95707bdc233 (diff) |
Register OpenGL windows to ScGridWindow upon file load.
Change-Id: I6fdce232ef41079f20a983dc72da032196078858
Diffstat (limited to 'sc/source/ui/view/tabvwshb.cxx')
-rw-r--r-- | sc/source/ui/view/tabvwshb.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sc/source/ui/view/tabvwshb.cxx b/sc/source/ui/view/tabvwshb.cxx index 7d7011490571..3871bc8dce35 100644 --- a/sc/source/ui/view/tabvwshb.cxx +++ b/sc/source/ui/view/tabvwshb.cxx @@ -58,6 +58,7 @@ #include "chartarr.hxx" #include "drawview.hxx" #include "ChartRangeSelectionListener.hxx" +#include <gridwin.hxx> #include <tools/urlobj.hxx> #include <com/sun/star/ui/dialogs/TemplateDescription.hpp> @@ -243,6 +244,11 @@ ErrCode ScTabViewShell::DoVerb(long nVerb) return nErr; } +void ScTabViewShell::Initialize() +{ + AddOpenGLChartWindows(); +} + void ScTabViewShell::DeactivateOle() { // deactivate inplace editing if currently active |