summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2018-03-07 18:30:22 +0100
committerMarco Cecchetti <mrcekets@gmail.com>2018-03-07 20:19:49 +0100
commitd48840e5df14e8204668b06954f59d270c628684 (patch)
treef0b6f797590d745abe82870446e40ecaf594b798 /sc
parentd99ae18b68d3889c999b59485006f85f7faa201c (diff)
sc lok: Let the tiled rendering draw the List Validation dropdowns.
Change-Id: I84530cdda296dc51ceb0fd695af19211631508df Reviewed-on: https://gerrit.libreoffice.org/50909 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Marco Cecchetti <mrcekets@gmail.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/cctrl/cbuttonw.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sc/source/ui/cctrl/cbuttonw.cxx b/sc/source/ui/cctrl/cbuttonw.cxx
index c8e12e6fbeec..c4067be67f3a 100644
--- a/sc/source/ui/cctrl/cbuttonw.cxx
+++ b/sc/source/ui/cctrl/cbuttonw.cxx
@@ -17,6 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <comphelper/lok.hxx>
#include <vcl/outdev.hxx>
#include <vcl/window.hxx>
#include <vcl/decoview.hxx>
@@ -62,7 +63,8 @@ void ScDDComboBoxButton::Draw( const Point& rAt,
tools::Rectangle aBtnRect( rAt, rSize );
- pOut->EnableMapMode( false );
+ if (!comphelper::LibreOfficeKit::isActive())
+ pOut->EnableMapMode(false);
DecorationView aDecoView( pOut);