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
5ee129fb
Kaydet (Commit)
5ee129fb
authored
Ara 20, 2012
tarafından
Julien Nabet
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Some cppcheck
Change-Id: Ifec449ea334d9055bb33beb0518ab2e01d885d0d
üst
94f21050
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
5 deletions
+3
-5
gcach_ftyp.cxx
vcl/generic/glyphs/gcach_ftyp.cxx
+1
-2
genpspgraphics.cxx
vcl/generic/print/genpspgraphics.cxx
+1
-1
printerjob.cxx
vcl/generic/print/printerjob.cxx
+1
-2
No files found.
vcl/generic/glyphs/gcach_ftyp.cxx
Dosyayı görüntüle @
5ee129fb
...
...
@@ -371,9 +371,8 @@ GraphiteFaceWrapper * FtFontInfo::GetGraphiteFace()
// test for graphite here so that it is cached most efficiently
if
(
GetTable
(
"Silf"
,
0
))
{
int
graphiteSegCacheSize
=
10000
;
static
const
char
*
pGraphiteCacheStr
=
getenv
(
"SAL_GRAPHITE_CACHE_SIZE"
);
graphiteSegCacheSize
=
pGraphiteCacheStr
?
(
atoi
(
pGraphiteCacheStr
))
:
0
;
int
graphiteSegCacheSize
=
pGraphiteCacheStr
?
(
atoi
(
pGraphiteCacheStr
))
:
0
;
gr_face
*
pGraphiteFace
;
if
(
graphiteSegCacheSize
>
500
)
pGraphiteFace
=
gr_make_face_with_seg_cache
(
this
,
graphiteFontTable
,
graphiteSegCacheSize
,
gr_face_cacheCmap
);
...
...
vcl/generic/print/genpspgraphics.cxx
Dosyayı görüntüle @
5ee129fb
...
...
@@ -1250,7 +1250,6 @@ bool GenPspGraphics::filterText( const rtl::OUString& rOrig, rtl::OUString& rNew
bool
bRet
=
false
;
bool
bStarted
=
false
;
bool
bStopped
=
false
;
sal_Int32
nPos
;
sal_Int32
nStart
=
0
;
sal_Int32
nStop
=
rLen
;
...
...
@@ -1269,6 +1268,7 @@ bool GenPspGraphics::filterText( const rtl::OUString& rOrig, rtl::OUString& rNew
}
if
(
m_bPhoneCollectionActive
)
{
bool
bStopped
=
false
;
bRet
=
true
;
nPos
=
bStarted
?
nStart
+
FAX_PHONE_TOKEN_LENGTH
:
0
;
if
(
(
nPos
=
aPhone
.
indexOfAsciiL
(
FAX_END_TOKEN
,
FAX_END_TOKEN_LENGTH
,
nPos
)
)
!=
-
1
)
...
...
vcl/generic/print/printerjob.cxx
Dosyayı görüntüle @
5ee129fb
...
...
@@ -96,12 +96,11 @@ AppendPS (FILE* pDst, osl::File* pSrc, sal_uChar* pBuffer,
osl
::
File
*
PrinterJob
::
CreateSpoolFile
(
const
rtl
::
OUString
&
rName
,
const
rtl
::
OUString
&
rExtension
)
{
osl
::
File
::
RC
nError
=
osl
::
File
::
E_None
;
osl
::
File
*
pFile
=
NULL
;
rtl
::
OUString
aFile
=
rName
+
rExtension
;
rtl
::
OUString
aFileURL
;
nError
=
osl
::
File
::
getFileURLFromSystemPath
(
aFile
,
aFileURL
);
osl
::
File
::
RC
nError
=
osl
::
File
::
getFileURLFromSystemPath
(
aFile
,
aFileURL
);
if
(
nError
!=
osl
::
File
::
E_None
)
return
NULL
;
aFileURL
=
maSpoolDirName
+
rtl
::
OUString
(
"/"
)
+
aFileURL
;
...
...
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