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
c4f50da1
Kaydet (Commit)
c4f50da1
authored
Ock 24, 2011
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
WaE: gcc 4.6.0 various warnings
üst
3e2a450a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
8 deletions
+10
-8
style.cxx
svl/source/items/style.cxx
+2
-0
filenotation.cxx
svl/source/misc/filenotation.cxx
+1
-0
zforlist.cxx
svl/source/numbers/zforlist.cxx
+7
-4
zforscan.cxx
svl/source/numbers/zforscan.cxx
+0
-4
No files found.
svl/source/items/style.cxx
Dosyayı görüntüle @
c4f50da1
...
...
@@ -826,6 +826,7 @@ void SfxStyleSheetBasePool::Remove( SfxStyleSheetBase* p )
void
SfxStyleSheetBasePool
::
Insert
(
SfxStyleSheetBase
*
p
)
{
#if OSL_DEBUG_LEVEL > 0
DBG_ASSERT
(
p
,
"svl::SfxStyleSheetBasePool::Insert(), no stylesheet?"
);
SfxStyleSheetIterator
aIter
(
this
,
p
->
GetFamily
(),
p
->
GetMask
());
...
...
@@ -836,6 +837,7 @@ void SfxStyleSheetBasePool::Insert( SfxStyleSheetBase* p )
pOld
=
aIter
.
Find
(
p
->
GetParent
()
);
DBG_ASSERT
(
pOld
,
"svl::SfxStyleSheetBasePool::Insert(), Parent not found!"
);
}
#endif
aStyles
.
push_back
(
rtl
::
Reference
<
SfxStyleSheetBase
>
(
p
)
);
Broadcast
(
SfxStyleSheetHint
(
SFX_STYLESHEET_CREATED
,
*
p
)
);
}
...
...
svl/source/misc/filenotation.cxx
Dosyayı görüntüle @
c4f50da1
...
...
@@ -124,6 +124,7 @@ namespace svt
}
OSL_ENSURE
(
bSuccess
,
"OFileNotation::OFileNotation: could not detect the format!"
);
(
void
)
bSuccess
;
}
//---------------------------------------------------------------------
...
...
svl/source/numbers/zforlist.cxx
Dosyayı görüntüle @
c4f50da1
...
...
@@ -426,7 +426,7 @@ void SvNumberFormatter::ReplaceSystemCL( LanguageType eOldLanguage )
// a duplicate. Also won't mix up any LastInsertKey.
ChangeIntl
(
eOldLanguage
);
LanguageType
eLge
=
eOldLanguage
;
// ConvertMode changes this
BOOL
bCheck
=
FALSE
;
bool
bCheck
=
false
;
SvNumberformat
*
pNewEntry
=
new
SvNumberformat
(
aString
,
pFormatScanner
,
pStringScanner
,
nCheckPos
,
eLge
);
if
(
nCheckPos
!=
0
)
...
...
@@ -442,9 +442,10 @@ void SvNumberFormatter::ReplaceSystemCL( LanguageType eOldLanguage )
if
(
!
aFTable
.
Insert
(
nKey
,
pNewEntry
)
)
delete
pNewEntry
;
else
bCheck
=
TRUE
;
bCheck
=
true
;
}
DBG_ASSERT
(
bCheck
,
"SvNumberFormatter::ReplaceSystemCL: couldn't convert"
);
(
void
)
bCheck
;
delete
pOldEntry
;
}
...
...
@@ -1376,7 +1377,8 @@ sal_uInt32 SvNumberFormatter::ImpGetDefaultFormat( short nType )
nDefaultFormat
=
CLOffset
+
ZF_STANDARD
;
}
}
aDefaultFormatKeys
.
Insert
(
nSearch
,
(
void
*
)
nDefaultFormat
);
sal_uIntPtr
nFormat
=
nDefaultFormat
;
aDefaultFormatKeys
.
Insert
(
nSearch
,
(
void
*
)
nFormat
);
}
return
nDefaultFormat
;
}
...
...
@@ -3265,8 +3267,9 @@ sal_uInt32 SvNumberFormatter::ImpGetDefaultCurrencyFormat()
pEntry
->
SetStandard
();
}
}
sal_uIntPtr
nFormat
=
nDefaultCurrencyFormat
;
aDefaultFormatKeys
.
Insert
(
CLOffset
+
ZF_STANDARD_CURRENCY
,
(
void
*
)
n
DefaultCurrency
Format
);
(
void
*
)
nFormat
);
}
return
nDefaultCurrencyFormat
;
}
...
...
svl/source/numbers/zforscan.cxx
Dosyayı görüntüle @
c4f50da1
...
...
@@ -1545,7 +1545,6 @@ xub_StrLen ImpSvNumberformatScan::FinalScan( String& rString, String& rComment )
case
NUMBERFORMAT_SCIENTIFIC
:
case
NUMBERFORMAT_FRACTION
:
{
sal_Unicode
cThousandFill
=
' '
;
while
(
i
<
nAnzStrings
)
{
// TODO: rechecking eScannedType is unnecessary.
...
...
@@ -1743,10 +1742,7 @@ xub_StrLen ImpSvNumberformatScan::FinalScan( String& rString, String& rComment )
{
nPos
=
nPos
+
sStrArray
[
i
].
Len
();
if
(
!
bThousand
)
// only once
{
bThousand
=
TRUE
;
cThousandFill
=
sStrArray
[
i
+
1
].
GetChar
(
0
);
}
// Eat it, will be reinserted at proper
// grouping positions further down.
nTypeArray
[
i
]
=
NF_SYMBOLTYPE_EMPTY
;
...
...
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