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
d7c1b89a
Kaydet (Commit)
d7c1b89a
authored
Şub 03, 2012
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
More on bool & string conversions.
üst
e996e3d1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
9 deletions
+12
-9
chgtrack.hxx
sc/inc/chgtrack.hxx
+0
-0
chgtrack.cxx
sc/source/core/tool/chgtrack.cxx
+0
-0
XMLChangeTrackingExportHelper.cxx
sc/source/filter/xml/XMLChangeTrackingExportHelper.cxx
+4
-4
docsh3.cxx
sc/source/ui/docshell/docsh3.cxx
+2
-3
acredlin.cxx
sc/source/ui/miscdlgs/acredlin.cxx
+6
-2
No files found.
sc/inc/chgtrack.hxx
Dosyayı görüntüle @
d7c1b89a
This diff is collapsed.
Click to expand it.
sc/source/core/tool/chgtrack.cxx
Dosyayı görüntüle @
d7c1b89a
This diff is collapsed.
Click to expand it.
sc/source/filter/xml/XMLChangeTrackingExportHelper.cxx
Dosyayı görüntüle @
d7c1b89a
...
...
@@ -158,7 +158,7 @@ void ScChangeTrackingExportHelper::WriteGenerated(const ScChangeAction* pGenerat
#endif
SvXMLElementExport
aElemPrev
(
rExport
,
XML_NAMESPACE_TABLE
,
XML_CELL_CONTENT_DELETION
,
true
,
true
);
WriteBigRange
(
pGeneratedAction
->
GetBigRange
(),
XML_CELL_ADDRESS
);
String
sValue
;
rtl
::
OU
String
sValue
;
static_cast
<
const
ScChangeActionContent
*>
(
pGeneratedAction
)
->
GetNewString
(
sValue
);
WriteCell
(
static_cast
<
const
ScChangeActionContent
*>
(
pGeneratedAction
)
->
GetNewCell
(),
sValue
);
}
...
...
@@ -177,9 +177,9 @@ void ScChangeTrackingExportHelper::WriteDeleted(const ScChangeAction* pDeletedAc
SvXMLElementExport
aElemPrev
(
rExport
,
XML_NAMESPACE_TABLE
,
XML_CELL_CONTENT_DELETION
,
true
,
true
);
if
(
static_cast
<
const
ScChangeActionContent
*>
(
pDeletedAction
)
->
IsTopContent
()
&&
pDeletedAction
->
IsDeletedIn
())
{
String
sValue
;
rtl
::
OU
String
sValue
;
pContentAction
->
GetNewString
(
sValue
);
WriteCell
(
pContentAction
->
GetNewCell
(),
sValue
);
WriteCell
(
pContentAction
->
GetNewCell
(),
sValue
);
}
}
else
...
...
@@ -445,7 +445,7 @@ void ScChangeTrackingExportHelper::WriteContentChange(ScChangeAction* pAction)
if
(
pPrevAction
)
rExport
.
AddAttribute
(
XML_NAMESPACE_TABLE
,
XML_ID
,
GetChangeID
(
pPrevAction
->
GetActionNumber
()));
SvXMLElementExport
aElemPrev
(
rExport
,
XML_NAMESPACE_TABLE
,
XML_PREVIOUS
,
true
,
true
);
String
sValue
;
rtl
::
OU
String
sValue
;
static_cast
<
ScChangeActionContent
*>
(
pAction
)
->
GetOldString
(
sValue
);
WriteCell
(
static_cast
<
ScChangeActionContent
*>
(
pAction
)
->
GetOldCell
(),
sValue
);
}
...
...
sc/source/ui/docshell/docsh3.cxx
Dosyayı görüntüle @
d7c1b89a
...
...
@@ -1021,7 +1021,7 @@ void ScDocShell::MergeDocument( ScDocument& rOtherDoc, bool bShared, bool bCheck
OSL_ENSURE
(
aSourceRange
.
aStart
==
aSourceRange
.
aEnd
,
"huch?"
);
ScAddress
aPos
=
aSourceRange
.
aStart
;
String
aValue
;
rtl
::
OU
String
aValue
;
((
const
ScChangeActionContent
*
)
pSourceAction
)
->
GetNewString
(
aValue
);
sal_uInt8
eMatrix
=
MM_NONE
;
const
ScBaseCell
*
pCell
=
((
const
ScChangeActionContent
*
)
pSourceAction
)
->
GetNewCell
();
...
...
@@ -1039,8 +1039,7 @@ void ScDocShell::MergeDocument( ScDocument& rOtherDoc, bool bShared, bool bCheck
((
const
ScFormulaCell
*
)
pCell
)
->
GetMatColsRows
(
nCols
,
nRows
);
aSourceRange
.
aEnd
.
SetCol
(
aPos
.
Col
()
+
nCols
-
1
);
aSourceRange
.
aEnd
.
SetRow
(
aPos
.
Row
()
+
nRows
-
1
);
aValue
.
Erase
(
0
,
1
);
aValue
.
Erase
(
aValue
.
Len
()
-
1
,
1
);
aValue
=
aValue
.
copy
(
1
,
aValue
.
getLength
()
-
2
);
// remove the 1st and last characters.
GetDocFunc
().
EnterMatrix
(
aSourceRange
,
NULL
,
NULL
,
aValue
,
false
,
false
,
EMPTY_STRING
,
formula
::
FormulaGrammar
::
GRAM_DEFAULT
);
...
...
sc/source/ui/miscdlgs/acredlin.cxx
Dosyayı görüntüle @
d7c1b89a
...
...
@@ -696,7 +696,9 @@ SvLBoxEntry* ScAcceptChgDlg::InsertChangeActionContent(const ScChangeActionConte
if
(
nSpecial
==
RD_SPECIAL_CONTENT
)
{
pScChangeAction
->
GetOldString
(
a2String
);
rtl
::
OUString
aTmp
;
pScChangeAction
->
GetOldString
(
aTmp
);
a2String
=
aTmp
;
if
(
a2String
.
Len
()
==
0
)
a2String
=
aStrEmpty
;
//aString+="\'";
...
...
@@ -708,7 +710,9 @@ SvLBoxEntry* ScAcceptChgDlg::InsertChangeActionContent(const ScChangeActionConte
}
else
{
pScChangeAction
->
GetNewString
(
a2String
);
rtl
::
OUString
aTmp
;
pScChangeAction
->
GetNewString
(
aTmp
);
a2String
=
aTmp
;
if
(
a2String
.
Len
()
==
0
)
{
a2String
=
aStrEmpty
;
...
...
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