diff options
author | heiko tietze <tietze.heiko@gmail.com> | 2018-03-23 12:05:31 +0100 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2018-04-03 09:20:35 +0200 |
commit | 07ec28da82c8e965558e020651be13033653c648 (patch) | |
tree | e9f1da455722bac80d6dc2e4bc576a3c31357ca7 | |
parent | dc608751f4bf4c7244d8973bf900bf7b3bd05d91 (diff) |
tdf#116297 - Remove table tooltips
Tooltips cleared
Change-Id: I085913a73a4666db522d5231c7cab8a8e30291b3
Reviewed-on: https://gerrit.libreoffice.org/51776
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
-rw-r--r-- | sw/inc/strings.hrc | 5 | ||||
-rw-r--r-- | sw/source/uibase/docvw/edtwin2.cxx | 42 |
2 files changed, 1 insertions, 46 deletions
diff --git a/sw/inc/strings.hrc b/sw/inc/strings.hrc index 2dbf824d1f5f..a4b39e3fe766 100644 --- a/sw/inc/strings.hrc +++ b/sw/inc/strings.hrc @@ -1173,11 +1173,6 @@ #define STR_REDLINE_TABLE_CELL_DELETE NC_("STR_REDLINE_TABLE_CELL_DELETE", "Cell Deleted") #define STR_ENDNOTE NC_("STR_ENDNOTE", "Endnote: ") #define STR_FTNNOTE NC_("STR_FTNNOTE", "Footnote: ") -#define STR_TABLE_COL_ADJUST NC_("STR_TABLE_COL_ADJUST", "Adjust table column") -#define STR_TABLE_ROW_ADJUST NC_("STR_TABLE_ROW_ADJUST", "Adjust table row") -#define STR_TABLE_SELECT_ALL NC_("STR_TABLE_SELECT_ALL", "Select whole table") -#define STR_TABLE_SELECT_ROW NC_("STR_TABLE_SELECT_ROW", "Select table row") -#define STR_TABLE_SELECT_COL NC_("STR_TABLE_SELECT_COL", "Select table column") #define STR_SMARTTAG_CLICK NC_("STR_SMARTTAG_CLICK", "%s-click to open Smart Tag menu") #define STR_HEADER_TITLE NC_("STR_HEADER_TITLE", "Header (%1)") #define STR_FIRST_HEADER_TITLE NC_("STR_FIRST_HEADER_TITLE", "First Page Header (%1)") diff --git a/sw/source/uibase/docvw/edtwin2.cxx b/sw/source/uibase/docvw/edtwin2.cxx index 35f73733bd3d..670d9244fa7d 100644 --- a/sw/source/uibase/docvw/edtwin2.cxx +++ b/sw/source/uibase/docvw/edtwin2.cxx @@ -389,47 +389,7 @@ void SwEditWin::RequestHelp(const HelpEvent &rEvt) bContinue = false; } - if( bContinue ) - { - SwTab nTabCols = rSh.WhichMouseTabCol(aPos); - const char* pTabRes = nullptr; - switch(nTabCols) - { - case SwTab::COL_HORI: - case SwTab::COL_VERT: - pTabRes = STR_TABLE_COL_ADJUST; - break; - case SwTab::ROW_HORI: - case SwTab::ROW_VERT: - pTabRes = STR_TABLE_ROW_ADJUST; - break; - // #i32329# Enhanced table selection - case SwTab::SEL_HORI: - case SwTab::SEL_HORI_RTL: - case SwTab::SEL_VERT: - pTabRes = STR_TABLE_SELECT_ALL; - break; - case SwTab::ROWSEL_HORI: - case SwTab::ROWSEL_HORI_RTL: - case SwTab::ROWSEL_VERT: - pTabRes = STR_TABLE_SELECT_ROW; - break; - case SwTab::COLSEL_HORI: - case SwTab::COLSEL_VERT: - pTabRes = STR_TABLE_SELECT_COL; - break; - case SwTab::COL_NONE: break; // prevent compiler warning - } - if (pTabRes) - { - sText = SwResId(pTabRes); - Size aTextSize( GetTextWidth(sText), GetTextHeight()); - tools::Rectangle aRect(rEvt.GetMousePosPixel(), aTextSize); - OUString sDisplayText(ClipLongToolTip(sText)); - Help::ShowQuickHelp(this, aRect, sDisplayText); - } - bContinue = false; - } + } if( bContinue ) |