[Libreoffice-commits] core.git: sc/source

Jan Holesovsky kendy at collabora.com
Wed Mar 7 19:20:14 UTC 2018


 sc/source/ui/cctrl/cbuttonw.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit d48840e5df14e8204668b06954f59d270c628684
Author: Jan Holesovsky <kendy at collabora.com>
Date:   Wed Mar 7 18:30:22 2018 +0100

    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 at libreoffice.org>
    Reviewed-by: Marco Cecchetti <mrcekets at gmail.com>

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);
 


More information about the Libreoffice-commits mailing list