summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>2023-09-07 12:49:46 +0200
committerSamuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>2023-09-08 13:24:21 +0200
commitc7a608a6691c790783c63f504010bc796c36af25 (patch)
tree2495546cbec51b568d52309a19fa9fc730a0b61c /include
parent48129cabb9a5636207d3b8f4f9fa4e4abac61b8a (diff)
tdf#155503 Add title to document title dialog
Otherwise the title was just "Name" Change-Id: I883d2468c7bd97782b0aef4165a6afe4ff39ce31 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156659 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
Diffstat (limited to 'include')
-rw-r--r--include/cui/dlgname.hxx3
-rw-r--r--include/svx/svxdlg.hxx2
2 files changed, 3 insertions, 2 deletions
diff --git a/include/cui/dlgname.hxx b/include/cui/dlgname.hxx
index 9083177ee980..16938734ff97 100644
--- a/include/cui/dlgname.hxx
+++ b/include/cui/dlgname.hxx
@@ -36,7 +36,8 @@ private:
DECL_LINK(ModifyHdl, weld::Entry&, void);
public:
- SvxNameDialog(weld::Window* pWindow, const OUString& rName, const OUString& rDesc);
+ SvxNameDialog(weld::Window* pWindow, const OUString& rName, const OUString& rDesc,
+ const OUString& rTitle = "");
OUString GetName() const { return m_xEdtName->get_text(); }
diff --git a/include/svx/svxdlg.hxx b/include/svx/svxdlg.hxx
index d5a0b5fec7fc..436bfd430368 100644
--- a/include/svx/svxdlg.hxx
+++ b/include/svx/svxdlg.hxx
@@ -377,7 +377,7 @@ public:
virtual VclPtr<AbstractSvxNewDictionaryDialog> CreateSvxNewDictionaryDialog(weld::Window* pParent) = 0;
virtual VclPtr<VclAbstractDialog> CreateSvxEditDictionaryDialog(weld::Window* pParent, const OUString& rName) = 0;
virtual VclPtr<AbstractSvxNameDialog> CreateSvxNameDialog(weld::Window* pParent,
- const OUString& rName, const OUString& rDesc ) = 0;
+ const OUString& rName, const OUString& rDesc, const OUString& rTitle = "" ) = 0;
// #i68101#
virtual VclPtr<AbstractSvxObjectNameDialog> CreateSvxObjectNameDialog(weld::Window* pParent, const OUString& rName) = 0;