diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-15 08:32:30 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-15 08:33:37 +0200 |
commit | b17af4fa9ba59738818d1cd106e6066e6d1af3be (patch) | |
tree | 80b8a5c4a3b8ab2484baa63171efeed82bb7f396 /sw/source | |
parent | 1342a8a4f2fefa83bbf3a006efc6fb87702de618 (diff) |
remove unused PREVIEW from SfxObjectCreateMode enum
Change-Id: Idf930f768c978ac8aa53527f6ddb8864d0fdec1d
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/core/doc/DocumentLinksAdministrationManager.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/app/docsh.cxx | 1 | ||||
-rw-r--r-- | sw/source/uibase/app/docshini.cxx | 1 |
3 files changed, 0 insertions, 4 deletions
diff --git a/sw/source/core/doc/DocumentLinksAdministrationManager.cxx b/sw/source/core/doc/DocumentLinksAdministrationManager.cxx index 947e9f2ff8ff..249401305d91 100644 --- a/sw/source/core/doc/DocumentLinksAdministrationManager.cxx +++ b/sw/source/core/doc/DocumentLinksAdministrationManager.cxx @@ -206,8 +206,6 @@ void DocumentLinksAdministrationManager::UpdateLinks() return; if (eMode == SfxObjectCreateMode::ORGANIZER) return; - if (eMode == SfxObjectCreateMode::PREVIEW) - return; if (m_rDoc.GetDocShell()->IsPreview()) return; if (GetLinkManager().GetLinks().empty()) diff --git a/sw/source/uibase/app/docsh.cxx b/sw/source/uibase/app/docsh.cxx index 5c2a814662d1..2a94aa9ee4e0 100644 --- a/sw/source/uibase/app/docsh.cxx +++ b/sw/source/uibase/app/docsh.cxx @@ -333,7 +333,6 @@ bool SwDocShell::Save() SAL_FALLTHROUGH; case SfxObjectCreateMode::STANDARD: - case SfxObjectCreateMode::PREVIEW: default: { if (m_pDoc->ContainsMSVBasic()) diff --git a/sw/source/uibase/app/docshini.cxx b/sw/source/uibase/app/docshini.cxx index a547c945bb92..1df546cb7350 100644 --- a/sw/source/uibase/app/docshini.cxx +++ b/sw/source/uibase/app/docshini.cxx @@ -547,7 +547,6 @@ bool SwDocShell::Load( SfxMedium& rMedium ) SAL_FALLTHROUGH; case SfxObjectCreateMode::STANDARD: - case SfxObjectCreateMode::PREVIEW: { Reader *pReader = ReadXML; if( pReader ) |