https://bugs.documentfoundation.org/show_bug.cgi?id=45617

--- Comment #44 from Samuel Adesola <[email protected]> ---
(In reply to Hossein from comment #30)
> Re-evaluating the EasyHack in 2022
> 
> This issue is still relevant. The master slides are not copy-able in the
> slide sorter.
> 
> This copy is possible in MS PowerPoint.

DUplicate for master slide is currently dissabled as mentioned but when I
enabled duplicate that works for normal slide or another added a new Duplicate
UNO command, duplicating master slide always crashes with:
warn:legacy.tools:32500:32500:svx/source/svdraw/svdpage.cxx:1679:
TRG_GetMasterPageVisibleLayers(): No MasterPage available. Use
TRG_HasMasterPage()
before access (!)

The Duplicate is being dissabled in master mode here:
sd/source/ui/slidesorter/controller/SlsSlotManager.cxx

    if (eEditMode == EditMode::MasterPage)
    {
        // Disable some slots when in master page mode.
        rSet.DisableItem(SID_ASSIGN_LAYOUT);
        rSet.DisableItem(SID_INSERTPAGE);

        if (rSet.GetItemState(SID_DUPLICATE_PAGE) == SfxItemState::DEFAULT)
            rSet.DisableItem(SID_DUPLICATE_PAGE);
    }

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to