Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
ab96b65e
Kaydet (Commit)
ab96b65e
authored
Ara 04, 2012
tarafından
Noel Power
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix for fdo#57836 throw when attempting to store basicide model
Change-Id: I8769a63be61d45817757be3ad23ffc7b01173041
üst
a0c53a96
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
0 deletions
+36
-0
unomodel.cxx
basctl/source/basicide/unomodel.cxx
+24
-0
unomodel.hxx
basctl/source/basicide/unomodel.hxx
+12
-0
No files found.
basctl/source/basicide/unomodel.cxx
Dosyayı görüntüle @
ab96b65e
...
@@ -117,6 +117,30 @@ uno::Reference< uno::XInterface > SAL_CALL SIDEModel_createInstance(
...
@@ -117,6 +117,30 @@ uno::Reference< uno::XInterface > SAL_CALL SIDEModel_createInstance(
return
uno
::
Reference
<
uno
::
XInterface
>
(
pShell
->
GetModel
()
);
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
}
// namespace basctl
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
basctl/source/basicide/unomodel.hxx
Dosyayı görüntüle @
ab96b65e
...
@@ -30,6 +30,7 @@ namespace basctl
...
@@ -30,6 +30,7 @@ namespace basctl
class
SIDEModel
:
public
SfxBaseModel
,
class
SIDEModel
:
public
SfxBaseModel
,
public
com
::
sun
::
star
::
lang
::
XServiceInfo
public
com
::
sun
::
star
::
lang
::
XServiceInfo
{
{
void
notImplemented
()
throw
(
::
com
::
sun
::
star
::
io
::
IOException
);
public
:
public
:
SIDEModel
(
SfxObjectShell
*
pObjSh
=
0
);
SIDEModel
(
SfxObjectShell
*
pObjSh
=
0
);
virtual
~
SIDEModel
();
virtual
~
SIDEModel
();
...
@@ -49,6 +50,17 @@ public:
...
@@ -49,6 +50,17 @@ public:
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
::
com
::
sun
::
star
::
uno
::
Sequence
<
OUString
>
SAL_CALL
getSupportedServiceNames
(
void
)
virtual
::
com
::
sun
::
star
::
uno
::
Sequence
<
OUString
>
SAL_CALL
getSupportedServiceNames
(
void
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
// XStorable2
virtual
void
SAL_CALL
storeSelf
(
const
::
com
::
sun
::
star
::
uno
::
Sequence
<
PROPERTYVALUE
>&
)
throw
(
::
com
::
sun
::
star
::
lang
::
IllegalArgumentException
,
::
com
::
sun
::
star
::
io
::
IOException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
notImplemented
();
}
// XStorable
virtual
void
SAL_CALL
store
()
throw
(
::
com
::
sun
::
star
::
io
::
IOException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
void
SAL_CALL
storeAsURL
(
const
::
rtl
::
OUString
&
sURL
,
const
::
com
::
sun
::
star
::
uno
::
Sequence
<
PROPERTYVALUE
>&
seqArguments
)
throw
(
::
com
::
sun
::
star
::
io
::
IOException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
void
SAL_CALL
storeToURL
(
const
::
rtl
::
OUString
&
sURL
,
const
::
com
::
sun
::
star
::
uno
::
Sequence
<
PROPERTYVALUE
>&
seqArguments
)
throw
(
::
com
::
sun
::
star
::
io
::
IOException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
static
::
com
::
sun
::
star
::
uno
::
Sequence
<
OUString
>
getSupportedServiceNames_Static
();
static
::
com
::
sun
::
star
::
uno
::
Sequence
<
OUString
>
getSupportedServiceNames_Static
();
static
OUString
getImplementationName_Static
();
static
OUString
getImplementationName_Static
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment