diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-05-03 19:39:19 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-05-03 22:44:08 +0200 |
commit | a9102a1c637272d88ef542d37b871bd9278cacb7 (patch) | |
tree | c8396740a53e5262f1937917fea008098d853d00 /sw/source | |
parent | 28609e1017adf10cdfa513639406e362e578259e (diff) |
explicitly pass SfxStyleFamily to GenerateUnusedName
Change-Id: I7879578383d58cb65441c9049e91e33bb4827afb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93353
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/uibase/app/docst.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/app/docst.cxx b/sw/source/uibase/app/docst.cxx index 70a69a6d255c..72aaf1e8f918 100644 --- a/sw/source/uibase/app/docst.cxx +++ b/sw/source/uibase/app/docst.cxx @@ -310,7 +310,7 @@ void SwDocShell::ExecStyleSheet( SfxRequest& rReq ) sParent = static_cast<const SfxStringItem*>(pItem)->GetValue(); if (sName.isEmpty() && m_xBasePool.get()) - sName = SfxStyleDialogController::GenerateUnusedName(*m_xBasePool); + sName = SfxStyleDialogController::GenerateUnusedName(*m_xBasePool, nFamily); Edit(sName, sParent, nFamily, nMask, true, OString(), nullptr, &rReq, nSlot); } |