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
ba4a7642
Kaydet (Commit)
ba4a7642
authored
May 23, 2013
tarafından
Takeshi Abe
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sal_Bool to bool
Change-Id: I4e2c942b4bc51199c37efac4ad29dc08f3bbdcd3
üst
28829fde
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
16 deletions
+16
-16
FilterConfigItem.cxx
vcl/source/filter/FilterConfigItem.cxx
+6
-6
graphicfilter.cxx
vcl/source/filter/graphicfilter.cxx
+0
-0
graphicfilter2.cxx
vcl/source/filter/graphicfilter2.cxx
+10
-10
No files found.
vcl/source/filter/FilterConfigItem.cxx
Dosyayı görüntüle @
ba4a7642
...
...
@@ -38,9 +38,9 @@ using namespace ::com::sun::star::container ; //
using
namespace
::
com
::
sun
::
star
::
configuration
;
//
using
namespace
::
com
::
sun
::
star
::
task
;
// XStatusIndicator
static
sal_B
ool
ImpIsTreeAvailable
(
Reference
<
XMultiServiceFactory
>&
rXCfgProv
,
const
OUString
&
rTree
)
static
b
ool
ImpIsTreeAvailable
(
Reference
<
XMultiServiceFactory
>&
rXCfgProv
,
const
OUString
&
rTree
)
{
sal_B
ool
bAvailable
=
!
rTree
.
isEmpty
();
b
ool
bAvailable
=
!
rTree
.
isEmpty
();
if
(
bAvailable
)
{
using
comphelper
::
string
::
getTokenCount
;
...
...
@@ -74,7 +74,7 @@ static sal_Bool ImpIsTreeAvailable( Reference< XMultiServiceFactory >& rXCfgProv
}
catch
(
const
::
com
::
sun
::
star
::
uno
::
Exception
&
)
{
bAvailable
=
sal_F
alse
;
bAvailable
=
f
alse
;
}
if
(
xReadAccess
.
is
()
)
{
...
...
@@ -84,12 +84,12 @@ static sal_Bool ImpIsTreeAvailable( Reference< XMultiServiceFactory >& rXCfgProv
(
xReadAccess
,
UNO_QUERY
);
if
(
!
xHierarchicalNameAccess
.
is
()
)
bAvailable
=
sal_F
alse
;
bAvailable
=
f
alse
;
else
{
OUString
aNode
(
getToken
(
rTree
,
i
,
'/'
)
);
if
(
!
xHierarchicalNameAccess
->
hasByHierarchicalName
(
aNode
)
)
bAvailable
=
sal_F
alse
;
bAvailable
=
f
alse
;
else
{
Any
a
(
xHierarchicalNameAccess
->
getByHierarchicalName
(
aNode
)
);
...
...
@@ -99,7 +99,7 @@ static sal_Bool ImpIsTreeAvailable( Reference< XMultiServiceFactory >& rXCfgProv
}
catch
(
::
com
::
sun
::
star
::
uno
::
Exception
&
)
{
bAvailable
=
sal_F
alse
;
bAvailable
=
f
alse
;
}
}
}
...
...
vcl/source/filter/graphicfilter.cxx
Dosyayı görüntüle @
ba4a7642
This diff is collapsed.
Click to expand it.
vcl/source/filter/graphicfilter2.cxx
Dosyayı görüntüle @
ba4a7642
...
...
@@ -265,8 +265,8 @@ sal_Bool GraphicDescriptor::ImpDetectJPG( SvStream& rStm, sal_Bool bExtendedInf
sal_uInt32
nError
(
rStm
.
GetError
()
);
sal_Bool
bScanFailure
=
sal_F
alse
;
sal_Bool
bScanFinished
=
sal_F
alse
;
bool
bScanFailure
=
f
alse
;
bool
bScanFinished
=
f
alse
;
while
(
!
bScanFailure
&&
!
bScanFinished
&&
!
rStm
.
IsEof
()
&&
!
rStm
.
GetError
()
)
{
...
...
@@ -287,11 +287,11 @@ sal_Bool GraphicDescriptor::ImpDetectJPG( SvStream& rStm, sal_Bool bExtendedInf
case
0xd8
:
// SOI (has already been checked, there should not be a second one)
case
0x00
:
// marker is invalid, we should stop now
bScanFailure
=
sal_T
rue
;
bScanFailure
=
t
rue
;
break
;
case
0xd9
:
// EOI
bScanFinished
=
sal_T
rue
;
bScanFinished
=
t
rue
;
break
;
// per default we assume marker segments conaining a length parameter
...
...
@@ -301,7 +301,7 @@ sal_Bool GraphicDescriptor::ImpDetectJPG( SvStream& rStm, sal_Bool bExtendedInf
rStm
>>
nLength
;
if
(
nLength
<
2
)
bScanFailure
=
sal_T
rue
;
bScanFailure
=
t
rue
;
else
{
sal_uInt32
nNextMarkerPos
=
rStm
.
Tell
()
+
nLength
-
2
;
...
...
@@ -383,7 +383,7 @@ sal_Bool GraphicDescriptor::ImpDetectJPG( SvStream& rStm, sal_Bool bExtendedInf
nBitsPerPixel
=
(
nNumberOfImageComponents
==
3
?
24
:
nNumberOfImageComponents
==
1
?
8
:
0
);
nPlanes
=
1
;
bScanFinished
=
sal_T
rue
;
bScanFinished
=
t
rue
;
}
break
;
}
...
...
@@ -600,7 +600,7 @@ sal_Bool GraphicDescriptor::ImpDetectPNG( SvStream& rStm, sal_Bool bExtendedInfo
sal_Bool
GraphicDescriptor
::
ImpDetectTIF
(
SvStream
&
rStm
,
sal_Bool
bExtendedInfo
)
{
sal_Bool
bDetectOk
=
sal_F
alse
;
bool
bDetectOk
=
f
alse
;
sal_Bool
bRet
=
sal_False
;
sal_uInt8
cByte1
;
sal_uInt8
cByte2
;
...
...
@@ -613,12 +613,12 @@ sal_Bool GraphicDescriptor::ImpDetectTIF( SvStream& rStm, sal_Bool bExtendedInfo
if
(
cByte1
==
0x49
)
{
rStm
.
SetNumberFormatInt
(
NUMBERFORMAT_INT_LITTLEENDIAN
);
bDetectOk
=
sal_T
rue
;
bDetectOk
=
t
rue
;
}
else
if
(
cByte1
==
0x4d
)
{
rStm
.
SetNumberFormatInt
(
NUMBERFORMAT_INT_BIGENDIAN
);
bDetectOk
=
sal_T
rue
;
bDetectOk
=
t
rue
;
}
if
(
bDetectOk
)
...
...
@@ -636,7 +636,7 @@ sal_Bool GraphicDescriptor::ImpDetectTIF( SvStream& rStm, sal_Bool bExtendedInfo
sal_uLong
nCount
;
sal_uLong
nMax
=
DATA_SIZE
-
48
;
sal_uInt32
nTemp32
;
sal_Bool
bOk
=
sal_F
alse
;
bool
bOk
=
f
alse
;
// Offset of the first IFD
rStm
>>
nTemp32
;
...
...
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