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

Maxim Monastirsky momonasmon at gmail.com
Thu May 5 10:23:33 UTC 2016


 svx/source/sidebar/text/TextPropertyPanel.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 36d68e49255d5fc2ded3c5a4aaa91b718122044d
Author: Maxim Monastirsky <momonasmon at gmail.com>
Date:   Thu May 5 13:19:39 2016 +0300

    Hide text highlight color button for cells
    
    Change-Id: If52d000ac80eb05c4f65cc42092ba91b9bb752c7

diff --git a/svx/source/sidebar/text/TextPropertyPanel.cxx b/svx/source/sidebar/text/TextPropertyPanel.cxx
index 7e03327..85cbaab 100644
--- a/svx/source/sidebar/text/TextPropertyPanel.cxx
+++ b/svx/source/sidebar/text/TextPropertyPanel.cxx
@@ -110,8 +110,10 @@ void TextPropertyPanel::HandleContextChange (
             break;
 
         case CombinedEnumContext(Application_Calc, Context_EditCell):
-        case CombinedEnumContext(Application_Calc, Context_DrawText):
+            bNeedTextSpacing = true;
+            break;
 
+        case CombinedEnumContext(Application_Calc, Context_DrawText):
         case CombinedEnumContext(Application_WriterVariants, Context_DrawText):
         case CombinedEnumContext(Application_WriterVariants, Context_Annotation):
         case CombinedEnumContext(Application_DrawImpress, Context_DrawText):


More information about the Libreoffice-commits mailing list