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
8ae293f0
Kaydet (Commit)
8ae293f0
authored
Nis 17, 2012
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
WaE: MacOSX pScRangeData may be unused uninitialized
üst
b92de73f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
workbookhelper.cxx
sc/source/filter/oox/workbookhelper.cxx
+4
-6
No files found.
sc/source/filter/oox/workbookhelper.cxx
Dosyayı görüntüle @
8ae293f0
...
...
@@ -382,8 +382,7 @@ ScRangeData* lcl_addNewByNameAndTokens( ScDocument& rDoc, ScRangeName* pNames, c
ScRangeData
*
WorkbookGlobals
::
createNamedRangeObject
(
OUString
&
orName
,
const
Sequence
<
FormulaToken
>&
rTokens
,
sal_Int32
nIndex
,
sal_Int32
nNameFlags
)
const
{
// create the name and insert it into the Calc document
Reference
<
XNamedRange
>
xNamedRange
;
ScRangeData
*
pScRangeData
;
ScRangeData
*
pScRangeData
=
NULL
;
if
(
!
orName
.
isEmpty
()
)
try
{
// find an unused name
...
...
@@ -396,7 +395,7 @@ ScRangeData* WorkbookGlobals::createNamedRangeObject( OUString& orName, const Se
ScRangeName
*
pNames
=
rDoc
.
GetRangeName
();
pScRangeData
=
lcl_addNewByNameAndTokens
(
rDoc
,
pNames
,
orName
,
rTokens
,
nIndex
,
nNameFlags
);
}
catch
(
Exception
&
)
catch
(
const
Exception
&
)
{
}
return
pScRangeData
;
...
...
@@ -405,8 +404,7 @@ ScRangeData* WorkbookGlobals::createNamedRangeObject( OUString& orName, const Se
ScRangeData
*
WorkbookGlobals
::
createLocalNamedRangeObject
(
OUString
&
orName
,
const
Sequence
<
FormulaToken
>&
rTokens
,
sal_Int32
nIndex
,
sal_Int32
nNameFlags
,
sal_Int32
nTab
)
const
{
// create the name and insert it into the Calc document
Reference
<
XNamedRange
>
xNamedRange
;
ScRangeData
*
pScRangeData
;
ScRangeData
*
pScRangeData
=
NULL
;
if
(
!
orName
.
isEmpty
()
)
try
{
// find an unused name
...
...
@@ -423,7 +421,7 @@ ScRangeData* WorkbookGlobals::createLocalNamedRangeObject( OUString& orName, con
ScRangeName
*
pNames
=
rDoc
.
GetRangeName
(
nTab
);
pScRangeData
=
lcl_addNewByNameAndTokens
(
rDoc
,
pNames
,
orName
,
rTokens
,
nIndex
,
nNameFlags
);
}
catch
(
Exception
&
)
catch
(
const
Exception
&
)
{
}
return
pScRangeData
;
...
...
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