[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.3' - sc/source

Jan Holesovsky kendy at collabora.com
Wed Mar 7 17:44:11 UTC 2018


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

New commits:
commit f11693d5f99bbb8c9ebcd407bc3b13f05bdbd075
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/50906
    Reviewed-by: Marco Cecchetti <mrcekets at gmail.com>
    Tested-by: Marco Cecchetti <mrcekets at gmail.com>

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


More information about the Libreoffice-commits mailing list