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
0696c0aa
Kaydet (Commit)
0696c0aa
authored
Ara 20, 2011
tarafından
August Sodora
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
callcatcher: Remove unused code
üst
e8f980d1
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
0 additions
and
116 deletions
+0
-116
unusedcode.easy
unusedcode.easy
+0
-8
printdlg.hxx
vcl/inc/printdlg.hxx
+0
-1
arrange.hxx
vcl/inc/vcl/arrange.hxx
+0
-2
canvastools.hxx
vcl/inc/vcl/canvastools.hxx
+0
-24
canvastools.cxx
vcl/source/helper/canvastools.cxx
+0
-44
arrange.cxx
vcl/source/window/arrange.cxx
+0
-32
printdlg.cxx
vcl/source/window/printdlg.cxx
+0
-5
No files found.
unusedcode.easy
Dosyayı görüntüle @
0696c0aa
...
...
@@ -2148,14 +2148,6 @@ vcl::PDFExtOutDevData::SetOutlineItemParent(int, int)
vcl::PDFExtOutDevData::SetOutlineItemText(int, rtl::OUString const&)
vcl::PDFWriter::DrawPixel(Polygon const&, Color const*)
vcl::PDFWriterImpl::drawPolyPolygon(PolyPolygon const&, int, bool)
vcl::PrintDialog::getCopyCount()
vcl::RowOrColumn::remove(Window*)
vcl::RowOrColumn::remove(boost::shared_ptr<vcl::WindowArranger> const&)
vcl::unotools::xBitmapFromBitmap(com::sun::star::uno::Reference<com::sun::star::rendering::XGraphicDevice> const&, Bitmap const&)
vcl::unotools::xPolyPolygonFromPolyPolygon(com::sun::star::uno::Reference<com::sun::star::rendering::XGraphicDevice> const&, PolyPolygon const&)
vcl::unotools::xPolyPolygonFromPolygon(com::sun::star::uno::Reference<com::sun::star::rendering::XGraphicDevice> const&, Polygon const&)
vcl::unx::GtkPrintWrapper::print_operation_set_has_selection(_GtkPrintOperation*, int) const
vcl::unx::GtkPrintWrapper::print_operation_set_support_selection(_GtkPrintOperation*, int) const
void ScCompressedArrayIterator<int, unsigned short>::Follow<unsigned char>(ScCompressedArrayIterator<int, unsigned char> const&)
writerfilter::TagLogger::attribute(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, rtl::OUString const&)
writerfilter::TagLogger::chars(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
vcl/inc/printdlg.hxx
Dosyayı görüntüle @
0696c0aa
...
...
@@ -295,7 +295,6 @@ namespace vcl
virtual
~
PrintDialog
();
bool
isPrintToFile
();
int
getCopyCount
();
bool
isCollate
();
bool
isSingleJobs
();
...
...
vcl/inc/vcl/arrange.hxx
Dosyayı görüntüle @
0696c0aa
...
...
@@ -251,13 +251,11 @@ namespace vcl
// add a managed window at the given index
// an index smaller than zero means add the window at the end
size_t
addWindow
(
Window
*
,
sal_Int32
i_nExpandPrio
=
0
,
const
Size
&
i_rMinSize
=
Size
(),
size_t
i_nIndex
=
~
0
);
void
remove
(
Window
*
);
size_t
addChild
(
boost
::
shared_ptr
<
WindowArranger
>
const
&
,
sal_Int32
i_nExpandPrio
=
0
,
size_t
i_nIndex
=
~
0
);
// convenience: use for addChild( new WindowArranger( ... ) ) constructs
size_t
addChild
(
WindowArranger
*
i_pNewChild
,
sal_Int32
i_nExpandPrio
=
0
,
size_t
i_nIndex
=
~
0
)
{
return
addChild
(
boost
::
shared_ptr
<
WindowArranger
>
(
i_pNewChild
),
i_nExpandPrio
,
i_nIndex
);
}
void
remove
(
boost
::
shared_ptr
<
WindowArranger
>
const
&
);
long
getBorderWidth
()
const
{
return
m_nBorderWidth
;
}
};
...
...
vcl/inc/vcl/canvastools.hxx
Dosyayı görüntüle @
0696c0aa
...
...
@@ -81,33 +81,9 @@ namespace vcl
{
namespace
unotools
{
// Polygon conversions
// ===================================================================
/** Create an XPolyPolygon from VCL/Tools polygon
*/
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
rendering
::
XPolyPolygon2D
>
VCL_DLLPUBLIC
xPolyPolygonFromPolygon
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
rendering
::
XGraphicDevice
>&
xGraphicDevice
,
const
::
Polygon
&
inputPolygon
);
/** Create an XPolyPolygon from VCL/Tools polyPolygon
*/
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
rendering
::
XPolyPolygon2D
>
VCL_DLLPUBLIC
xPolyPolygonFromPolyPolygon
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
rendering
::
XGraphicDevice
>&
xGraphicDevice
,
const
::
PolyPolygon
&
inputPolyPolygon
);
// Bitmap conversions
// ===================================================================
/** Create an XBitmap from VCL Bitmap
*/
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
rendering
::
XBitmap
>
VCL_DLLPUBLIC
xBitmapFromBitmap
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
rendering
::
XGraphicDevice
>&
xGraphicDevice
,
const
::
Bitmap
&
inputBitmap
);
/** Create an XBitmap from VCL BitmapEx
*/
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
rendering
::
XBitmap
>
...
...
vcl/source/helper/canvastools.cxx
Dosyayı görüntüle @
0696c0aa
...
...
@@ -79,48 +79,6 @@ namespace vcl
{
namespace
unotools
{
// #i79917# removed helpers bezierSequenceFromPolygon and
// pointSequenceFromPolygon here
// Also all helpers using tools Polygon and PolyPolygon will get mapped to the
// B2DPolygon helpers for these cases, see comments with the same TaskID below.
// TODO: Remove those wrapped methods
//---------------------------------------------------------------------------------------
uno
::
Reference
<
rendering
::
XPolyPolygon2D
>
xPolyPolygonFromPolygon
(
const
uno
::
Reference
<
rendering
::
XGraphicDevice
>&
xGraphicDevice
,
const
::
Polygon
&
inputPolygon
)
{
RTL_LOGFILE_CONTEXT
(
aLog
,
"::vcl::unotools::xPolyPolygonFromPolygon()"
);
// #i79917# map to basegfx
const
basegfx
::
B2DPolygon
aB2DPolygon
(
inputPolygon
.
getB2DPolygon
());
return
basegfx
::
unotools
::
xPolyPolygonFromB2DPolygon
(
xGraphicDevice
,
aB2DPolygon
);
}
//---------------------------------------------------------------------------------------
uno
::
Reference
<
rendering
::
XPolyPolygon2D
>
xPolyPolygonFromPolyPolygon
(
const
uno
::
Reference
<
rendering
::
XGraphicDevice
>&
xGraphicDevice
,
const
::
PolyPolygon
&
inputPolyPolygon
)
{
RTL_LOGFILE_CONTEXT
(
aLog
,
"::vcl::unotools::xPolyPolygonFromPolyPolygon()"
);
// #i79917# map to basegfx
const
basegfx
::
B2DPolyPolygon
aB2DPolyPolygon
(
inputPolyPolygon
.
getB2DPolyPolygon
());
return
basegfx
::
unotools
::
xPolyPolygonFromB2DPolyPolygon
(
xGraphicDevice
,
aB2DPolyPolygon
);
}
//---------------------------------------------------------------------------------------
uno
::
Reference
<
rendering
::
XBitmap
>
xBitmapFromBitmap
(
const
uno
::
Reference
<
rendering
::
XGraphicDevice
>&
/*xGraphicDevice*/
,
const
::
Bitmap
&
inputBitmap
)
{
RTL_LOGFILE_CONTEXT
(
aLog
,
"::vcl::unotools::xBitmapFromBitmap()"
);
return
new
vcl
::
unotools
::
VclCanvasBitmap
(
BitmapEx
(
inputBitmap
)
);
}
//---------------------------------------------------------------------------------------
uno
::
Reference
<
rendering
::
XBitmap
>
xBitmapFromBitmapEx
(
const
uno
::
Reference
<
rendering
::
XGraphicDevice
>&
/*xGraphicDevice*/
,
const
::
BitmapEx
&
inputBitmap
)
{
...
...
@@ -129,8 +87,6 @@ namespace vcl
return
new
vcl
::
unotools
::
VclCanvasBitmap
(
inputBitmap
);
}
//---------------------------------------------------------------------------------------
namespace
{
inline
bool
operator
==
(
const
rendering
::
IntegerBitmapLayout
&
rLHS
,
...
...
vcl/source/window/arrange.cxx
Dosyayı görüntüle @
0696c0aa
...
...
@@ -524,38 +524,6 @@ size_t RowOrColumn::addChild( boost::shared_ptr<WindowArranger> const & i_pChild
return
nIndex
;
}
void
RowOrColumn
::
remove
(
Window
*
i_pWindow
)
{
if
(
i_pWindow
)
{
for
(
std
::
vector
<
WindowArranger
::
Element
>::
iterator
it
=
m_aElements
.
begin
();
it
!=
m_aElements
.
end
();
++
it
)
{
if
(
it
->
m_pElement
==
i_pWindow
)
{
m_aElements
.
erase
(
it
);
return
;
}
}
}
}
void
RowOrColumn
::
remove
(
boost
::
shared_ptr
<
WindowArranger
>
const
&
i_pChild
)
{
if
(
i_pChild
)
{
for
(
std
::
vector
<
WindowArranger
::
Element
>::
iterator
it
=
m_aElements
.
begin
();
it
!=
m_aElements
.
end
();
++
it
)
{
if
(
it
->
m_pChild
==
i_pChild
)
{
m_aElements
.
erase
(
it
);
return
;
}
}
}
}
// ----------------------------------------
// vcl::LabeledElement
//-----------------------------------------
...
...
vcl/source/window/printdlg.cxx
Dosyayı görüntüle @
0696c0aa
...
...
@@ -1028,11 +1028,6 @@ bool PrintDialog::isPrintToFile()
return
maOptionsPage
.
maToFileBox
.
IsChecked
();
}
int
PrintDialog
::
getCopyCount
()
{
return
static_cast
<
int
>
(
maJobPage
.
maCopyCountField
.
GetValue
());
}
bool
PrintDialog
::
isCollate
()
{
return
maJobPage
.
maCopyCountField
.
GetValue
()
>
1
?
maJobPage
.
maCollateBox
.
IsChecked
()
:
sal_False
;
...
...
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