summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/docsh.hxx6
-rw-r--r--sw/source/uibase/app/docsh.cxx10
2 files changed, 0 insertions, 16 deletions
diff --git a/sw/inc/docsh.hxx b/sw/inc/docsh.hxx
index 230b267d0391..2aeafa6912bd 100644
--- a/sw/inc/docsh.hxx
+++ b/sw/inc/docsh.hxx
@@ -143,12 +143,6 @@ protected:
/// override to update text fields
virtual void DoFlushDocInfo() SAL_OVERRIDE;
- // override <SfxObjectShell>'s method which is called in
- // <SfxObjectShell::ImportFrom(..)>.
- // <SfxObjectShell::ImportFrom(..)> is used by current import of Microsoft
- // Word documents in OOXML file format.
- virtual void BeforeLoading(SfxMedium&, const ::rtl::OUString&) SAL_OVERRIDE;
-
public:
using SotObject::GetInterface;
diff --git a/sw/source/uibase/app/docsh.cxx b/sw/source/uibase/app/docsh.cxx
index 23816813ab64..bffe05521330 100644
--- a/sw/source/uibase/app/docsh.cxx
+++ b/sw/source/uibase/app/docsh.cxx
@@ -300,16 +300,6 @@ bool SwDocShell::ConvertFrom( SfxMedium& rMedium )
return bOk;
}
-void SwDocShell::BeforeLoading(SfxMedium&, const ::rtl::OUString&)
-{
- if (mpDoc == NULL)
- {
- return;
- }
-
- mpDoc->RemoveAllFmtLanguageDependencies();
-}
-
// Saving the Default-Format, Stg present
bool SwDocShell::Save()
{