diff options
author | Henry Castro <hcastro@collabora.com> | 2020-02-24 13:34:03 -0400 |
---|---|---|
committer | Henry Castro <hcastro@collabora.com> | 2020-05-21 00:39:14 +0200 |
commit | ae56b554ded2eea3c11fa95352ba8a96b56ae6cc (patch) | |
tree | 05ae4a34d6a6159f43ab91b2520cb0c4c0c4eaa4 /cui | |
parent | lok: add "type" information when a graphic is selected (diff) | |
download | core-ae56b554ded2eea3c11fa95352ba8a96b56ae6cc.tar.gz core-ae56b554ded2eea3c11fa95352ba8a96b56ae6cc.zip |
lok: use "None" string item in the ListBox control
The string item "- none -" confuse mobile users,
it is preferable to use the "None" string
Change-Id: Ib9b5716aa796624255fed7fac5413db69e028bb6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89839
Tested-by: Jenkins
Reviewed-by: Henry Castro <hcastro@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94513
Tested-by: Henry Castro <hcastro@collabora.com>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/tabpages/tpline.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/cui/source/tabpages/tpline.cxx b/cui/source/tabpages/tpline.cxx index beb9018d4361..29c998734e32 100644 --- a/cui/source/tabpages/tpline.cxx +++ b/cui/source/tabpages/tpline.cxx @@ -63,6 +63,7 @@ #include <vcl/settings.hxx> #include <cuitabarea.hxx> #include <svtools/unitconv.hxx> +#include <comphelper/lok.hxx> #define MAX_BMP_WIDTH 16 #define MAX_BMP_HEIGHT 16 @@ -230,7 +231,8 @@ void SvxLineTabPage::FillListboxes() m_xLbLineStyle->set_active( nOldSelect ); // Line end style - OUString sNone( SvxResId( RID_SVXSTR_NONE ) ); + OUString sNone( comphelper::LibreOfficeKit::isActive() ? SvxResId( RID_SVXSTR_INVISIBLE ) + : SvxResId( RID_SVXSTR_NONE ) ); nOldSelect = m_xLbStartStyle->get_active(); m_xLbStartStyle->clear(); m_xLbStartStyle->append_text(sNone); @@ -292,7 +294,9 @@ void SvxLineTabPage::ActivatePage( const SfxItemSet& rSet ) *m_pnLineEndListState = ChangeType::NONE; nPos = m_xLbLineStyle->get_active(); - OUString sNone(SvxResId(RID_SVXSTR_NONE)); + OUString sNone( comphelper::LibreOfficeKit::isActive() ? SvxResId( RID_SVXSTR_INVISIBLE ) + : SvxResId( RID_SVXSTR_NONE ) ); + m_xLbStartStyle->clear(); m_xLbStartStyle->append_text(sNone); |