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
93a364a8
Kaydet (Commit)
93a364a8
authored
Mar 26, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
const_cast: convert some C-style casts and remove some redundant ones
Change-Id: Ic14584cdd1047b2cfc590861b623a7e1e8be4429
üst
0e9f7614
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
+6
-6
xmlHelper.cxx
reportdesign/source/filter/xml/xmlHelper.cxx
+2
-2
xmlStyleImport.cxx
reportdesign/source/filter/xml/xmlStyleImport.cxx
+1
-1
GroupsSorting.cxx
reportdesign/source/ui/dlg/GroupsSorting.cxx
+1
-1
FixedTextColor.cxx
reportdesign/source/ui/report/FixedTextColor.cxx
+1
-1
FormattedFieldBeautifier.cxx
reportdesign/source/ui/report/FormattedFieldBeautifier.cxx
+1
-1
No files found.
reportdesign/source/filter/xml/xmlHelper.cxx
Dosyayı görüntüle @
93a364a8
...
@@ -131,7 +131,7 @@ rtl::Reference < XMLPropertySetMapper > OXMLHelper::GetCellStylePropertyMap(bool
...
@@ -131,7 +131,7 @@ rtl::Reference < XMLPropertySetMapper > OXMLHelper::GetCellStylePropertyMap(bool
MAP_CONST_C_ASCII
(
"BorderBottom"
,
FO
,
BORDER_BOTTOM
,
XML_TYPE_BORDER
,
0
),
MAP_CONST_C_ASCII
(
"BorderBottom"
,
FO
,
BORDER_BOTTOM
,
XML_TYPE_BORDER
,
0
),
MAP_END
()
MAP_END
()
};
};
return
new
XMLPropertySetMapper
(
(
XMLPropertyMapEntry
*
)
s_aXMLCellStylesProperties
,
new
OPropertyHandlerFactory
(),
bForExport
);
return
new
XMLPropertySetMapper
(
s_aXMLCellStylesProperties
,
new
OPropertyHandlerFactory
(),
bForExport
);
}
}
else
else
{
{
...
@@ -151,7 +151,7 @@ rtl::Reference < XMLPropertySetMapper > OXMLHelper::GetCellStylePropertyMap(bool
...
@@ -151,7 +151,7 @@ rtl::Reference < XMLPropertySetMapper > OXMLHelper::GetCellStylePropertyMap(bool
MAP_CONST_C_ASCII
(
"BorderBottom"
,
FO
,
BORDER_BOTTOM
,
XML_TYPE_BORDER
,
0
),
MAP_CONST_C_ASCII
(
"BorderBottom"
,
FO
,
BORDER_BOTTOM
,
XML_TYPE_BORDER
,
0
),
MAP_END
()
MAP_END
()
};
};
return
new
XMLPropertySetMapper
(
(
XMLPropertyMapEntry
*
)
s_aXMLCellStylesProperties
,
new
OPropertyHandlerFactory
(),
bForExport
);
return
new
XMLPropertySetMapper
(
s_aXMLCellStylesProperties
,
new
OPropertyHandlerFactory
(),
bForExport
);
}
}
}
}
...
...
reportdesign/source/filter/xml/xmlStyleImport.cxx
Dosyayı görüntüle @
93a364a8
...
@@ -336,7 +336,7 @@ Reference < XNameContainer >
...
@@ -336,7 +336,7 @@ Reference < XNameContainer >
}
}
break
;
break
;
case
XML_STYLE_FAMILY_SD_GRAPHICS_ID
:
case
XML_STYLE_FAMILY_SD_GRAPHICS_ID
:
xStyles
=
((
SvXMLImport
*
)
&
GetImport
())
->
GetTextImport
()
->
GetFrameStyles
();
xStyles
=
const_cast
<
SvXMLImport
*>
(
&
GetImport
())
->
GetTextImport
()
->
GetFrameStyles
();
break
;
break
;
default
:
default
:
OSL_FAIL
(
"OReportStylesContext::CreateStyleStyleChildContext: Unknown style family. PLease check."
);
OSL_FAIL
(
"OReportStylesContext::CreateStyleStyleChildContext: Unknown style family. PLease check."
);
...
...
reportdesign/source/ui/dlg/GroupsSorting.cxx
Dosyayı görüntüle @
93a364a8
...
@@ -548,7 +548,7 @@ bool OFieldExpressionControl::SeekRow( long _nRow )
...
@@ -548,7 +548,7 @@ bool OFieldExpressionControl::SeekRow( long _nRow )
void
OFieldExpressionControl
::
PaintCell
(
OutputDevice
&
rDev
,
const
Rectangle
&
rRect
,
sal_uInt16
nColumnId
)
const
void
OFieldExpressionControl
::
PaintCell
(
OutputDevice
&
rDev
,
const
Rectangle
&
rRect
,
sal_uInt16
nColumnId
)
const
{
{
OUString
aText
=
const_cast
<
OFieldExpressionControl
*>
(
this
)
->
GetCellText
(
m_nCurrentPos
,
nColumnId
);
OUString
aText
=
GetCellText
(
m_nCurrentPos
,
nColumnId
);
Point
aPos
(
rRect
.
TopLeft
()
);
Point
aPos
(
rRect
.
TopLeft
()
);
Size
aTextSize
(
GetDataWindow
().
GetTextWidth
(
aText
),
GetDataWindow
().
GetTextHeight
()
);
Size
aTextSize
(
GetDataWindow
().
GetTextWidth
(
aText
),
GetDataWindow
().
GetTextHeight
()
);
...
...
reportdesign/source/ui/report/FixedTextColor.cxx
Dosyayı görüntüle @
93a364a8
...
@@ -157,7 +157,7 @@ namespace rptui
...
@@ -157,7 +157,7 @@ namespace rptui
{
{
uno
::
Reference
<
awt
::
XControl
>
xControl
;
uno
::
Reference
<
awt
::
XControl
>
xControl
;
OReportController
*
pController
=
(
OReportController
*
)
&
m_rReportController
;
OReportController
*
pController
=
const_cast
<
OReportController
*>
(
&
m_rReportController
)
;
::
boost
::
shared_ptr
<
OReportModel
>
pModel
=
pController
->
getSdrModel
();
::
boost
::
shared_ptr
<
OReportModel
>
pModel
=
pController
->
getSdrModel
();
...
...
reportdesign/source/ui/report/FormattedFieldBeautifier.cxx
Dosyayı görüntüle @
93a364a8
...
@@ -160,7 +160,7 @@ namespace rptui
...
@@ -160,7 +160,7 @@ namespace rptui
{
{
uno
::
Reference
<
awt
::
XVclWindowPeer
>
xVclWindowPeer
;
uno
::
Reference
<
awt
::
XVclWindowPeer
>
xVclWindowPeer
;
::
boost
::
shared_ptr
<
OReportModel
>
pModel
=
const_cast
<
OReportController
&
>
(
m_rReportController
)
.
getSdrModel
();
::
boost
::
shared_ptr
<
OReportModel
>
pModel
=
m_rReportController
.
getSdrModel
();
uno
::
Reference
<
report
::
XSection
>
xSection
(
_xComponent
->
getSection
());
uno
::
Reference
<
report
::
XSection
>
xSection
(
_xComponent
->
getSection
());
if
(
xSection
.
is
()
)
if
(
xSection
.
is
()
)
...
...
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