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 18:43:47 +0100
commitf11693d5f99bbb8c9ebcd407bc3b13f05bdbd075 (patch)
tree368e8232bfc2ca1c9c2804930ff07b873dfcf08c /sc
parent3cf1b6fb0a3e1c610adddd3ec730b8df24c1968a (diff)
sc lok: Let the tiled rendering draw the List Validation dropdowns.
Change-Id: I84530cdda296dc51ceb0fd695af19211631508df Reviewed-on: https://gerrit.libreoffice.org/50906 Reviewed-by: Marco Cecchetti <mrcekets@gmail.com> Tested-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 f7d9729512d2..ce37dc0f3f0c 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>
@@ -63,7 +64,8 @@ void ScDDComboBoxButton::Draw( const Point& rAt,
Rectangle aBtnRect( rAt, rSize );
- pOut->EnableMapMode( false );
+ if (!comphelper::LibreOfficeKit::isActive())
+ pOut->EnableMapMode(false);
DecorationView aDecoView( pOut);