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
8ed5e3bd
Kaydet (Commit)
8ed5e3bd
authored
Kas 07, 2011
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
callcatcher: remove some unused Graphic methods
üst
3b5ec68b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
51 deletions
+0
-51
unusedcode.easy
unusedcode.easy
+0
-2
graph.hxx
vcl/inc/vcl/graph.hxx
+0
-3
graph.cxx
vcl/source/gdi/graph.cxx
+0
-46
No files found.
unusedcode.easy
Dosyayı görüntüle @
8ed5e3bd
...
@@ -154,9 +154,7 @@ GalleryExplorer::DrawCentered(OutputDevice*, FmFormModel const&)
...
@@ -154,9 +154,7 @@ GalleryExplorer::DrawCentered(OutputDevice*, FmFormModel const&)
GalleryExplorer::GetObjCount(unsigned long)
GalleryExplorer::GetObjCount(unsigned long)
GraphCtrl::GraphCtrl(Window*, long)
GraphCtrl::GraphCtrl(Window*, long)
Graphic::Draw(OutputDevice*, String const&, Font&, Bitmap const&, Point const&, Size const&)
Graphic::Draw(OutputDevice*, String const&, Font&, Bitmap const&, Point const&, Size const&)
Graphic::GetGraphicsCompressMode(SvStream&)
Graphic::StartAnimation(OutputDevice*, Point const&, long, OutputDevice*)
Graphic::StartAnimation(OutputDevice*, Point const&, long, OutputDevice*)
Graphic::WriteEmbedded(SvStream&)
GraphicReader::IsPreviewModeEnabled() const
GraphicReader::IsPreviewModeEnabled() const
GroupTable::SkipCurrentGroup()
GroupTable::SkipCurrentGroup()
GtkSalFrame::popIgnoreDamage()
GtkSalFrame::popIgnoreDamage()
...
...
vcl/inc/vcl/graph.hxx
Dosyayı görüntüle @
8ed5e3bd
...
@@ -188,14 +188,11 @@ public:
...
@@ -188,14 +188,11 @@ public:
public
:
public
:
static
sal_uInt16
GetGraphicsCompressMode
(
SvStream
&
rIStm
);
void
SetDocFileName
(
const
String
&
rName
,
sal_uLong
nFilePos
);
void
SetDocFileName
(
const
String
&
rName
,
sal_uLong
nFilePos
);
const
String
&
GetDocFileName
()
const
;
const
String
&
GetDocFileName
()
const
;
sal_uLong
GetDocFilePos
()
const
;
sal_uLong
GetDocFilePos
()
const
;
sal_Bool
ReadEmbedded
(
SvStream
&
rIStream
,
sal_Bool
bSwap
=
sal_False
);
sal_Bool
ReadEmbedded
(
SvStream
&
rIStream
,
sal_Bool
bSwap
=
sal_False
);
sal_Bool
WriteEmbedded
(
SvStream
&
rOStream
);
sal_Bool
SwapOut
();
sal_Bool
SwapOut
();
sal_Bool
SwapOut
(
SvStream
*
pOStm
);
sal_Bool
SwapOut
(
SvStream
*
pOStm
);
...
...
vcl/source/gdi/graph.cxx
Dosyayı görüntüle @
8ed5e3bd
...
@@ -680,44 +680,6 @@ void Graphic::SetContext( GraphicReader* pReader )
...
@@ -680,44 +680,6 @@ void Graphic::SetContext( GraphicReader* pReader )
// ------------------------------------------------------------------------
// ------------------------------------------------------------------------
sal_uInt16
Graphic
::
GetGraphicsCompressMode
(
SvStream
&
rIStm
)
{
const
sal_uLong
nPos
=
rIStm
.
Tell
();
const
sal_uInt16
nOldFormat
=
rIStm
.
GetNumberFormatInt
();
sal_uInt32
nTmp32
;
sal_uInt16
nTmp16
;
sal_uInt16
nCompressMode
=
COMPRESSMODE_NONE
;
rIStm
.
SetNumberFormatInt
(
NUMBERFORMAT_INT_LITTLEENDIAN
);
rIStm
>>
nTmp32
;
// is it a swapped graphic with a bitmap?
rIStm
.
SeekRel
(
(
nTmp32
==
(
sal_uInt32
)
GRAPHIC_BITMAP
)
?
40
:
-
4
);
// try to read bitmap id
rIStm
>>
nTmp16
;
// check id of BitmapFileHeader
if
(
0x4D42
==
nTmp16
)
{
// seek to compress field of BitmapInfoHeader
rIStm
.
SeekRel
(
28
);
rIStm
>>
nTmp32
;
// Compare with our own compressmode
if
(
ZCOMPRESS
==
nTmp32
)
nCompressMode
=
COMPRESSMODE_ZBITMAP
;
}
rIStm
.
SetNumberFormatInt
(
nOldFormat
);
rIStm
.
Seek
(
nPos
);
return
nCompressMode
;
}
// ------------------------------------------------------------------------
void
Graphic
::
SetDocFileName
(
const
String
&
rName
,
sal_uLong
nFilePos
)
void
Graphic
::
SetDocFileName
(
const
String
&
rName
,
sal_uLong
nFilePos
)
{
{
mpImpGraphic
->
ImplSetDocFileName
(
rName
,
nFilePos
);
mpImpGraphic
->
ImplSetDocFileName
(
rName
,
nFilePos
);
...
@@ -747,14 +709,6 @@ sal_Bool Graphic::ReadEmbedded( SvStream& rIStream, sal_Bool bSwap )
...
@@ -747,14 +709,6 @@ sal_Bool Graphic::ReadEmbedded( SvStream& rIStream, sal_Bool bSwap )
// ------------------------------------------------------------------------
// ------------------------------------------------------------------------
sal_Bool
Graphic
::
WriteEmbedded
(
SvStream
&
rOStream
)
{
ImplTestRefCount
();
return
mpImpGraphic
->
ImplWriteEmbedded
(
rOStream
);
}
// ------------------------------------------------------------------------
sal_Bool
Graphic
::
SwapOut
()
sal_Bool
Graphic
::
SwapOut
()
{
{
ImplTestRefCount
();
ImplTestRefCount
();
...
...
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