summaryrefslogtreecommitdiff
path: root/cui/source
diff options
context:
space:
mode:
authorKiyotaka Nishibori <ml.nishibori.kiyotaka@gmail.com>2022-01-03 06:37:39 +0900
committerCaolán McNamara <caolanm@redhat.com>2022-01-04 11:35:38 +0100
commit5b5ba7f407637023cfe50267296312bf5e8cf538 (patch)
tree27a1f656b4e68d39e804e35cb50203ee29cb6020 /cui/source
parent55dcb060ea5feef0478f7abcaa4da9cbe69bd440 (diff)
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>
Diffstat (limited to 'cui/source')
-rw-r--r--cui/source/tabpages/border.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/cui/source/tabpages/border.cxx b/cui/source/tabpages/border.cxx
index 1f4ee798f7de..a3bd26d371b1 100644
--- a/cui/source/tabpages/border.cxx
+++ b/cui/source/tabpages/border.cxx
@@ -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