summaryrefslogtreecommitdiff
path: root/sd/source/ui/dlg
diff options
context:
space:
mode:
authorMuhammet Kara <muhammet.kara@collabora.com>2019-10-29 01:16:03 +0300
committerMuhammet Kara <muhammet.kara@collabora.com>2019-10-29 01:14:22 +0100
commit25506d15222e583ce5d62b016cf598a9aef65d09 (patch)
tree83304f236aede7a55b8e44126b19bf7f66b5ff03 /sd/source/ui/dlg
parent7ab68018b3b6410a3896642d3c6945bddf397911 (diff)
tdf#108202: Correct Draw page naming in insert pages, and page naming dialogs
Change-Id: I2485bc29d6286cc30436fa9ecfb29e724578db41 Reviewed-on: https://gerrit.libreoffice.org/81631 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'sd/source/ui/dlg')
-rw-r--r--sd/source/ui/dlg/inspagob.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sd/source/ui/dlg/inspagob.cxx b/sd/source/ui/dlg/inspagob.cxx
index bab9494acb3e..37fa11ece19c 100644
--- a/sd/source/ui/dlg/inspagob.cxx
+++ b/sd/source/ui/dlg/inspagob.cxx
@@ -49,6 +49,8 @@ SdInsertPagesObjsDlg::SdInsertPagesObjsDlg(
// insert text
if (!m_pMedium)
m_xDialog->set_title(SdResId(STR_INSERT_TEXT));
+ else if (m_pDoc && m_pDoc->GetDocumentType() == DocumentType::Draw)
+ m_xDialog->set_title(SdResId(STR_INSERT_PAGES));
Reset();
}