summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-03-03 11:08:31 +0100
committerMichael Meeks <michael.meeks@suse.com>2013-03-04 11:34:07 +0000
commit5b04c9063cc9dd77dc55c361df081812af38cdbd (patch)
tree827cd9405e68df853362ac6a021c4619bf4a6bc3 /sd
parentbf48090e0a81c6490ee938eabaef4e791df85229 (diff)
remove unused and commented out code
This code gets never called. Change-Id: I59228cba1444b7b09f74eb5cf8da9b755c7c32f7
Diffstat (limited to 'sd')
-rw-r--r--sd/inc/drawdoc.hxx2
-rw-r--r--sd/source/core/drawdoc3.cxx12
2 files changed, 0 insertions, 14 deletions
diff --git a/sd/inc/drawdoc.hxx b/sd/inc/drawdoc.hxx
index 56bab28c8b23..3d8997885403 100644
--- a/sd/inc/drawdoc.hxx
+++ b/sd/inc/drawdoc.hxx
@@ -203,8 +203,6 @@ public:
virtual SdrModel* AllocModel() const;
virtual SdrPage* AllocPage(bool bMasterPage);
- virtual const SdrModel* LoadModel(const String& rFileName);
- virtual void DisposeLoadedModels();
virtual bool IsReadOnly() const;
virtual void SetChanged(sal_Bool bFlag = sal_True);
diff --git a/sd/source/core/drawdoc3.cxx b/sd/source/core/drawdoc3.cxx
index ef6a28bf1b29..b811e325dd7a 100644
--- a/sd/source/core/drawdoc3.cxx
+++ b/sd/source/core/drawdoc3.cxx
@@ -1108,18 +1108,6 @@ void SdDrawDocument::CloseBookmarkDoc()
maBookmarkFile = String();
}
-// Load document (for linked objects)
-const SdrModel* SdDrawDocument::LoadModel(const String& rFileName)
-{
- return ( OpenBookmarkDoc(rFileName) );
-}
-
-// Close document (for linked objects)
-void SdDrawDocument::DisposeLoadedModels()
-{
- CloseBookmarkDoc();
-}
-
// Is this document read-only?
bool SdDrawDocument::IsReadOnly() const
{