diff options
author | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-10-05 17:09:38 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-10-05 17:12:41 -0400 |
commit | f82ee563747745018c82e79536421c05d171030a (patch) | |
tree | c6cc962daaf119f2beeb0b1ac195ba00d8ce59f9 /sc/inc/document.hxx | |
parent | dbf650a31da1ded5bd50e66a39fcf63ade943697 (diff) |
bnc#722045: Display page background color/image properly.
A regression from 3.3. Calc wouldn't display page background color
or image in print preview. This was a side effect of the removal
of the high-contract mode.
In 3.3, Calc purpusefully wouldn't show background color/image when
the app is in high contrast mode. Now that the mode has been removed,
the code acted as though the high contract mode is always on, which
caused the background color/image to always be hidden in print preview.
Diffstat (limited to 'sc/inc/document.hxx')
-rw-r--r-- | sc/inc/document.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx index 0d1e13de9363..5648a54a4786 100644 --- a/sc/inc/document.hxx +++ b/sc/inc/document.hxx @@ -696,7 +696,7 @@ public: SfxBindings* GetViewBindings(); SfxObjectShell* GetDocumentShell() const { return pShell; } - ScDrawLayer* GetDrawLayer() { return pDrawLayer; } + SC_DLLPUBLIC ScDrawLayer* GetDrawLayer(); SfxBroadcaster* GetDrawBroadcaster(); // to avoid header void BeginDrawUndo(); |