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
96aca981
Kaydet (Commit)
96aca981
authored
Kas 13, 2013
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Minor clean-up
Change-Id: I30a06f693704a8471af39e5232a7abef1056be32
üst
cfbd74c3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
objsh.hxx
include/sfx2/objsh.hxx
+0
-1
objmisc.cxx
sfx2/source/doc/objmisc.cxx
+8
-4
No files found.
include/sfx2/objsh.hxx
Dosyayı görüntüle @
96aca981
...
...
@@ -255,7 +255,6 @@ public:
virtual
SfxObjectFactory
&
GetFactory
()
const
=
0
;
SfxMedium
*
GetMedium
()
const
{
return
pMedium
;
}
void
ForgetMedium
()
{
pMedium
=
0
;
}
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
document
::
XDocumentProperties
>
getDocProperties
();
void
UpdateDocInfoForSave
(
);
...
...
sfx2/source/doc/objmisc.cxx
Dosyayı görüntüle @
96aca981
...
...
@@ -1351,10 +1351,10 @@ void SfxObjectShell::TemplateDisconnectionAfterLoad()
// setting the new storage the medium will be based on
pTmpMedium
->
SetStorage_Impl
(
xTmpStor
);
ForgetMedium
()
;
if
(
!
DoSaveCompleted
(
pTmpMedium
)
)
SetError
(
ERRCODE_IO_GENERAL
,
OUString
(
OSL_LOG_PREFIX
)
);
else
pMedium
=
0
;
bool
ok
=
DoSaveCompleted
(
pTmpMedium
);
assert
(
pMedium
!=
0
);
if
(
ok
)
{
SFX_ITEMSET_ARG
(
pMedium
->
GetItemSet
(),
pSalvageItem
,
SfxStringItem
,
SID_DOC_SALVAGE
,
sal_False
);
sal_Bool
bSalvage
=
pSalvageItem
?
sal_True
:
sal_False
;
...
...
@@ -1368,6 +1368,10 @@ void SfxObjectShell::TemplateDisconnectionAfterLoad()
// the medium should not dispose the storage, DoSaveCompleted() has let it to do so
pTmpMedium
->
CanDisposeStorage_Impl
(
sal_False
);
}
else
{
SetError
(
ERRCODE_IO_GENERAL
,
OUString
(
OSL_LOG_PREFIX
)
);
}
}
else
{
...
...
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