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
c57535fe
Kaydet (Commit)
c57535fe
authored
Mar 15, 2014
tarafından
Matteo Casalin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sal_Bool to bool
Change-Id: I01986d22cfc6544cbad39c3276d272d0520e3f53
üst
2b4c01c2
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
25 additions
and
25 deletions
+25
-25
ndgrf.hxx
sw/inc/ndgrf.hxx
+2
-2
ndnotxt.hxx
sw/inc/ndnotxt.hxx
+2
-2
ndole.hxx
sw/inc/ndole.hxx
+2
-2
ndnotxt.cxx
sw/source/core/docnode/ndnotxt.cxx
+4
-4
ndgrf.cxx
sw/source/core/graphic/ndgrf.cxx
+6
-6
ndole.cxx
sw/source/core/ole/ndole.cxx
+9
-9
No files found.
sw/inc/ndgrf.hxx
Dosyayı görüntüle @
c57535fe
...
...
@@ -180,8 +180,8 @@ public:
bool
IsSelected
()
const
;
/// Communicate to graphic that node is in Undo-range.
virtual
sal_B
ool
SavePersistentData
();
virtual
sal_B
ool
RestorePersistentData
();
virtual
b
ool
SavePersistentData
();
virtual
b
ool
RestorePersistentData
();
/// Query link-data.
bool
IsGrfLink
()
const
{
return
refLink
.
Is
();
}
...
...
sw/inc/ndnotxt.hxx
Dosyayı görüntüle @
c57535fe
...
...
@@ -57,8 +57,8 @@ public:
virtual
Size
GetTwipSize
()
const
=
0
;
virtual
sal_B
ool
SavePersistentData
();
virtual
sal_B
ool
RestorePersistentData
();
virtual
b
ool
SavePersistentData
();
virtual
b
ool
RestorePersistentData
();
OUString
GetTitle
()
const
;
void
SetTitle
(
const
OUString
&
rTitle
,
bool
bBroadcast
=
false
);
...
...
sw/inc/ndole.hxx
Dosyayı görüntüle @
c57535fe
...
...
@@ -111,8 +111,8 @@ public:
void
GetNewReplacement
();
virtual
sal_B
ool
SavePersistentData
();
virtual
sal_B
ool
RestorePersistentData
();
virtual
b
ool
SavePersistentData
();
virtual
b
ool
RestorePersistentData
();
sal_Bool
IsInGlobalDocSection
()
const
;
sal_Bool
IsOLEObjectDeleted
()
const
;
...
...
sw/source/core/docnode/ndnotxt.cxx
Dosyayı görüntüle @
c57535fe
...
...
@@ -75,14 +75,14 @@ void SwNoTxtNode::NewAttrSet( SwAttrPool& rPool )
/// Dummies for loading/saving of persistent data
/// when working with graphics and OLE objects
sal_B
ool
SwNoTxtNode
::
RestorePersistentData
()
b
ool
SwNoTxtNode
::
RestorePersistentData
()
{
return
sal_T
rue
;
return
t
rue
;
}
sal_B
ool
SwNoTxtNode
::
SavePersistentData
()
b
ool
SwNoTxtNode
::
SavePersistentData
()
{
return
sal_T
rue
;
return
t
rue
;
}
void
SwNoTxtNode
::
SetContour
(
const
PolyPolygon
*
pPoly
,
sal_Bool
bAutomatic
)
...
...
sw/source/core/graphic/ndgrf.cxx
Dosyayı görüntüle @
c57535fe
...
...
@@ -655,18 +655,18 @@ bool SwGrfNode::GetFileFilterNms( OUString* pFileNm, OUString* pFilterNm ) const
*
* If it is already in storage, it needs to be loaded.
*/
sal_B
ool
SwGrfNode
::
SavePersistentData
()
b
ool
SwGrfNode
::
SavePersistentData
()
{
if
(
refLink
.
Is
()
)
{
OSL_ENSURE
(
!
bInSwapIn
,
"SavePersistentData: I am still in SwapIn"
);
GetDoc
()
->
GetLinkManager
().
Remove
(
refLink
);
return
sal_T
rue
;
return
t
rue
;
}
// swap in first if already in storage
if
(
HasStreamName
()
&&
!
SwapIn
()
)
return
sal_F
alse
;
return
f
alse
;
// #i44367#
// Do not delete graphic file in storage, because the graphic file could
...
...
@@ -680,10 +680,10 @@ sal_Bool SwGrfNode::SavePersistentData()
// Important note: see also fix for #i40014#
// swap out into temp file
return
(
sal_Bool
)
SwapOut
();
return
SwapOut
();
}
sal_B
ool
SwGrfNode
::
RestorePersistentData
()
b
ool
SwGrfNode
::
RestorePersistentData
()
{
if
(
refLink
.
Is
()
)
{
...
...
@@ -693,7 +693,7 @@ sal_Bool SwGrfNode::RestorePersistentData()
if
(
getIDocumentLayoutAccess
()
->
GetCurrentLayout
()
)
refLink
->
Update
();
}
return
sal_T
rue
;
return
t
rue
;
}
void
SwGrfNode
::
InsertLink
(
const
OUString
&
rGrfName
,
const
OUString
&
rFltName
)
...
...
sw/source/core/ole/ndole.cxx
Dosyayı görüntüle @
c57535fe
...
...
@@ -266,7 +266,7 @@ SwCntntNode *SwOLENode::SplitCntntNode( const SwPosition & )
// Laden eines in den Undo-Bereich verschobenen OLE-Objekts
sal_B
ool
SwOLENode
::
RestorePersistentData
()
b
ool
SwOLENode
::
RestorePersistentData
()
{
OSL_ENSURE
(
aOLEObj
.
GetOleRef
().
is
(),
"No object to restore!"
);
if
(
aOLEObj
.
xOLERef
.
is
()
)
...
...
@@ -302,11 +302,11 @@ sal_Bool SwOLENode::RestorePersistentData()
}
}
return
sal_T
rue
;
return
t
rue
;
}
// OLE object is transported into UNDO area
sal_B
ool
SwOLENode
::
SavePersistentData
()
b
ool
SwOLENode
::
SavePersistentData
()
{
if
(
aOLEObj
.
xOLERef
.
is
()
)
{
...
...
@@ -337,18 +337,18 @@ sal_Bool SwOLENode::SavePersistentData()
Resolution:
In pCnt->RemoveEmbeddedObject in SaveSection process of table chart, only remove the object from the object container,
without removing it's storage and graphic stream. The chart already removed from formatter.> */
sal_Bool
bChartWithInternalProvider
=
sal_False
;
sal_Bool
bKeepObjectToTempStorage
=
sal_True
;
bool
bChartWithInternalProvider
=
false
;
uno
::
Reference
<
embed
::
XEmbeddedObject
>
xIP
=
GetOLEObj
().
GetOleRef
();
if
(
svt
::
EmbeddedObjectRef
::
TryRunningState
(
xIP
)
)
{
uno
::
Reference
<
chart2
::
XChartDocument
>
xChart
(
xIP
->
getComponent
(),
UNO_QUERY
);
if
(
xChart
.
is
()
&&
xChart
->
hasInternalDataProvider
()
)
bChartWithInternalProvider
=
sal_T
rue
;
bChartWithInternalProvider
=
t
rue
;
}
if
(
IsChart
()
&&
!
sChartTblName
.
isEmpty
()
&&
!
bChartWithInternalProvider
)
bKeepObjectToTempStorage
=
sal_False
;
const
bool
bKeepObjectToTempStorage
=
!
IsChart
()
||
sChartTblName
.
isEmpty
()
||
bChartWithInternalProvider
;
pCnt
->
RemoveEmbeddedObject
(
aOLEObj
.
aName
,
false
,
bKeepObjectToTempStorage
);
// modify end
...
...
@@ -368,7 +368,7 @@ sal_Bool SwOLENode::SavePersistentData()
DisconnectFileLink_Impl
();
return
sal_T
rue
;
return
t
rue
;
}
SwOLENode
*
SwNodes
::
MakeOLENode
(
const
SwNodeIndex
&
rWhere
,
...
...
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