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
300c8917
Kaydet (Commit)
300c8917
authored
Ock 17, 2014
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sal_Bool->bool
Change-Id: Iba9022efc96bf4e28e05305af089df4342d172fe
üst
b6738a43
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
autoform.hxx
sc/inc/autoform.hxx
+2
-2
autoform.cxx
sc/source/core/tool/autoform.cxx
+4
-4
No files found.
sc/inc/autoform.hxx
Dosyayı görüntüle @
300c8917
...
@@ -244,8 +244,8 @@ public:
...
@@ -244,8 +244,8 @@ public:
void
SetRotateAngle
(
const
SfxInt32Item
&
rRotateAngle
)
{
aRotateAngle
.
SetValue
(
rRotateAngle
.
GetValue
()
);
}
void
SetRotateAngle
(
const
SfxInt32Item
&
rRotateAngle
)
{
aRotateAngle
.
SetValue
(
rRotateAngle
.
GetValue
()
);
}
void
SetRotateMode
(
const
SvxRotateModeItem
&
rRotateMode
)
{
aRotateMode
.
SetValue
(
rRotateMode
.
GetValue
()
);
}
void
SetRotateMode
(
const
SvxRotateModeItem
&
rRotateMode
)
{
aRotateMode
.
SetValue
(
rRotateMode
.
GetValue
()
);
}
sal_Bool
Load
(
SvStream
&
rStream
,
const
ScAfVersions
&
rVersions
,
sal_uInt16
nVer
);
bool
Load
(
SvStream
&
rStream
,
const
ScAfVersions
&
rVersions
,
sal_uInt16
nVer
);
sal_Bool
Save
(
SvStream
&
rStream
,
sal_uInt16
fileVersion
);
bool
Save
(
SvStream
&
rStream
,
sal_uInt16
fileVersion
);
};
};
...
...
sc/source/core/tool/autoform.cxx
Dosyayı görüntüle @
300c8917
...
@@ -292,7 +292,7 @@ void ScAutoFormatDataField::SetAdjust( const SvxAdjustItem& rAdjust )
...
@@ -292,7 +292,7 @@ void ScAutoFormatDataField::SetAdjust( const SvxAdjustItem& rAdjust )
aItem = *(ItemType*)pNew; \
aItem = *(ItemType*)pNew; \
delete pNew;
delete pNew;
sal_B
ool
ScAutoFormatDataField
::
Load
(
SvStream
&
rStream
,
const
ScAfVersions
&
rVersions
,
sal_uInt16
nVer
)
b
ool
ScAutoFormatDataField
::
Load
(
SvStream
&
rStream
,
const
ScAfVersions
&
rVersions
,
sal_uInt16
nVer
)
{
{
SfxPoolItem
*
pNew
;
SfxPoolItem
*
pNew
;
SvxOrientationItem
aOrientation
(
SVX_ORIENTATION_STANDARD
,
0
);
SvxOrientationItem
aOrientation
(
SVX_ORIENTATION_STANDARD
,
0
);
...
@@ -378,7 +378,7 @@ sal_Bool ScAutoFormatDataField::Load( SvStream& rStream, const ScAfVersions& rVe
...
@@ -378,7 +378,7 @@ sal_Bool ScAutoFormatDataField::Load( SvStream& rStream, const ScAfVersions& rVe
return
(
rStream
.
GetError
()
==
0
);
return
(
rStream
.
GetError
()
==
0
);
}
}
sal_B
ool
ScAutoFormatDataField
::
Save
(
SvStream
&
rStream
,
sal_uInt16
fileVersion
)
b
ool
ScAutoFormatDataField
::
Save
(
SvStream
&
rStream
,
sal_uInt16
fileVersion
)
{
{
SvxOrientationItem
aOrientation
(
aRotateAngle
.
GetValue
(),
aStacked
.
GetValue
(),
0
);
SvxOrientationItem
aOrientation
(
aRotateAngle
.
GetValue
(),
aStacked
.
GetValue
(),
0
);
...
@@ -791,7 +791,7 @@ bool ScAutoFormatData::Load( SvStream& rStream, const ScAfVersions& rVersions )
...
@@ -791,7 +791,7 @@ bool ScAutoFormatData::Load( SvStream& rStream, const ScAfVersions& rVersions )
bool
ScAutoFormatData
::
Save
(
SvStream
&
rStream
,
sal_uInt16
fileVersion
)
bool
ScAutoFormatData
::
Save
(
SvStream
&
rStream
,
sal_uInt16
fileVersion
)
{
{
sal_uInt16
nVal
=
AUTOFORMAT_DATA_ID
;
sal_uInt16
nVal
=
AUTOFORMAT_DATA_ID
;
sal_B
ool
b
;
b
ool
b
;
rStream
.
WriteUInt16
(
nVal
);
rStream
.
WriteUInt16
(
nVal
);
// --- from 680/dr25 on: store strings as UTF-8
// --- from 680/dr25 on: store strings as UTF-8
write_lenPrefixed_uInt8s_FromOUString
<
sal_uInt16
>
(
rStream
,
aName
,
RTL_TEXTENCODING_UTF8
);
write_lenPrefixed_uInt8s_FromOUString
<
sal_uInt16
>
(
rStream
,
aName
,
RTL_TEXTENCODING_UTF8
);
...
@@ -807,7 +807,7 @@ bool ScAutoFormatData::Save(SvStream& rStream, sal_uInt16 fileVersion)
...
@@ -807,7 +807,7 @@ bool ScAutoFormatData::Save(SvStream& rStream, sal_uInt16 fileVersion)
if
(
fileVersion
>=
SOFFICE_FILEFORMAT_50
)
if
(
fileVersion
>=
SOFFICE_FILEFORMAT_50
)
WriteAutoFormatSwBlob
(
rStream
,
m_swFields
);
WriteAutoFormatSwBlob
(
rStream
,
m_swFields
);
sal_B
ool
bRet
=
0
==
rStream
.
GetError
();
b
ool
bRet
=
0
==
rStream
.
GetError
();
for
(
sal_uInt16
i
=
0
;
bRet
&&
(
i
<
16
);
i
++
)
for
(
sal_uInt16
i
=
0
;
bRet
&&
(
i
<
16
);
i
++
)
bRet
=
GetField
(
i
).
Save
(
rStream
,
fileVersion
);
bRet
=
GetField
(
i
).
Save
(
rStream
,
fileVersion
);
...
...
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