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
326fc28c
Kaydet (Commit)
326fc28c
authored
May 03, 2013
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
let us use scoped_ptr when possible
Change-Id: Ia8199bdc63ee732bada51687df195c9ab9cae9aa
üst
f41c3e50
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
inputhdl.cxx
sc/source/ui/app/inputhdl.cxx
+2
-4
No files found.
sc/source/ui/app/inputhdl.cxx
Dosyayı görüntüle @
326fc28c
...
@@ -1308,7 +1308,7 @@ static String lcl_Calculate( const String& rFormula, ScDocument* pDoc, const ScA
...
@@ -1308,7 +1308,7 @@ static String lcl_Calculate( const String& rFormula, ScDocument* pDoc, const ScA
if
(
rFormula
.
Len
())
if
(
rFormula
.
Len
())
{
{
ScFormulaCell
*
pCell
=
new
ScFormulaCell
(
pDoc
,
rPos
,
rFormula
);
boost
::
scoped_ptr
<
ScFormulaCell
>
pCell
(
new
ScFormulaCell
(
pDoc
,
rPos
,
rFormula
)
);
// HACK! um bei ColRowNames kein #REF! zu bekommen,
// HACK! um bei ColRowNames kein #REF! zu bekommen,
// wenn ein Name eigentlich als Bereich in die Gesamt-Formel
// wenn ein Name eigentlich als Bereich in die Gesamt-Formel
...
@@ -1325,8 +1325,7 @@ static String lcl_Calculate( const String& rFormula, ScDocument* pDoc, const ScA
...
@@ -1325,8 +1325,7 @@ static String lcl_Calculate( const String& rFormula, ScDocument* pDoc, const ScA
aBraced
.
append
(
'('
);
aBraced
.
append
(
'('
);
aBraced
.
append
(
rFormula
);
aBraced
.
append
(
rFormula
);
aBraced
.
append
(
')'
);
aBraced
.
append
(
')'
);
delete
pCell
;
pCell
.
reset
(
new
ScFormulaCell
(
pDoc
,
rPos
,
aBraced
.
makeStringAndClear
()
));
pCell
=
new
ScFormulaCell
(
pDoc
,
rPos
,
aBraced
.
makeStringAndClear
()
);
}
}
else
else
bColRowName
=
false
;
bColRowName
=
false
;
...
@@ -1370,7 +1369,6 @@ static String lcl_Calculate( const String& rFormula, ScDocument* pDoc, const ScA
...
@@ -1370,7 +1369,6 @@ static String lcl_Calculate( const String& rFormula, ScDocument* pDoc, const ScA
}
}
else
else
aValue
=
ScGlobal
::
GetErrorString
(
nErrCode
);
aValue
=
ScGlobal
::
GetErrorString
(
nErrCode
);
delete
pCell
;
}
}
return
aValue
;
return
aValue
;
...
...
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