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
6a94d7b5
Kaydet (Commit)
6a94d7b5
authored
12 years ago
tarafından
Michael Stahl
Kaydeden (comit)
Michael Stahl
12 years ago
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
basic, cui, extensions, filter, vcl: fix some warnings
üst
89f08dce
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
18 additions
and
11 deletions
+18
-11
runtime.cxx
basic/source/runtime/runtime.cxx
+3
-3
numpages.cxx
cui/source/tabpages/numpages.cxx
+6
-0
sane.cxx
extensions/source/scanner/sane.cxx
+1
-1
chart.cxx
filter/source/graphicfilter/icgm/chart.cxx
+1
-1
metric.cxx
vcl/source/gdi/metric.cxx
+1
-1
outmap.cxx
vcl/source/gdi/outmap.cxx
+6
-5
No files found.
basic/source/runtime/runtime.cxx
Dosyayı görüntüle @
6a94d7b5
...
...
@@ -702,17 +702,17 @@ sal_Bool SbiRuntime::Step()
SbiOpcode
eOp
=
(
SbiOpcode
)
(
*
pCode
++
);
sal_uInt32
nOp1
,
nOp2
;
if
(
eOp
<=
SbOP0_END
)
if
(
eOp
<
SbOP0_END
)
{
(
this
->*
(
aStep0
[
eOp
]
)
)();
}
else
if
(
eOp
>=
SbOP1_START
&&
eOp
<=
SbOP1_END
)
else
if
(
eOp
>=
SbOP1_START
&&
eOp
<
SbOP1_END
)
{
nOp1
=
*
pCode
++
;
nOp1
|=
*
pCode
++
<<
8
;
nOp1
|=
*
pCode
++
<<
16
;
nOp1
|=
*
pCode
++
<<
24
;
(
this
->*
(
aStep1
[
eOp
-
SbOP1_START
]
)
)(
nOp1
);
}
else
if
(
eOp
>=
SbOP2_START
&&
eOp
<=
SbOP2_END
)
else
if
(
eOp
>=
SbOP2_START
&&
eOp
<
SbOP2_END
)
{
nOp1
=
*
pCode
++
;
nOp1
|=
*
pCode
++
<<
8
;
nOp1
|=
*
pCode
++
<<
16
;
nOp1
|=
*
pCode
++
<<
24
;
nOp2
=
*
pCode
++
;
nOp2
|=
*
pCode
++
<<
8
;
nOp2
|=
*
pCode
++
<<
16
;
nOp2
|=
*
pCode
++
<<
24
;
...
...
This diff is collapsed.
Click to expand it.
cui/source/tabpages/numpages.cxx
Dosyayı görüntüle @
6a94d7b5
...
...
@@ -2840,6 +2840,12 @@ void SvxNumPositionTabPage::InitControls()
nMask
<<=
1
;
}
if
(
SVX_MAX_NUM
<=
nLvl
)
{
OSL_ENSURE
(
false
,
"cannot happen."
);
return
;
}
if
(
bSameDistBorderNum
)
{
long
nDistBorderNum
;
...
...
This diff is collapsed.
Click to expand it.
extensions/source/scanner/sane.cxx
Dosyayı görüntüle @
6a94d7b5
...
...
@@ -1002,7 +1002,7 @@ String Sane::GetOptionUnitName( int n )
String
aText
;
SANE_Unit
nUnit
=
mppOptions
[
n
]
->
unit
;
size_t
nUnitAsSize
=
(
size_t
)
nUnit
;
if
(
nUnitAsSize
>
SAL_N_ELEMENTS
(
ppUnits
)
)
if
(
nUnitAsSize
>=
SAL_N_ELEMENTS
(
ppUnits
)
)
aText
=
rtl
::
OUString
(
"[unknown units]"
);
else
aText
=
String
(
ppUnits
[
nUnit
],
osl_getThreadTextEncoding
()
);
...
...
This diff is collapsed.
Click to expand it.
filter/source/graphicfilter/icgm/chart.cxx
Dosyayı görüntüle @
6a94d7b5
...
...
@@ -69,7 +69,6 @@ void CGMChart::DeleteTextEntry( TextEntry* pTextEntry )
pTAttr
=
pTAttr
->
pNextAttribute
;
delete
pTempTAttr
;
}
delete
pTextEntry
;
::
std
::
vector
<
TextEntry
*
>::
iterator
it
;
for
(
it
=
maTextEntryList
.
begin
();
it
!=
maTextEntryList
.
end
();
++
it
)
{
...
...
@@ -79,6 +78,7 @@ void CGMChart::DeleteTextEntry( TextEntry* pTextEntry )
break
;
}
}
delete
pTextEntry
;
}
};
...
...
This diff is collapsed.
Click to expand it.
vcl/source/gdi/metric.cxx
Dosyayı görüntüle @
6a94d7b5
...
...
@@ -714,7 +714,7 @@ bool ParseCMAP( const unsigned char* pCmap, int nLength, CmapResult& rResult )
while
(
cMin
<
cEnd
)
{
int
j
=
0
;
for
(;
(
cMin
<
cEnd
)
&&
(
j
<
NINSIZE
);
++
cMin
)
for
(;
(
cMin
<
cEnd
)
&&
(
j
<
(
NINSIZE
-
1
));
++
cMin
)
{
if
(
cMin
>=
0x0100
)
cCharsInp
[
j
++
]
=
static_cast
<
sal_Char
>
(
cMin
>>
8
);
...
...
This diff is collapsed.
Click to expand it.
vcl/source/gdi/outmap.cxx
Dosyayı görüntüle @
6a94d7b5
...
...
@@ -61,9 +61,10 @@ DBG_NAMEEX( Region )
// =======================================================================
static
long
aImplNumeratorAry
[
MAP_PIXEL
+
1
]
=
static
int
const
s_ImplArySize
=
MAP_PIXEL
+
1
;
static
long
aImplNumeratorAry
[
s_ImplArySize
]
=
{
1
,
1
,
5
,
50
,
1
,
1
,
1
,
1
,
1
,
1
,
1
};
static
long
aImplDenominatorAry
[
MAP_PIXEL
+
1
]
=
static
long
aImplDenominatorAry
[
s_ImplArySize
]
=
{
2540
,
254
,
127
,
127
,
1000
,
100
,
10
,
1
,
72
,
1440
,
1
};
// -----------------------------------------------------------------------
...
...
@@ -1660,9 +1661,9 @@ basegfx::B2DPolyPolygon OutputDevice::PixelToLogic( const basegfx::B2DPolyPolygo
#define ENTER3( eUnitSource, eUnitDest ) \
long nNumerator = 1; \
long nDenominator = 1; \
DBG_ASSERT( eUnitSource <= MAP_PIXEL, "nonpermitted source map unit");
\
DBG_ASSERT( eUnitDest <= MAP_PIXEL, "nonpermitted destination map unit");
\
if( (eUnitSource <= MAP_PIXEL) && (eUnitDest <= MAP_PIXEL) )
\
DBG_ASSERT( eUnitSource < s_ImplArySize, "Invalid source map unit");
\
DBG_ASSERT( eUnitDest < s_ImplArySize, "Invalid destination map unit");
\
if( (eUnitSource < s_ImplArySize) && (eUnitDest < s_ImplArySize) )
\
{ \
nNumerator = aImplNumeratorAry[eUnitSource] * \
aImplDenominatorAry[eUnitDest]; \
...
...
This diff is collapsed.
Click to expand it.
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