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
5f436623
Kaydet (Commit)
5f436623
authored
Şub 19, 2018
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sw: DELETEZ to unique_ptr in DocumentLinksAdministrationManager
Change-Id: I428848c48c2d265e82db9d3666492d50b01a221d
üst
bd9dfec2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
DocumentLinksAdministrationManager.cxx
sw/source/core/doc/DocumentLinksAdministrationManager.cxx
+7
-7
DocumentLinksAdministrationManager.hxx
sw/source/core/inc/DocumentLinksAdministrationManager.hxx
+2
-1
No files found.
sw/source/core/doc/DocumentLinksAdministrationManager.cxx
Dosyayı görüntüle @
5f436623
...
...
@@ -169,10 +169,11 @@ namespace
namespace
sw
{
DocumentLinksAdministrationManager
::
DocumentLinksAdministrationManager
(
SwDoc
&
i_rSwdoc
)
:
mbVisibleLinks
(
true
),
mbLinksUpdated
(
false
),
//#i38810#
mpLinkMgr
(
new
sfx2
::
LinkManager
(
nullptr
)
),
m_rDoc
(
i_rSwdoc
)
DocumentLinksAdministrationManager
::
DocumentLinksAdministrationManager
(
SwDoc
&
i_rSwdoc
)
:
mbVisibleLinks
(
true
)
,
mbLinksUpdated
(
false
)
//#i38810#
,
m_pLinkMgr
(
new
sfx2
::
LinkManager
(
nullptr
)
)
,
m_rDoc
(
i_rSwdoc
)
{
}
...
...
@@ -188,12 +189,12 @@ void DocumentLinksAdministrationManager::SetVisibleLinks(bool bFlag)
sfx2
::
LinkManager
&
DocumentLinksAdministrationManager
::
GetLinkManager
()
{
return
*
mpLinkMgr
;
return
*
m
_
pLinkMgr
;
}
const
sfx2
::
LinkManager
&
DocumentLinksAdministrationManager
::
GetLinkManager
()
const
{
return
*
mpLinkMgr
;
return
*
m
_
pLinkMgr
;
}
// #i42634# Moved common code of SwReader::Read() and SwDocShell::UpdateLinks()
...
...
@@ -439,7 +440,6 @@ bool DocumentLinksAdministrationManager::LinksUpdated() const
DocumentLinksAdministrationManager
::~
DocumentLinksAdministrationManager
()
{
DELETEZ
(
mpLinkMgr
);
}
bool
DocumentLinksAdministrationManager
::
SelectServerObj
(
const
OUString
&
rStr
,
SwPaM
*&
rpPam
,
SwNodeRange
*&
rpRange
)
const
...
...
sw/source/core/inc/DocumentLinksAdministrationManager.hxx
Dosyayı görüntüle @
5f436623
...
...
@@ -22,6 +22,7 @@
#include <IDocumentLinksAdministration.hxx>
#include <memory>
namespace
sfx2
{
class
LinkManager
;
}
class
SwDoc
;
...
...
@@ -71,7 +72,7 @@ private:
bool
mbVisibleLinks
;
//< TRUE: Links are inserted visibly.
bool
mbLinksUpdated
;
//< #i38810# flag indicating, that the links have been updated.
s
fx2
::
LinkManager
*
m
pLinkMgr
;
//< List of linked stuff (graphics/DDE/OLE).
s
td
::
unique_ptr
<
sfx2
::
LinkManager
>
m_
pLinkMgr
;
//< List of linked stuff (graphics/DDE/OLE).
SwDoc
&
m_rDoc
;
};
...
...
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