changed CuiResId into SvxResId.
though some translation entries for tooltip for border preset images were in svx.mo, cui/source/tabpages/border.cxx referred the entries to cui.mo with CuiResId route, and the translations was not gotten. this commit is alternative change. Change-Id: Ica7a7ea71f7afe7044104b9d953f1b3edf9c2503 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127852 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
parent
55dcb060ea
commit
5b5ba7f407
1 changed files with 2 additions and 1 deletions
|
@ -37,6 +37,7 @@
|
|||
#include <vcl/fieldvalues.hxx>
|
||||
#include <vcl/settings.hxx>
|
||||
#include <vcl/svapp.hxx>
|
||||
#include <svx/dialmgr.hxx>
|
||||
#include <svx/flagsdef.hxx>
|
||||
#include <svl/grabbagitem.hxx>
|
||||
#include <svl/intitem.hxx>
|
||||
|
@ -1374,7 +1375,7 @@ void SvxBorderTabPage::FillPresetVS()
|
|||
{
|
||||
m_xWndPresets->InsertItem( nVSIdx );
|
||||
m_xWndPresets->SetItemImage(nVSIdx, m_aBorderImgVec[GetPresetImageId(nVSIdx) - 1]);
|
||||
m_xWndPresets->SetItemText( nVSIdx, CuiResId( GetPresetStringId( nVSIdx ) ) );
|
||||
m_xWndPresets->SetItemText( nVSIdx, SvxResId( GetPresetStringId( nVSIdx ) ) );
|
||||
}
|
||||
|
||||
// show the control
|
||||
|
|
Loading…
Reference in a new issue