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
eacce9bf
Kaydet (Commit)
eacce9bf
authored
Mar 28, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#704303 Logically dead code
Change-Id: I3c58b83df2b8b124b777802f12b6014a16c796a7
üst
42c428b9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
13 deletions
+3
-13
docfile.cxx
sfx2/source/doc/docfile.cxx
+3
-13
No files found.
sfx2/source/doc/docfile.cxx
Dosyayı görüntüle @
eacce9bf
...
...
@@ -30,7 +30,6 @@
#include <com/sun/star/document/XDocumentRevisionListPersistence.hpp>
#include <com/sun/star/document/LockedDocumentRequest.hpp>
#include <com/sun/star/document/OwnLockOnDocumentRequest.hpp>
#include <com/sun/star/document/LockedOnSavingRequest.hpp>
#include <com/sun/star/document/LockFileIgnoreRequest.hpp>
#include <com/sun/star/document/ChangedByOthersRequest.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
...
...
@@ -888,7 +887,7 @@ sal_Int8 SfxMedium::ShowLockedDocumentDialog( const uno::Sequence< OUString >& a
xInteractionRequestImpl
=
new
::
ucbhelper
::
InteractionRequest
(
uno
::
makeAny
(
document
::
OwnLockOnDocumentRequest
(
OUString
(),
uno
::
Reference
<
uno
::
XInterface
>
(),
aDocumentURL
,
aInfo
,
!
bIsLoading
)
)
);
}
else
else
/*logically therefore bIsLoading is set */
{
if
(
aData
.
getLength
()
>
LOCKFILE_EDITTIME_ID
)
{
...
...
@@ -905,17 +904,8 @@ sal_Int8 SfxMedium::ShowLockedDocumentDialog( const uno::Sequence< OUString >& a
}
}
if
(
bIsLoading
)
{
xInteractionRequestImpl
=
new
::
ucbhelper
::
InteractionRequest
(
uno
::
makeAny
(
document
::
LockedDocumentRequest
(
OUString
(),
uno
::
Reference
<
uno
::
XInterface
>
(),
aDocumentURL
,
aInfo
)
)
);
}
else
{
xInteractionRequestImpl
=
new
::
ucbhelper
::
InteractionRequest
(
uno
::
makeAny
(
document
::
LockedOnSavingRequest
(
OUString
(),
uno
::
Reference
<
uno
::
XInterface
>
(),
aDocumentURL
,
aInfo
)
)
);
}
xInteractionRequestImpl
=
new
::
ucbhelper
::
InteractionRequest
(
uno
::
makeAny
(
document
::
LockedDocumentRequest
(
OUString
(),
uno
::
Reference
<
uno
::
XInterface
>
(),
aDocumentURL
,
aInfo
)
)
);
}
uno
::
Sequence
<
uno
::
Reference
<
task
::
XInteractionContinuation
>
>
aContinuations
(
3
);
...
...
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