sd/source/core/sdpage.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 942d1d2ea59bf4605f2c464a6b29c967fa9f8de8
Author: Muhammet Kara <[email protected]>
AuthorDate: Wed Oct 23 09:50:26 2019 +0300
Commit: Muhammet Kara <[email protected]>
CommitDate: Wed Oct 23 11:17:08 2019 +0200
tdf#112126: Correct naming for pages in Draw
Pages are named as 'Page X' rather than 'Slide X' now.
Change-Id: I3d4838ef5dbd8d0c04a068adc12ad9cea0bbb0b1
Reviewed-on: https://gerrit.libreoffice.org/81364
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <[email protected]>
diff --git a/sd/source/core/sdpage.cxx b/sd/source/core/sdpage.cxx
index 098bd4b821ae..eedeb4056d44 100644
--- a/sd/source/core/sdpage.cxx
+++ b/sd/source/core/sdpage.cxx
@@ -2521,6 +2521,9 @@ const OUString& SdPage::GetName() const
sal_uInt16 nNum = (GetPageNum() + 1) / 2;
aCreatedPageName = SdResId(STR_PAGE) + " ";
+ if
(static_cast<SdDrawDocument&>(getSdrModelFromSdrPage()).GetDocumentType() ==
DocumentType::Draw )
+ aCreatedPageName = SdResId(STR_PAGE_NAME) + " ";
+
if( getSdrModelFromSdrPage().GetPageNumType() ==
css::style::NumberingType::NUMBER_NONE )
{
// if the document has number none as a formatting
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits