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

New commits:
commit 4962e13d358f3389e81ceb585d73d41a6a78eebd
Author: Maxim Monastirsky <momonas...@gmail.com>
Date:   Thu May 5 13:19:39 2016 +0300

    Hide text highlight color button for cells
    
    Highlight color isn't implemented for cells,
    so this button isn't going to work.
    
    (cherry picked from commit 36d68e49255d5fc2ded3c5a4aaa91b718122044d)
    
    Change-Id: If52d000ac80eb05c4f65cc42092ba91b9bb752c7
    Reviewed-on: https://gerrit.libreoffice.org/24800
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: Katarina Behrens <katarina.behr...@cib.de>

diff --git a/svx/source/sidebar/text/TextPropertyPanel.cxx 
b/svx/source/sidebar/text/TextPropertyPanel.cxx
index 38484e7c..5fb25a8 100644
--- a/svx/source/sidebar/text/TextPropertyPanel.cxx
+++ b/svx/source/sidebar/text/TextPropertyPanel.cxx
@@ -157,8 +157,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