summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/unomodel.cxx
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2012-12-04 10:53:56 +0000
committerNoel Power <noel.power@suse.com>2012-12-04 10:55:16 +0000
commitab96b65e0d4fab541d8b31b46e3f37db0fb548b5 (patch)
tree9711c4ba0a11deafc08031f6d15d70bc213a1349 /basctl/source/basicide/unomodel.cxx
parenta0c53a961a0af21f69f592b43799cd635c994810 (diff)
fix for fdo#57836 throw when attempting to store basicide model
Change-Id: I8769a63be61d45817757be3ad23ffc7b01173041
Diffstat (limited to 'basctl/source/basicide/unomodel.cxx')
-rw-r--r--basctl/source/basicide/unomodel.cxx24
1 files changed, 24 insertions, 0 deletions
diff --git a/basctl/source/basicide/unomodel.cxx b/basctl/source/basicide/unomodel.cxx
index 0ee8f3ade7a0..1b6122c790fd 100644
--- a/basctl/source/basicide/unomodel.cxx
+++ b/basctl/source/basicide/unomodel.cxx
@@ -117,6 +117,30 @@ uno::Reference< uno::XInterface > SAL_CALL SIDEModel_createInstance(
return uno::Reference< uno::XInterface >( pShell->GetModel() );
}
+// XStorable
+void SAL_CALL SIDEModel::store() throw (io::IOException, uno::RuntimeException)
+{
+ notImplemented();
+}
+
+void SAL_CALL SIDEModel::storeAsURL( const ::rtl::OUString&, const uno::Sequence< PROPERTYVALUE >& )
+ throw (io::IOException, uno::RuntimeException)
+{
+ notImplemented();
+}
+
+void SAL_CALL SIDEModel::storeToURL( const ::rtl::OUString&,
+ const uno::Sequence< PROPERTYVALUE >& )
+ throw (io::IOException, uno::RuntimeException)
+{
+ notImplemented();
+}
+
+void SIDEModel::notImplemented() throw ( io::IOException )
+{
+ throw io::IOException("Can't store IDE model", uno::Reference< uno::XInterface >() );
+}
+
} // namespace basctl
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */