From 799e382d025e9176624bdfb92e72a9aa783a973c Mon Sep 17 00:00:00 2001 From: Andre Fischer Date: Tue, 23 Apr 2013 11:33:28 +0000 Subject: Related: #i122051# Sidebar handles more Writer variants. (cherry picked from commit dc36f82362dc1fb159668937cde7cedbc3fad503) Conflicts: sfx2/inc/sfx2/sidebar/EnumContext.hxx Change-Id: I230b6dd3a68d2a17d0433f7919e74f1fcfae8d01 --- svx/source/sidebar/paragraph/ParaPropertyPanel.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'svx/source/sidebar/paragraph') diff --git a/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx b/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx index c6b8809f2c7d..57833b396540 100644 --- a/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx +++ b/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx @@ -193,8 +193,8 @@ void ParaPropertyPanel::HandleContextChange ( maTbxProDemoteBackground->Show(); break; - case CombinedEnumContext(Application_WriterAndWeb, Context_Default): - case CombinedEnumContext(Application_WriterAndWeb, Context_Text): + case CombinedEnumContext(Application_WriterVariants, Context_Default): + case CombinedEnumContext(Application_WriterVariants, Context_Text): maTBxVertAlign->Hide(); maTBxVertAlignBackground->Hide(); maTBxBackColor->Show(); @@ -209,7 +209,7 @@ void ParaPropertyPanel::HandleContextChange ( maTbxProDemoteBackground->Hide(); break; - case CombinedEnumContext(Application_WriterAndWeb, Context_Table): + case CombinedEnumContext(Application_WriterVariants, Context_Table): maTBxVertAlign->Show(); maTBxVertAlignBackground->Show(); maTBxBackColor->Show(); @@ -223,7 +223,7 @@ void ParaPropertyPanel::HandleContextChange ( maTbxProDemoteBackground->Hide(); break; - case CombinedEnumContext(Application_WriterAndWeb, Context_DrawText): + case CombinedEnumContext(Application_WriterVariants, Context_DrawText): maTBxVertAlign->Show(); maTBxVertAlignBackground->Show(); maTBxBackColor->Hide(); @@ -237,7 +237,7 @@ void ParaPropertyPanel::HandleContextChange ( maTbxProDemoteBackground->Hide(); break; - case CombinedEnumContext(Application_WriterAndWeb, Context_Annotation): + case CombinedEnumContext(Application_WriterVariants, Context_Annotation): maTBxVertAlign->Hide(); maTBxVertAlignBackground->Hide(); maTBxBackColor->Hide(); -- cgit v1.2.3