[PATCH 3/3] Don't touch handle when setting property Enabled

Lionel Elie Mamane lionel at mamane.lu
Sun Sep 11 14:44:41 PDT 2011


Handle enabling/disabling is controlled by property RecordMarker,
not by property Enabled.

Source of the error is most probably a copy/paste error in
commit 448cd2de7919401a0a84cd6e5dd5ede276ddf28e
Author: Frank Schoenheit [fs] <frank.schoenheit at oracle.com>
Date:   Tue Nov 23 11:38:49 2010 +0100
---
 svx/source/fmcomp/fmgridif.cxx |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/svx/source/fmcomp/fmgridif.cxx b/svx/source/fmcomp/fmgridif.cxx
index a4146a9..222b2b5 100644
--- a/svx/source/fmcomp/fmgridif.cxx
+++ b/svx/source/fmcomp/fmgridif.cxx
@@ -2090,7 +2090,6 @@ void FmXGridPeer::setProperty( const ::rtl::OUString& PropertyName, const Any& V
     {
         sal_Bool bValue( sal_True );
         OSL_VERIFY( Value >>= bValue );
-        pGrid->EnableHandle( bValue );
 
         // Im DesignModus nur das Datenfenster disablen
         // Sonst kann das Control nicht mehr konfiguriert werden
-- 
1.7.2.5


--XsQoSWH+UP9D9v3l--


More information about the LibreOffice mailing list