diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-12-11 12:19:44 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-12-11 15:07:44 -0500 |
commit | 3e2dff3a18e52c153b3bebd2fa0f4aee7f3f671b (patch) | |
tree | 579590b097d9724e82e008130edeafcd54a45a3d /sc/source/ui/docshell/docsh.cxx | |
parent | dd8c33799ecc243f7c3626e8d146e9dbd78b3e09 (diff) |
Let's use a status indicator while exporting to xlsx.
And reduce header dependency on docsh.hxx which a lot of files include
directly or indirectly...
Change-Id: I2de25380f8b634456e0add940fbb775ac11414cd
(cherry picked from commit da1392934e043bfd12b94dab7b874ddf940f097b)
Diffstat (limited to 'sc/source/ui/docshell/docsh.cxx')
-rw-r--r-- | sc/source/ui/docshell/docsh.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx index 0760425ab6b0..1904f1b03d5b 100644 --- a/sc/source/ui/docshell/docsh.cxx +++ b/sc/source/ui/docshell/docsh.cxx @@ -108,6 +108,7 @@ #include "docshimp.hxx" #include "sizedev.hxx" +#include "refreshtimerprotector.hxx" #include <officecfg/Office/Calc.hxx> #include <comphelper/processfactory.hxx> @@ -3024,7 +3025,7 @@ void ScDocShell::UseSheetSaveEntries() ScDocShellModificator::ScDocShellModificator( ScDocShell& rDS ) : rDocShell( rDS ), - aProtector( rDS.GetDocument()->GetRefreshTimerControlAddress() ) + mpProtector(new ScRefreshTimerProtector(rDS.GetDocument()->GetRefreshTimerControlAddress())) { ScDocument* pDoc = rDocShell.GetDocument(); bAutoCalcShellDisabled = pDoc->IsAutoCalcShellDisabled(); |