sw/source/uibase/shells/textfld.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 00e2e3210da57c138bd998481a89760b8c7a0e47
Author:     Justin Luth <jl...@mail.com>
AuthorDate: Thu May 18 09:55:03 2023 -0400
Commit:     Justin Luth <jl...@mail.com>
CommitDate: Thu May 18 17:53:08 2023 +0200

    tdf#86630 sw page number wizard: use '/' for page total
    
    '/' is a better default separator (1 / 5)
    than '-' (1 - 5)
    
    Change-Id: I94bc704fbb22e817dfc0008f47880c1d41578880
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151965
    Tested-by: Jenkins
    Reviewed-by: Justin Luth <jl...@mail.com>

diff --git a/sw/source/uibase/shells/textfld.cxx 
b/sw/source/uibase/shells/textfld.cxx
index 4d9c50a44324..c75cb2c2f8d9 100644
--- a/sw/source/uibase/shells/textfld.cxx
+++ b/sw/source/uibase/shells/textfld.cxx
@@ -1252,7 +1252,7 @@ FIELD_INSERT:
                 aMgr.InsertField(aData);
                 if (pDlg->GetIncludePageTotal())
                 {
-                    
rDoc->getIDocumentContentOperations().InsertString(*rSh.GetCursor(), " - ");
+                    
rDoc->getIDocumentContentOperations().InsertString(*rSh.GetCursor(), " / ");
                     SwInsertField_Data 
aPageTotalData(SwFieldTypesEnum::DocumentStatistics, DS_PAGE,
                                                       OUString(), OUString(), 
SVX_NUM_PAGEDESC);
                     aMgr.InsertField(aPageTotalData);
@@ -1306,7 +1306,7 @@ FIELD_INSERT:
                     aEvenMgr.InsertField(aData);
                     if (pDlg->GetIncludePageTotal())
                     {
-                        
rDoc->getIDocumentContentOperations().InsertString(*rSh.GetCursor(), " - ");
+                        
rDoc->getIDocumentContentOperations().InsertString(*rSh.GetCursor(), " / ");
                         SwInsertField_Data 
aPageTotalData(SwFieldTypesEnum::DocumentStatistics,
                                                           DS_PAGE, OUString(), 
OUString(),
                                                           SVX_NUM_PAGEDESC);

Reply via email to