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
084d40d6
Kaydet (Commit)
084d40d6
authored
Eyl 15, 2012
tarafından
Michael Meeks
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix odma plugin for new ucbhelper API
Change-Id: I40c58967aca4f9a808feb8528f2f3ba651bb2a80
üst
d7515f60
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
odma_content.cxx
ucb/source/ucp/odma/odma_content.cxx
+5
-2
No files found.
ucb/source/ucp/odma/odma_content.cxx
Dosyayı görüntüle @
084d40d6
...
...
@@ -349,7 +349,9 @@ uno::Any SAL_CALL Content::execute(
rtl
::
OUString
aURL
=
m_xIdentifier
->
getContentIdentifier
();
rtl
::
OUString
sFileURL
=
openDoc
();
delete
m_pContent
;
m_pContent
=
new
::
ucbhelper
::
Content
(
sFileURL
,
NULL
);
m_pContent
=
new
::
ucbhelper
::
Content
(
sFileURL
,
NULL
,
comphelper
::
ComponentContext
(
m_xSMgr
).
getUNOContext
());
if
(
!
m_pContent
->
isDocument
())
{
rtl
::
OUString
sErrorMsg
(
"File: "
);
...
...
@@ -507,7 +509,8 @@ uno::Any SAL_CALL Content::execute(
sal_Int32
nLastIndex
=
sFileURL
.
lastIndexOf
(
sal_Unicode
(
'/'
)
);
// Create a new Content object for the "shadow" file
// corresponding to the opened document from the DMS.
::
ucbhelper
::
Content
aContent
(
sFileURL
.
copy
(
0
,
nLastIndex
),
NULL
);
::
ucbhelper
::
Content
aContent
(
sFileURL
.
copy
(
0
,
nLastIndex
),
NULL
,
comphelper
::
ComponentContext
(
m_xSMgr
).
getUNOContext
());
// aTransferInfo.NameClash = ucb::NameClash::OVERWRITE;
aTransferInfo
.
NewTitle
=
sFileURL
.
copy
(
1
+
nLastIndex
);
// Copy our saved backup copy to the "shadow" file.
...
...
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