diff options
author | Andre Fischer <af@apache.org> | 2013-04-23 11:33:28 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2013-05-20 11:33:18 +0100 |
commit | 799e382d025e9176624bdfb92e72a9aa783a973c (patch) | |
tree | f3b3b1ee82670ff2688b0243b5b212594785e9df /svx/source/sidebar/text | |
parent | b99b51a7a36132224cfc50a35d369247255e59c2 (diff) |
Related: #i122051# Sidebar handles more Writer variants.
(cherry picked from commit dc36f82362dc1fb159668937cde7cedbc3fad503)
Conflicts:
sfx2/inc/sfx2/sidebar/EnumContext.hxx
Change-Id: I230b6dd3a68d2a17d0433f7919e74f1fcfae8d01
Diffstat (limited to 'svx/source/sidebar/text')
-rw-r--r-- | svx/source/sidebar/text/TextPropertyPanel.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/sidebar/text/TextPropertyPanel.cxx b/svx/source/sidebar/text/TextPropertyPanel.cxx index 044bfa983b0c..4ef01c371407 100644 --- a/svx/source/sidebar/text/TextPropertyPanel.cxx +++ b/svx/source/sidebar/text/TextPropertyPanel.cxx @@ -278,7 +278,7 @@ void TextPropertyPanel::HandleContextChange ( } maContext = aContext; - switch (maContext.GetCombinedContext_DI()) + switch (maContext.GetCombinedContext_DI()) // { case CombinedEnumContext(Application_Calc, Context_Cell): case CombinedEnumContext(Application_Calc, Context_Pivot): @@ -297,8 +297,8 @@ void TextPropertyPanel::HandleContextChange ( break; } - case CombinedEnumContext(Application_WriterAndWeb, Context_Text): - case CombinedEnumContext(Application_WriterAndWeb, Context_Table): + case CombinedEnumContext(Application_WriterVariants, Context_Text): + case CombinedEnumContext(Application_WriterVariants, Context_Table): { mpToolBoxScriptSw->Show(); mpToolBoxScript->Hide(); @@ -314,8 +314,8 @@ void TextPropertyPanel::HandleContextChange ( break; } - case CombinedEnumContext(Application_Writer, Context_DrawText): - case CombinedEnumContext(Application_Writer, Context_Annotation): + case CombinedEnumContext(Application_WriterVariants, Context_DrawText): + case CombinedEnumContext(Application_WriterVariants, Context_Annotation): { mpToolBoxScriptSw->Show(); mpToolBoxScript->Hide(); |