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
7ca3303a
Kaydet (Commit)
7ca3303a
authored
Kas 25, 2014
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin: cstylecast
Change-Id: Idc6c34d8b3cfab35c7dc841a9ff70c218e0282df
üst
643283d4
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
17 additions
and
17 deletions
+17
-17
cellatr.hxx
sw/inc/cellatr.hxx
+1
-1
doc.hxx
sw/inc/doc.hxx
+2
-2
docsh.hxx
sw/inc/docsh.hxx
+1
-1
editsh.hxx
sw/inc/editsh.hxx
+2
-2
fldbas.hxx
sw/inc/fldbas.hxx
+1
-1
frmfmt.hxx
sw/inc/frmfmt.hxx
+3
-3
node.hxx
sw/inc/node.hxx
+3
-3
swddetbl.hxx
sw/inc/swddetbl.hxx
+1
-1
swtable.hxx
sw/inc/swtable.hxx
+1
-1
viewsh.hxx
sw/inc/viewsh.hxx
+2
-2
No files found.
sw/inc/cellatr.hxx
Dosyayı görüntüle @
7ca3303a
...
@@ -71,7 +71,7 @@ public:
...
@@ -71,7 +71,7 @@ public:
SwTableBox
*
GetTableBox
();
SwTableBox
*
GetTableBox
();
const
SwTableBox
*
GetTableBox
()
const
const
SwTableBox
*
GetTableBox
()
const
{
return
((
SwTblBoxFormula
*
)
this
)
->
GetTableBox
();
}
{
return
const_cast
<
SwTblBoxFormula
*>
(
this
)
->
GetTableBox
();
}
void
ChangeState
(
const
SfxPoolItem
*
pItem
);
void
ChangeState
(
const
SfxPoolItem
*
pItem
);
void
Calc
(
SwTblCalcPara
&
rCalcPara
,
double
&
rValue
);
void
Calc
(
SwTblCalcPara
&
rCalcPara
,
double
&
rValue
);
...
...
sw/inc/doc.hxx
Dosyayı görüntüle @
7ca3303a
...
@@ -1691,7 +1691,7 @@ void ClrContourCache();
...
@@ -1691,7 +1691,7 @@ void ClrContourCache();
inline
const
SwTableNode
*
SwDoc
::
IsIdxInTbl
(
const
SwNodeIndex
&
rIdx
)
const
inline
const
SwTableNode
*
SwDoc
::
IsIdxInTbl
(
const
SwNodeIndex
&
rIdx
)
const
{
{
return
((
SwDoc
*
)
this
)
->
IsIdxInTbl
(
rIdx
);
return
static_cast
<
const
SwDoc
*>
(
this
)
->
IsIdxInTbl
(
rIdx
);
}
}
inline
SvNumberFormatter
*
SwDoc
::
GetNumberFormatter
(
bool
bCreate
)
inline
SvNumberFormatter
*
SwDoc
::
GetNumberFormatter
(
bool
bCreate
)
...
@@ -1703,7 +1703,7 @@ inline SvNumberFormatter* SwDoc::GetNumberFormatter( bool bCreate )
...
@@ -1703,7 +1703,7 @@ inline SvNumberFormatter* SwDoc::GetNumberFormatter( bool bCreate )
inline
const
SvNumberFormatter
*
SwDoc
::
GetNumberFormatter
(
bool
bCreate
)
const
inline
const
SvNumberFormatter
*
SwDoc
::
GetNumberFormatter
(
bool
bCreate
)
const
{
{
return
((
SwDoc
*
)
this
)
->
GetNumberFormatter
(
bCreate
);
return
static_cast
<
const
SwDoc
*>
(
this
)
->
GetNumberFormatter
(
bCreate
);
}
}
inline
void
SwDoc
::
SetOLEPrtNotifyPending
(
bool
bSet
)
inline
void
SwDoc
::
SetOLEPrtNotifyPending
(
bool
bSet
)
...
...
sw/inc/docsh.hxx
Dosyayı görüntüle @
7ca3303a
...
@@ -222,7 +222,7 @@ public:
...
@@ -222,7 +222,7 @@ public:
/// For Core - it knows the DocShell but not the WrtShell!
/// For Core - it knows the DocShell but not the WrtShell!
SwFEShell
*
GetFEShell
();
SwFEShell
*
GetFEShell
();
const
SwFEShell
*
GetFEShell
()
const
const
SwFEShell
*
GetFEShell
()
const
{
return
((
SwDocShell
*
)
this
)
->
GetFEShell
();
}
{
return
const_cast
<
SwDocShell
*>
(
this
)
->
GetFEShell
();
}
/// For inserting document.
/// For inserting document.
Reader
*
StartConvertFrom
(
SfxMedium
&
rMedium
,
SwReader
**
ppRdr
,
Reader
*
StartConvertFrom
(
SfxMedium
&
rMedium
,
SwReader
**
ppRdr
,
...
...
sw/inc/editsh.hxx
Dosyayı görüntüle @
7ca3303a
...
@@ -869,7 +869,7 @@ public:
...
@@ -869,7 +869,7 @@ public:
/// Query NumberFormater from document.
/// Query NumberFormater from document.
SvNumberFormatter
*
GetNumberFormatter
();
SvNumberFormatter
*
GetNumberFormatter
();
const
SvNumberFormatter
*
GetNumberFormatter
()
const
const
SvNumberFormatter
*
GetNumberFormatter
()
const
{
return
((
SwEditShell
*
)
this
)
->
GetNumberFormatter
();
}
{
return
const_cast
<
SwEditShell
*>
(
this
)
->
GetNumberFormatter
();
}
/// Interfaces for GlobalDocument.
/// Interfaces for GlobalDocument.
bool
IsGlobalDoc
()
const
;
bool
IsGlobalDoc
()
const
;
...
@@ -955,7 +955,7 @@ private:
...
@@ -955,7 +955,7 @@ private:
};
};
inline
const
sfx2
::
LinkManager
&
SwEditShell
::
GetLinkManager
()
const
inline
const
sfx2
::
LinkManager
&
SwEditShell
::
GetLinkManager
()
const
{
return
((
SwEditShell
*
)
this
)
->
GetLinkManager
();
}
{
return
const_cast
<
SwEditShell
*>
(
this
)
->
GetLinkManager
();
}
/// Class for automated call of Start- and EndAction().
/// Class for automated call of Start- and EndAction().
class
SwActContext
{
class
SwActContext
{
...
...
sw/inc/fldbas.hxx
Dosyayı görüntüle @
7ca3303a
...
@@ -272,7 +272,7 @@ public:
...
@@ -272,7 +272,7 @@ public:
inline
void
SwFieldType
::
UpdateFlds
()
const
inline
void
SwFieldType
::
UpdateFlds
()
const
{
{
((
SwFieldType
*
)
this
)
->
ModifyNotification
(
0
,
0
);
const_cast
<
SwFieldType
*>
(
this
)
->
ModifyNotification
(
0
,
0
);
}
}
/** Base class of all fields.
/** Base class of all fields.
...
...
sw/inc/frmfmt.hxx
Dosyayı görüntüle @
7ca3303a
...
@@ -97,7 +97,7 @@ public:
...
@@ -97,7 +97,7 @@ public:
The UserCall knows its SdrObject. */
The UserCall knows its SdrObject. */
SwContact
*
FindContactObj
();
SwContact
*
FindContactObj
();
const
SwContact
*
FindContactObj
()
const
const
SwContact
*
FindContactObj
()
const
{
return
((
SwFrmFmt
*
)
this
)
->
FindContactObj
();
}
{
return
const_cast
<
SwFrmFmt
*>
(
this
)
->
FindContactObj
();
}
/** @return the SdrObject, that is connected to the ContactObject.
/** @return the SdrObject, that is connected to the ContactObject.
Only DrawFrmFmts are connected to the "real SdrObject". FlyFrmFmts
Only DrawFrmFmts are connected to the "real SdrObject". FlyFrmFmts
...
@@ -105,11 +105,11 @@ public:
...
@@ -105,11 +105,11 @@ public:
"Real SdrObject" has position and a Z-order. */
"Real SdrObject" has position and a Z-order. */
SdrObject
*
FindSdrObject
();
SdrObject
*
FindSdrObject
();
const
SdrObject
*
FindSdrObject
()
const
const
SdrObject
*
FindSdrObject
()
const
{
return
((
SwFrmFmt
*
)
this
)
->
FindSdrObject
();
}
{
return
const_cast
<
SwFrmFmt
*>
(
this
)
->
FindSdrObject
();
}
SdrObject
*
FindRealSdrObject
();
SdrObject
*
FindRealSdrObject
();
const
SdrObject
*
FindRealSdrObject
()
const
const
SdrObject
*
FindRealSdrObject
()
const
{
return
((
SwFrmFmt
*
)
this
)
->
FindRealSdrObject
();
}
{
return
const_cast
<
SwFrmFmt
*>
(
this
)
->
FindRealSdrObject
();
}
bool
IsLowerOf
(
const
SwFrmFmt
&
rFmt
)
const
;
bool
IsLowerOf
(
const
SwFrmFmt
&
rFmt
)
const
;
...
...
sw/inc/node.hxx
Dosyayı görüntüle @
7ca3303a
...
@@ -665,15 +665,15 @@ inline bool SwNode::IsGrfNode() const
...
@@ -665,15 +665,15 @@ inline bool SwNode::IsGrfNode() const
inline
const
SwStartNode
*
SwNode
::
FindSttNodeByType
(
SwStartNodeType
eTyp
)
const
inline
const
SwStartNode
*
SwNode
::
FindSttNodeByType
(
SwStartNodeType
eTyp
)
const
{
{
return
((
SwNode
*
)
this
)
->
FindSttNodeByType
(
eTyp
);
return
const_cast
<
SwNode
*>
(
this
)
->
FindSttNodeByType
(
eTyp
);
}
}
inline
const
SwTableNode
*
SwNode
::
FindTableNode
()
const
inline
const
SwTableNode
*
SwNode
::
FindTableNode
()
const
{
{
return
((
SwNode
*
)
this
)
->
FindTableNode
();
return
const_cast
<
SwNode
*>
(
this
)
->
FindTableNode
();
}
}
inline
const
SwSectionNode
*
SwNode
::
FindSectionNode
()
const
inline
const
SwSectionNode
*
SwNode
::
FindSectionNode
()
const
{
{
return
((
SwNode
*
)
this
)
->
FindSectionNode
();
return
const_cast
<
SwNode
*>
(
this
)
->
FindSectionNode
();
}
}
inline
sal_uLong
SwNode
::
StartOfSectionIndex
()
const
inline
sal_uLong
SwNode
::
StartOfSectionIndex
()
const
{
{
...
...
sw/inc/swddetbl.hxx
Dosyayı görüntüle @
7ca3303a
...
@@ -47,7 +47,7 @@ protected:
...
@@ -47,7 +47,7 @@ protected:
inline
const
SwDDEFieldType
*
SwDDETable
::
GetDDEFldType
()
const
inline
const
SwDDEFieldType
*
SwDDETable
::
GetDDEFldType
()
const
{
{
return
((
SwDDETable
*
)
this
)
->
GetDDEFldType
();
return
const_cast
<
SwDDETable
*>
(
this
)
->
GetDDEFldType
();
}
}
#endif
#endif
...
...
sw/inc/swtable.hxx
Dosyayı görüntüle @
7ca3303a
...
@@ -285,7 +285,7 @@ public:
...
@@ -285,7 +285,7 @@ public:
// Get box, whose start index is set on nBoxStt.
// Get box, whose start index is set on nBoxStt.
SwTableBox
*
GetTblBox
(
sal_uLong
nSttIdx
);
SwTableBox
*
GetTblBox
(
sal_uLong
nSttIdx
);
const
SwTableBox
*
GetTblBox
(
sal_uLong
nSttIdx
)
const
const
SwTableBox
*
GetTblBox
(
sal_uLong
nSttIdx
)
const
{
return
((
SwTable
*
)
this
)
->
GetTblBox
(
nSttIdx
);
}
{
return
const_cast
<
SwTable
*>
(
this
)
->
GetTblBox
(
nSttIdx
);
}
// Returns true if table contains nestings.
// Returns true if table contains nestings.
bool
IsTblComplex
()
const
;
bool
IsTblComplex
()
const
;
...
...
sw/inc/viewsh.hxx
Dosyayı görüntüle @
7ca3303a
...
@@ -473,7 +473,7 @@ public:
...
@@ -473,7 +473,7 @@ public:
// DrawView may be used at UI.
// DrawView may be used at UI.
SdrView
*
GetDrawView
();
SdrView
*
GetDrawView
();
const
SdrView
*
GetDrawView
()
const
{
return
((
SwViewShell
*
)
this
)
->
GetDrawView
();
}
const
SdrView
*
GetDrawView
()
const
{
return
const_cast
<
SwViewShell
*>
(
this
)
->
GetDrawView
();
}
// Take care that MarkList is up-to-date in any case (Bug 57153).
// Take care that MarkList is up-to-date in any case (Bug 57153).
SdrView
*
GetDrawViewWithValidMarkList
();
SdrView
*
GetDrawViewWithValidMarkList
();
...
@@ -613,7 +613,7 @@ inline void SwViewShell::UnlockPaint( bool bVirDev )
...
@@ -613,7 +613,7 @@ inline void SwViewShell::UnlockPaint( bool bVirDev )
}
}
inline
const
SfxItemPool
&
SwViewShell
::
GetAttrPool
()
const
inline
const
SfxItemPool
&
SwViewShell
::
GetAttrPool
()
const
{
{
return
((
SwViewShell
*
)
this
)
->
GetAttrPool
();
return
const_cast
<
SwViewShell
*>
(
this
)
->
GetAttrPool
();
}
}
#endif // INCLUDED_SW_INC_VIEWSH_HXX
#endif // INCLUDED_SW_INC_VIEWSH_HXX
...
...
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