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
7edc6b9a
Kaydet (Commit)
7edc6b9a
authored
Şub 28, 2017
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix leak
Change-Id: Id6171fbaffda1f0a20d33e9137d68e14c59e6aac
üst
696f5cfe
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
14 deletions
+4
-14
lwpdocdata.cxx
lotuswordpro/source/filter/lwpdocdata.cxx
+0
-0
lwpdocdata.hxx
lotuswordpro/source/filter/lwpdocdata.hxx
+0
-1
lwpglobalmgr.cxx
lotuswordpro/source/filter/lwpglobalmgr.cxx
+3
-12
lwpglobalmgr.hxx
lotuswordpro/source/filter/lwpglobalmgr.hxx
+1
-1
No files found.
lotuswordpro/source/filter/lwpdocdata.cxx
Dosyayı görüntüle @
7edc6b9a
This diff is collapsed.
Click to expand it.
lotuswordpro/source/filter/lwpdocdata.hxx
Dosyayı görüntüle @
7edc6b9a
...
...
@@ -163,7 +163,6 @@ private:
LwpDocOptions
m_DocOptions
;
LwpDocInfo
m_DocInfo
;
LwpDocControl
m_DocControl
;
// static std::map<sal_uInt16,LwpEditorAttr*> m_EditorAttrMap;
private
:
LtTm
m_nCreationTime
;
LtTm
m_nLastRevisionTime
;
...
...
lotuswordpro/source/filter/lwpglobalmgr.cxx
Dosyayı görüntüle @
7edc6b9a
...
...
@@ -95,12 +95,6 @@ LwpGlobalMgr::~LwpGlobalMgr()
delete
m_pXFStyleManager
;
m_pXFStyleManager
=
nullptr
;
}
std
::
map
<
sal_uInt16
,
LwpEditorAttr
*>::
iterator
iter
;
for
(
iter
=
m_EditorAttrMap
.
begin
();
iter
!=
m_EditorAttrMap
.
end
();
++
iter
)
{
delete
iter
->
second
;
iter
->
second
=
nullptr
;
}
m_EditorAttrMap
.
clear
();
}
...
...
@@ -134,13 +128,12 @@ void LwpGlobalMgr::DeleteInstance()
void
LwpGlobalMgr
::
SetEditorAttrMap
(
sal_uInt16
nID
,
LwpEditorAttr
*
pAttr
)
{
m_EditorAttrMap
[
nID
]
=
pAttr
;
m_EditorAttrMap
[
nID
]
.
reset
(
pAttr
)
;
}
OUString
LwpGlobalMgr
::
GetEditorName
(
sal_uInt8
nID
)
{
std
::
map
<
sal_uInt16
,
LwpEditorAttr
*>::
iterator
iter
;
iter
=
m_EditorAttrMap
.
find
(
nID
);
auto
iter
=
m_EditorAttrMap
.
find
(
nID
);
if
(
iter
!=
m_EditorAttrMap
.
end
())
return
iter
->
second
->
cName
.
str
();
return
OUString
(
""
);
...
...
@@ -148,9 +141,7 @@ OUString LwpGlobalMgr::GetEditorName(sal_uInt8 nID)
XFColor
LwpGlobalMgr
::
GetHighlightColor
(
sal_uInt8
nID
)
{
std
::
map
<
sal_uInt16
,
LwpEditorAttr
*>::
iterator
iter
;
iter
=
m_EditorAttrMap
.
find
(
nID
);
auto
iter
=
m_EditorAttrMap
.
find
(
nID
);
if
(
iter
!=
m_EditorAttrMap
.
end
())
{
LwpColor
aLwpColor
=
iter
->
second
->
cHiLiteColor
;
...
...
lotuswordpro/source/filter/lwpglobalmgr.hxx
Dosyayı görüntüle @
7edc6b9a
...
...
@@ -95,7 +95,7 @@ private:
LwpChangeMgr
*
m_pChangeMgr
;
XFFontFactory
*
m_pXFFontFactory
;
XFStyleManager
*
m_pXFStyleManager
;
std
::
map
<
sal_uInt16
,
LwpEditorAttr
*
>
m_EditorAttrMap
;
std
::
map
<
sal_uInt16
,
std
::
unique_ptr
<
LwpEditorAttr
>
>
m_EditorAttrMap
;
};
#endif
...
...
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