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

Michael Meeks <michael.me...@collabora.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ke...@collabora.com

--- Comment #4 from Michael Meeks <michael.me...@collabora.com> ---
sal_Bool SAL_CALL SfxBaseModel::hasLocation()
{
    SfxModelGuard aGuard( *this );

    return m_pData->m_pObjectShell.is() && m_pData->m_pObjectShell->HasName();
}

HasName() returns false; which suggests that the SfxObjectShell is created
without a name set; or - somehow

SfxObjectShell::SetNoName is getting called - which appears only to happen
from:

void SfxObjectShell::TemplateDisconnectionAfterLoad()
ErrCode SfxApplication::LoadTemplate(...

Which would suggest that the file-types of the templates being used to
construct these files are (erroneously) template and not plain files: and as
such we're getting a forced prompt for a new name on save; which is cancelled
...

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to