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
c82c94b4
Kaydet (Commit)
c82c94b4
authored
Haz 11, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:staticmethods
Change-Id: If54b3017296f5bcea01b3b0d24d9ac821f6a24e9
üst
a2716e53
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
externalrefmgr.hxx
sc/inc/externalrefmgr.hxx
+0
-1
externalrefmgr.cxx
sc/source/ui/docshell/externalrefmgr.cxx
+8
-3
No files found.
sc/inc/externalrefmgr.hxx
Dosyayı görüntüle @
c82c94b4
...
@@ -794,7 +794,6 @@ private:
...
@@ -794,7 +794,6 @@ private:
*/
*/
void
transformUnsavedRefToSavedRef
(
SfxObjectShell
*
pShell
);
void
transformUnsavedRefToSavedRef
(
SfxObjectShell
*
pShell
);
void
insertRefCell
(
RefCellMap
::
iterator
&
itr
,
ScFormulaCell
*
pCell
);
private
:
private
:
ScDocument
*
mpDoc
;
ScDocument
*
mpDoc
;
...
...
sc/source/ui/docshell/externalrefmgr.cxx
Dosyayı görüntüle @
c82c94b4
...
@@ -2038,7 +2038,10 @@ void ScExternalRefManager::refreshAllRefCells(sal_uInt16 nFileId)
...
@@ -2038,7 +2038,10 @@ void ScExternalRefManager::refreshAllRefCells(sal_uInt16 nFileId)
pVShell
->
PaintGrid
();
pVShell
->
PaintGrid
();
}
}
void
ScExternalRefManager
::
insertRefCell
(
RefCellMap
::
iterator
&
itr
,
ScFormulaCell
*
pCell
)
namespace
{
void
insertRefCellByIterator
(
ScExternalRefManager
::
RefCellMap
::
iterator
&
itr
,
ScFormulaCell
*
pCell
)
{
{
if
(
pCell
)
if
(
pCell
)
{
{
...
@@ -2047,6 +2050,8 @@ void ScExternalRefManager::insertRefCell(RefCellMap::iterator& itr, ScFormulaCel
...
@@ -2047,6 +2050,8 @@ void ScExternalRefManager::insertRefCell(RefCellMap::iterator& itr, ScFormulaCel
}
}
}
}
}
void
ScExternalRefManager
::
insertRefCell
(
sal_uInt16
nFileId
,
const
ScAddress
&
rCell
)
void
ScExternalRefManager
::
insertRefCell
(
sal_uInt16
nFileId
,
const
ScAddress
&
rCell
)
{
{
RefCellMap
::
iterator
itr
=
maRefCells
.
find
(
nFileId
);
RefCellMap
::
iterator
itr
=
maRefCells
.
find
(
nFileId
);
...
@@ -2062,7 +2067,7 @@ void ScExternalRefManager::insertRefCell(sal_uInt16 nFileId, const ScAddress& rC
...
@@ -2062,7 +2067,7 @@ void ScExternalRefManager::insertRefCell(sal_uInt16 nFileId, const ScAddress& rC
itr
=
r
.
first
;
itr
=
r
.
first
;
}
}
insertRefCell
(
itr
,
mpDoc
->
GetFormulaCell
(
rCell
));
insertRefCell
ByIterator
(
itr
,
mpDoc
->
GetFormulaCell
(
rCell
));
}
}
void
ScExternalRefManager
::
insertRefCellFromTemplate
(
ScFormulaCell
*
pTemplateCell
,
ScFormulaCell
*
pCell
)
void
ScExternalRefManager
::
insertRefCellFromTemplate
(
ScFormulaCell
*
pTemplateCell
,
ScFormulaCell
*
pCell
)
...
@@ -2073,7 +2078,7 @@ void ScExternalRefManager::insertRefCellFromTemplate( ScFormulaCell* pTemplateCe
...
@@ -2073,7 +2078,7 @@ void ScExternalRefManager::insertRefCellFromTemplate( ScFormulaCell* pTemplateCe
for
(
RefCellMap
::
iterator
itr
=
maRefCells
.
begin
();
itr
!=
maRefCells
.
end
();
++
itr
)
for
(
RefCellMap
::
iterator
itr
=
maRefCells
.
begin
();
itr
!=
maRefCells
.
end
();
++
itr
)
{
{
if
(
itr
->
second
.
find
(
pTemplateCell
)
!=
itr
->
second
.
end
())
if
(
itr
->
second
.
find
(
pTemplateCell
)
!=
itr
->
second
.
end
())
insertRefCell
(
itr
,
pCell
);
insertRefCell
ByIterator
(
itr
,
pCell
);
}
}
}
}
...
...
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