summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2015-06-30 23:52:19 +0300
committerMaxim Monastirsky <momonasmon@gmail.com>2015-07-01 17:51:10 +0000
commit7adb6d218f50bbafea7998f67ed375c27694339c (patch)
treeb84158e19737a1d941498dcdfc06f2d7c0359bc7 /svx
parentf4f844952f1213283133fc848b0781bb0ce3bb53 (diff)
tdf#86179 inc/dec font is missing in some shells
Mostly in Calc, but also for the SwAnnotationShell. Also replace the current code in SwDrawTextShell with a call to EditView::ChangeFontSize. The latter is able to handle text with different sizes out of the box. Change-Id: I4b55da579ea51683140bce0544e481606d7e5f3e Reviewed-on: https://gerrit.libreoffice.org/16658 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/sidebar/text/TextPropertyPanel.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/svx/source/sidebar/text/TextPropertyPanel.cxx b/svx/source/sidebar/text/TextPropertyPanel.cxx
index a831ab9cd162..63a122a2060a 100644
--- a/svx/source/sidebar/text/TextPropertyPanel.cxx
+++ b/svx/source/sidebar/text/TextPropertyPanel.cxx
@@ -142,7 +142,6 @@ void TextPropertyPanel::HandleContextChange (
return;
maContext = rContext;
- mpToolBoxIncDec->Show(maContext.GetApplication_DI() != sfx2::sidebar::EnumContext::Application_Calc);
bool bWriterText = false;
bool bDrawText = false;