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
e4f7e197
Kaydet (Commit)
e4f7e197
authored
Ock 29, 2017
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
we don't need read access, only write
Change-Id: If9720a402ce360fd691a4ce83f267e2d19e19652
üst
a48c22e1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
ipict.cxx
filter/source/graphicfilter/ipict/ipict.cxx
+0
-7
No files found.
filter/source/graphicfilter/ipict/ipict.cxx
Dosyayı görüntüle @
e4f7e197
...
@@ -304,8 +304,6 @@ public:
...
@@ -304,8 +304,6 @@ public:
{ \
{ \
if ( pAcc ) \
if ( pAcc ) \
Bitmap::ReleaseAccess( pAcc ); \
Bitmap::ReleaseAccess( pAcc ); \
if ( pReadAcc ) \
Bitmap::ReleaseAccess( pReadAcc ); \
return 0xffffffff; \
return 0xffffffff; \
}
}
...
@@ -705,7 +703,6 @@ sal_uLong PictReader::ReadPixMapEtc( Bitmap &rBitmap, bool bBaseAddr, bool bColo
...
@@ -705,7 +703,6 @@ sal_uLong PictReader::ReadPixMapEtc( Bitmap &rBitmap, bool bBaseAddr, bool bColo
{
{
Bitmap
aBitmap
;
Bitmap
aBitmap
;
BitmapWriteAccess
*
pAcc
=
nullptr
;
BitmapWriteAccess
*
pAcc
=
nullptr
;
BitmapReadAccess
*
pReadAcc
=
nullptr
;
sal_uInt16
nColTabSize
;
sal_uInt16
nColTabSize
;
sal_uInt16
nRowBytes
,
nBndX
,
nBndY
,
nWidth
,
nHeight
,
nPackType
,
sal_uInt16
nRowBytes
,
nBndX
,
nBndY
,
nWidth
,
nHeight
,
nPackType
,
nPixelSize
,
nCmpCount
,
nCmpSize
;
nPixelSize
,
nCmpCount
,
nCmpSize
;
...
@@ -1018,8 +1015,6 @@ sal_uLong PictReader::ReadPixMapEtc( Bitmap &rBitmap, bool bBaseAddr, bool bColo
...
@@ -1018,8 +1015,6 @@ sal_uLong PictReader::ReadPixMapEtc( Bitmap &rBitmap, bool bBaseAddr, bool bColo
size_t
nCount
;
size_t
nCount
;
sal_uLong
nSrcBitsPos
;
sal_uLong
nSrcBitsPos
;
BitmapColor
aBitmapColor
;
BitmapColor
aBitmapColor
;
if
(
(
pReadAcc
=
aBitmap
.
AcquireReadAccess
()
)
==
nullptr
)
BITMAPERROR
;
if
(
nRowBytes
!=
4
*
nWidth
)
if
(
nRowBytes
!=
4
*
nWidth
)
BITMAPERROR
;
BITMAPERROR
;
...
@@ -1126,8 +1121,6 @@ sal_uLong PictReader::ReadPixMapEtc( Bitmap &rBitmap, bool bBaseAddr, bool bColo
...
@@ -1126,8 +1121,6 @@ sal_uLong PictReader::ReadPixMapEtc( Bitmap &rBitmap, bool bBaseAddr, bool bColo
}
}
else
else
BITMAPERROR
;
BITMAPERROR
;
if
(
pReadAcc
)
Bitmap
::
ReleaseAccess
(
pReadAcc
);
Bitmap
::
ReleaseAccess
(
pAcc
);
Bitmap
::
ReleaseAccess
(
pAcc
);
rBitmap
=
aBitmap
;
rBitmap
=
aBitmap
;
return
nDataSize
;
return
nDataSize
;
...
...
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