summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2018-03-07 18:30:22 +0100
committerAndras Timar <andras.timar@collabora.com>2018-03-26 07:46:13 +0200
commit3558a6b712c5d53b3a51c8bb711e1d20be61d2a2 (patch)
treebfaea36addb7b3933a3c23228ce1ade0f495211f /sc/source
parent756012d1b4f1d3420ffb0ca6b25621cdf73df69e (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> (cherry picked from commit d48840e5df14e8204668b06954f59d270c628684)
Diffstat (limited to 'sc/source')
-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 d354b933d9bc..7d8760661a66 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);