summaryrefslogtreecommitdiff
path: root/sw/source/uibase/utlui/uitool.cxx
diff options
context:
space:
mode:
authorayhanyalcinsoy <ayhanyalcinsoy@pisilinux.org>2020-01-11 15:54:49 +0300
committerMaxim Monastirsky <momonasmon@gmail.com>2020-02-02 15:40:45 +0100
commit0298a702b32bdc4c4711cf31461169e549153b39 (patch)
treeded77f5bcebc37036c1cd6872a5a50238109dc76 /sw/source/uibase/utlui/uitool.cxx
parent220cdd6f2c178a115dd2776658fdaaf826315eed (diff)
tdf#129568 Rename Default Style to Default Paragraph/Page/Table Style
Change-Id: I21672c9b78e52c3c9b2687cb2c0ab21dcf67f19a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86538 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org> Tested-by: Heiko Tietze <heiko.tietze@documentfoundation.org> Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Diffstat (limited to 'sw/source/uibase/utlui/uitool.cxx')
-rw-r--r--sw/source/uibase/utlui/uitool.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/utlui/uitool.cxx b/sw/source/uibase/utlui/uitool.cxx
index a8eedaa52e16..1acca5313503 100644
--- a/sw/source/uibase/utlui/uitool.cxx
+++ b/sw/source/uibase/utlui/uitool.cxx
@@ -64,6 +64,7 @@
#include <docary.hxx>
#include <charfmt.hxx>
#include <SwStyleNameMapper.hxx>
+#include <strings.hrc>
// 50 cm 28350
#define MAXHEIGHT 28350
@@ -728,8 +729,7 @@ void FillCharStyleListBox(weld::ComboBox& rToFill, SwDocShell* pDocSh, bool bSor
pPool->SetSearchMask(SfxStyleFamily::Char);
SwDoc* pDoc = pDocSh->GetDoc();
const SfxStyleSheetBase* pBase = pPool->First();
- OUString sStandard;
- SwStyleNameMapper::FillUIName( RES_POOLCOLL_STANDARD, sStandard );
+ const OUString sStandard(SwResId(STR_POOLCHR_STANDARD));
while(pBase)
{
if(bWithDefault || pBase->GetName() != sStandard)