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
83748e50
Kaydet (Commit)
83748e50
authored
Eyl 12, 2017
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
CUPS_VERSION_MAJOR is not defined
on arm Change-Id: Ibeca07800d02f5f69046c7bdee57143c78c03aad
üst
6534fa1c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
ppdparser.cxx
vcl/unx/generic/printer/ppdparser.cxx
+2
-0
No files found.
vcl/unx/generic/printer/ppdparser.cxx
Dosyayı görüntüle @
83748e50
...
...
@@ -619,6 +619,7 @@ PPDParser::PPDParser( const OUString& rFile, std::vector<PPDKey*> keys) :
if
(
pKey
)
{
PPDKey
*
pImageableAreas
=
new
PPDKey
(
"ImageableArea"
);
PPDKey
*
pPaperDimensions
=
new
PPDKey
(
"PaperDimension"
);
#if defined(CUPS_VERSION_MAJOR)
#if (CUPS_VERSION_MAJOR == 1 && CUPS_VERSION_MINOR >= 7) || CUPS_VERSION_MAJOR > 1
for
(
int
i
=
0
;
i
<
pKey
->
countValues
();
i
++
)
{
const
PPDValue
*
pValue
=
pKey
->
getValue
(
i
);
...
...
@@ -648,6 +649,7 @@ PPDParser::PPDParser( const OUString& rFile, std::vector<PPDKey*> keys) :
}
}
#endif // HAVE_CUPS_API_1_7
#endif
insertKey
(
"ImageableArea"
,
pImageableAreas
);
insertKey
(
"PaperDimension"
,
pPaperDimensions
);
}
...
...
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