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
05a8ecca
Kaydet (Commit)
05a8ecca
authored
Ock 15, 2012
tarafından
Marc-André Laverdière-Papineau
Kaydeden (comit)
Kohei Yoshida
Ock 19, 2012
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
removed some dead code
üst
22564777
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
1 addition
and
104 deletions
+1
-104
svgexport.cxx
filter/source/svg/svgexport.cxx
+1
-49
svgfilter.hxx
filter/source/svg/svgfilter.hxx
+0
-6
svgwriter.cxx
filter/source/svg/svgwriter.cxx
+0
-8
color.hxx
tools/inc/tools/color.hxx
+0
-1
color.cxx
tools/source/generic/color.cxx
+0
-15
unusedcode.easy
unusedcode.easy
+0
-7
PageSpan.cxx
writerperfect/source/filter/PageSpan.cxx
+0
-16
PageSpan.hxx
writerperfect/source/filter/PageSpan.hxx
+0
-2
No files found.
filter/source/svg/svgexport.cxx
Dosyayı görüntüle @
05a8ecca
...
@@ -382,20 +382,6 @@ sal_Bool SVGExport::IsUseNativeTextDecoration() const
...
@@ -382,20 +382,6 @@ sal_Bool SVGExport::IsUseNativeTextDecoration() const
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
::
rtl
::
OUString
SVGExport
::
GetGlyphPlacement
()
const
{
::
rtl
::
OUString
aRet
;
if
(
mrFilterData
.
getLength
()
>
3
)
mrFilterData
[
3
].
Value
>>=
aRet
;
else
aRet
=
B2UCONST
(
"abs"
);
return
aRet
;
}
// -----------------------------------------------------------------------------
sal_Bool
SVGExport
::
IsUseOpacity
()
const
sal_Bool
SVGExport
::
IsUseOpacity
()
const
{
{
sal_Bool
bRet
=
!
IsUseTinyProfile
();
sal_Bool
bRet
=
!
IsUseTinyProfile
();
...
@@ -408,43 +394,9 @@ sal_Bool SVGExport::IsUseOpacity() const
...
@@ -408,43 +394,9 @@ sal_Bool SVGExport::IsUseOpacity() const
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
sal_Bool
SVGExport
::
IsUseGradient
()
const
{
sal_Bool
bRet
=
!
IsUseTinyProfile
();
if
(
!
bRet
&&
(
mrFilterData
.
getLength
()
>
5
)
)
mrFilterData
[
5
].
Value
>>=
bRet
;
return
bRet
;
}
// -----------------------------------------------------------------------------
void
SVGExport
::
pushClip
(
const
::
basegfx
::
B2DPolyPolygon
&
rPolyPoly
)
{
maClipList
.
push_front
(
::
basegfx
::
tools
::
correctOrientations
(
rPolyPoly
)
);
}
// -----------------------------------------------------------------------------
void
SVGExport
::
popClip
()
{
if
(
!
maClipList
.
empty
()
)
maClipList
.
pop_front
();
}
// -----------------------------------------------------------------------------
sal_Bool
SVGExport
::
hasClip
()
const
{
return
(
!
maClipList
.
empty
()
);
}
// -----------------------------------------------------------------------------
const
::
basegfx
::
B2DPolyPolygon
*
SVGExport
::
getCurClip
()
const
const
::
basegfx
::
B2DPolyPolygon
*
SVGExport
::
getCurClip
()
const
{
{
return
(
maClipList
.
empty
()
?
NULL
:
&
(
*
maClipList
.
begin
()
)
)
;
return
NULL
;
}
}
// ------------------------
// ------------------------
...
...
filter/source/svg/svgfilter.hxx
Dosyayı görüntüle @
05a8ecca
...
@@ -141,13 +141,8 @@ public:
...
@@ -141,13 +141,8 @@ public:
sal_Bool
IsUseTinyProfile
()
const
;
sal_Bool
IsUseTinyProfile
()
const
;
sal_Bool
IsEmbedFonts
()
const
;
sal_Bool
IsEmbedFonts
()
const
;
sal_Bool
IsUseNativeTextDecoration
()
const
;
sal_Bool
IsUseNativeTextDecoration
()
const
;
::
rtl
::
OUString
GetGlyphPlacement
()
const
;
sal_Bool
IsUseOpacity
()
const
;
sal_Bool
IsUseOpacity
()
const
;
sal_Bool
IsUseGradient
()
const
;
void
pushClip
(
const
::
basegfx
::
B2DPolyPolygon
&
rPolyPoly
);
void
popClip
();
sal_Bool
hasClip
()
const
;
const
::
basegfx
::
B2DPolyPolygon
*
getCurClip
()
const
;
const
::
basegfx
::
B2DPolyPolygon
*
getCurClip
()
const
;
protected
:
protected
:
...
@@ -161,7 +156,6 @@ protected:
...
@@ -161,7 +156,6 @@ protected:
private
:
private
:
const
Sequence
<
PropertyValue
>&
mrFilterData
;
const
Sequence
<
PropertyValue
>&
mrFilterData
;
B2DPolyPolygonList
maClipList
;
SVGExport
();
SVGExport
();
};
};
...
...
filter/source/svg/svgwriter.cxx
Dosyayı görüntüle @
05a8ecca
...
@@ -640,14 +640,6 @@ void SVGActionWriter::ImplWritePolyPolygon( const PolyPolygon& rPolyPoly, sal_Bo
...
@@ -640,14 +640,6 @@ void SVGActionWriter::ImplWritePolyPolygon( const PolyPolygon& rPolyPoly, sal_Bo
else
else
aPolyPoly
=
rPolyPoly
;
aPolyPoly
=
rPolyPoly
;
if
(
mrExport
.
hasClip
()
)
{
const
::
basegfx
::
B2DPolyPolygon
aB2DPolyPoly
(
::
basegfx
::
tools
::
correctOrientations
(
aPolyPoly
.
getB2DPolyPolygon
()
)
);
aPolyPoly
=
PolyPolygon
(
::
basegfx
::
tools
::
clipPolyPolygonOnPolyPolygon
(
*
mrExport
.
getCurClip
(),
aB2DPolyPoly
,
sal_False
,
sal_False
)
);
}
// add path data attribute
// add path data attribute
mrExport
.
AddAttribute
(
XML_NAMESPACE_NONE
,
aXMLAttrD
,
GetPathString
(
aPolyPoly
,
bLineOnly
)
);
mrExport
.
AddAttribute
(
XML_NAMESPACE_NONE
,
aXMLAttrD
,
GetPathString
(
aPolyPoly
,
bLineOnly
)
);
...
...
tools/inc/tools/color.hxx
Dosyayı görüntüle @
05a8ecca
...
@@ -156,7 +156,6 @@ public:
...
@@ -156,7 +156,6 @@ public:
void
IncreaseLuminance
(
sal_uInt8
cLumInc
);
void
IncreaseLuminance
(
sal_uInt8
cLumInc
);
void
DecreaseLuminance
(
sal_uInt8
cLumDec
);
void
DecreaseLuminance
(
sal_uInt8
cLumDec
);
void
IncreaseContrast
(
sal_uInt8
cContInc
);
void
DecreaseContrast
(
sal_uInt8
cContDec
);
void
DecreaseContrast
(
sal_uInt8
cContDec
);
void
Invert
();
void
Invert
();
...
...
tools/source/generic/color.cxx
Dosyayı görüntüle @
05a8ecca
...
@@ -102,21 +102,6 @@ void Color::DecreaseLuminance( sal_uInt8 cLumDec )
...
@@ -102,21 +102,6 @@ void Color::DecreaseLuminance( sal_uInt8 cLumDec )
// -----------------------------------------------------------------------
// -----------------------------------------------------------------------
void
Color
::
IncreaseContrast
(
sal_uInt8
cContInc
)
{
if
(
cContInc
)
{
const
double
fM
=
128.0
/
(
128.0
-
0.4985
*
cContInc
);
const
double
fOff
=
128.0
-
fM
*
128.0
;
SetRed
(
(
sal_uInt8
)
SAL_BOUND
(
_FRound
(
COLORDATA_RED
(
mnColor
)
*
fM
+
fOff
),
0L
,
255L
)
);
SetGreen
(
(
sal_uInt8
)
SAL_BOUND
(
_FRound
(
COLORDATA_GREEN
(
mnColor
)
*
fM
+
fOff
),
0L
,
255L
)
);
SetBlue
(
(
sal_uInt8
)
SAL_BOUND
(
_FRound
(
COLORDATA_BLUE
(
mnColor
)
*
fM
+
fOff
),
0L
,
255L
)
);
}
}
// -----------------------------------------------------------------------
void
Color
::
DecreaseContrast
(
sal_uInt8
cContDec
)
void
Color
::
DecreaseContrast
(
sal_uInt8
cContDec
)
{
{
if
(
cContDec
)
if
(
cContDec
)
...
...
unusedcode.easy
Dosyayı görüntüle @
05a8ecca
...
@@ -55,7 +55,6 @@ CharPosArray::Insert(CharPosArray const*, unsigned short, unsigned short, unsign
...
@@ -55,7 +55,6 @@ CharPosArray::Insert(CharPosArray const*, unsigned short, unsigned short, unsign
CharPosArray::Replace(int const&, unsigned short)
CharPosArray::Replace(int const&, unsigned short)
CharPosArray::Replace(int const*, unsigned short, unsigned short)
CharPosArray::Replace(int const*, unsigned short, unsigned short)
CharPosArray::_ForEach(unsigned short, unsigned short, unsigned char (*)(int const&, void*), void*)
CharPosArray::_ForEach(unsigned short, unsigned short, unsigned char (*)(int const&, void*), void*)
Color::IncreaseContrast(unsigned char)
CurrencyField::ImplLoadRes(ResId const&)
CurrencyField::ImplLoadRes(ResId const&)
CustomToolBarImportHelper::showToolbar(rtl::OUString const&)
CustomToolBarImportHelper::showToolbar(rtl::OUString const&)
DdeGetPutItem::DdeGetPutItem(DdeItem const&)
DdeGetPutItem::DdeGetPutItem(DdeItem const&)
...
@@ -166,8 +165,6 @@ Octree::AddColor(BitmapColor const&)
...
@@ -166,8 +165,6 @@ Octree::AddColor(BitmapColor const&)
Octree::Octree(unsigned long)
Octree::Octree(unsigned long)
OutputDevice::LogicToPixel(PolyPolygon const&, MapMode const&) const
OutputDevice::LogicToPixel(PolyPolygon const&, MapMode const&) const
OutputDevice::PixelToLogic(PolyPolygon const&, MapMode const&) const
OutputDevice::PixelToLogic(PolyPolygon const&, MapMode const&) const
PageSpan::getMarginLeft() const
PageSpan::getMarginRight() const
ParagraphObj::ParagraphObj(ParagraphObj&)
ParagraphObj::ParagraphObj(ParagraphObj&)
ParagraphStyleManager::get(WPXString const&) const
ParagraphStyleManager::get(WPXString const&) const
PathDialog::SetPath(Edit const&)
PathDialog::SetPath(Edit const&)
...
@@ -179,10 +176,6 @@ PropBrwMgr::GetChildWindowId()
...
@@ -179,10 +176,6 @@ PropBrwMgr::GetChildWindowId()
ProposalList::Remove(rtl::OUString const&)
ProposalList::Remove(rtl::OUString const&)
PushButton::GetSymbolAlign() const
PushButton::GetSymbolAlign() const
ResData::Dump()
ResData::Dump()
SVGExport::GetGlyphPlacement() const
SVGExport::IsUseGradient() const
SVGExport::popClip()
SVGExport::pushClip(basegfx::B2DPolyPolygon const&)
SalGraphics::DrawBitmap(SalTwoRect const*, SalBitmap const&, unsigned int, OutputDevice const*)
SalGraphics::DrawBitmap(SalTwoRect const*, SalBitmap const&, unsigned int, OutputDevice const*)
SalGraphics::DrawNativeControlText(unsigned int, unsigned int, Rectangle const&, unsigned int, ImplControlValue const&, rtl::OUString const&, OutputDevice const*)
SalGraphics::DrawNativeControlText(unsigned int, unsigned int, Rectangle const&, unsigned int, ImplControlValue const&, rtl::OUString const&, OutputDevice const*)
SalGraphics::drawAlphaBitmap(SalTwoRect const&, SalBitmap const&, SalBitmap const&)
SalGraphics::drawAlphaBitmap(SalTwoRect const&, SalBitmap const&, SalBitmap const&)
...
...
writerperfect/source/filter/PageSpan.cxx
Dosyayı görüntüle @
05a8ecca
...
@@ -91,22 +91,6 @@ int PageSpan::getSpan() const
...
@@ -91,22 +91,6 @@ int PageSpan::getSpan() const
return
0
;
// should never happen
return
0
;
// should never happen
}
}
double
PageSpan
::
getMarginLeft
()
const
{
if
(
mxPropList
[
"fo:margin-left"
])
return
mxPropList
[
"fo:margin-left"
]
->
getDouble
();
return
0.0
;
}
double
PageSpan
::
getMarginRight
()
const
{
if
(
mxPropList
[
"fo:margin-right"
])
return
mxPropList
[
"fo:margin-right"
]
->
getDouble
();
return
0.0
;
}
void
PageSpan
::
setHeaderContent
(
std
::
vector
<
DocumentElement
*>
*
pHeaderContent
)
void
PageSpan
::
setHeaderContent
(
std
::
vector
<
DocumentElement
*>
*
pHeaderContent
)
{
{
if
(
mpHeaderContent
)
if
(
mpHeaderContent
)
...
...
writerperfect/source/filter/PageSpan.hxx
Dosyayı görüntüle @
05a8ecca
...
@@ -41,8 +41,6 @@ public:
...
@@ -41,8 +41,6 @@ public:
void
writePageLayout
(
const
int
iNum
,
OdfDocumentHandler
*
pHandler
)
const
;
void
writePageLayout
(
const
int
iNum
,
OdfDocumentHandler
*
pHandler
)
const
;
void
writeMasterPages
(
const
int
iStartingNum
,
const
int
iPageLayoutNum
,
const
bool
bLastPageSpan
,
OdfDocumentHandler
*
pHandler
)
const
;
void
writeMasterPages
(
const
int
iStartingNum
,
const
int
iPageLayoutNum
,
const
bool
bLastPageSpan
,
OdfDocumentHandler
*
pHandler
)
const
;
int
getSpan
()
const
;
int
getSpan
()
const
;
double
getMarginLeft
()
const
;
double
getMarginRight
()
const
;
void
setHeaderContent
(
std
::
vector
<
DocumentElement
*>
*
pHeaderContent
);
void
setHeaderContent
(
std
::
vector
<
DocumentElement
*>
*
pHeaderContent
);
void
setFooterContent
(
std
::
vector
<
DocumentElement
*>
*
pFooterContent
);
void
setFooterContent
(
std
::
vector
<
DocumentElement
*>
*
pFooterContent
);
...
...
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