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

New commits:
commit 36d68e49255d5fc2ded3c5a4aaa91b718122044d
Author: Maxim Monastirsky <momonas...@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):
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to