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
9ffe57dc
Kaydet (Commit)
9ffe57dc
authored
Ara 13, 2011
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fdo#39917: Use correct address convention during search and replace.
üst
edf90c21
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
8 deletions
+7
-8
column.hxx
sc/inc/column.hxx
+3
-3
table6.cxx
sc/source/core/data/table6.cxx
+4
-5
No files found.
sc/inc/column.hxx
Dosyayı görüntüle @
9ffe57dc
...
...
@@ -246,9 +246,9 @@ public:
bool
HasEditCells
(
SCROW
nStartRow
,
SCROW
nEndRow
,
SCROW
&
rFirst
)
const
;
// TRUE = format for numbers is set
bool
SetString
(
SCROW
nRow
,
SCTAB
nTab
,
const
String
&
rString
,
formula
::
FormulaGrammar
::
AddressConvention
conv
=
formula
::
FormulaGrammar
::
CONV_OOO
,
ScSetStringParam
*
pParam
=
NULL
);
bool
SetString
(
SCROW
nRow
,
SCTAB
nTab
,
const
String
&
rString
,
formula
::
FormulaGrammar
::
AddressConvention
eConv
,
ScSetStringParam
*
pParam
=
NULL
);
void
SetValue
(
SCROW
nRow
,
const
double
&
rVal
);
void
SetError
(
SCROW
nRow
,
const
sal_uInt16
nError
);
...
...
sc/source/core/data/table6.cxx
Dosyayı görüntüle @
9ffe57dc
...
...
@@ -82,8 +82,7 @@ bool ScTable::SearchCell(const SvxSearchItem& rSearchItem, SCCOL nCol, SCROW nRo
case
SVX_SEARCHIN_FORMULA
:
{
if
(
eCellType
==
CELLTYPE_FORMULA
)
((
ScFormulaCell
*
)
pCell
)
->
GetFormula
(
aString
,
formula
::
FormulaGrammar
::
GRAM_NATIVE_UI
);
static_cast
<
ScFormulaCell
*>
(
pCell
)
->
GetFormula
(
aString
,
pDocument
->
GetGrammar
());
else
if
(
eCellType
==
CELLTYPE_EDIT
)
bMultiLine
=
lcl_GetTextWithBreaks
(
*
(
const
ScEditCell
*
)
pCell
,
pDocument
,
aString
);
...
...
@@ -239,7 +238,7 @@ bool ScTable::SearchCell(const SvxSearchItem& rSearchItem, SCCOL nCol, SCROW nRo
}
ScAddress
aAdr
(
nCol
,
nRow
,
nTab
);
ScFormulaCell
*
pFCell
=
new
ScFormulaCell
(
pDocument
,
aAdr
,
aString
,
formula
::
FormulaGrammar
::
GRAM_NATIVE_UI
,
cMatrixFlag
);
aString
,
pDocument
->
GetGrammar
()
,
cMatrixFlag
);
SCCOL
nMatCols
;
SCROW
nMatRows
;
((
ScFormulaCell
*
)
pCell
)
->
GetMatColsRows
(
nMatCols
,
nMatRows
);
...
...
@@ -249,7 +248,7 @@ bool ScTable::SearchCell(const SvxSearchItem& rSearchItem, SCCOL nCol, SCROW nRo
else
if
(
bMultiLine
&&
aString
.
Search
(
'\n'
)
!=
STRING_NOTFOUND
)
PutCell
(
nCol
,
nRow
,
new
ScEditCell
(
aString
,
pDocument
)
);
else
aCol
[
nCol
].
SetString
(
nRow
,
nTab
,
aString
);
aCol
[
nCol
].
SetString
(
nRow
,
nTab
,
aString
,
pDocument
->
GetAddressConvention
()
);
// pCell is invalid now (deleted)
}
}
...
...
@@ -1043,7 +1042,7 @@ bool ScTable::SearchRangeForAllEmptyCells(
ScAddress
aCellPos
(
nCol
,
nRow
,
nTab
);
pUndoDoc
->
PutCell
(
nCol
,
nRow
,
nTab
,
pCell
->
CloneWithNote
(
aCellPos
,
*
pUndoDoc
,
aCellPos
));
}
aCol
[
nCol
].
SetString
(
nRow
,
nTab
,
rSearchItem
.
GetReplaceString
());
aCol
[
nCol
].
SetString
(
nRow
,
nTab
,
rSearchItem
.
GetReplaceString
()
,
pDocument
->
GetAddressConvention
()
);
}
}
}
...
...
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