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
ffdb3bf0
Kaydet (Commit)
ffdb3bf0
authored
Kas 13, 2000
tarafından
jp
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
must changes: use Search from SvtPathOptions
üst
7b2779ca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
21 deletions
+4
-21
tblafmt.cxx
sw/source/core/doc/tblafmt.cxx
+4
-21
No files found.
sw/source/core/doc/tblafmt.cxx
Dosyayı görüntüle @
ffdb3bf0
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: tblafmt.cxx,v $
* $RCSfile: tblafmt.cxx,v $
*
*
* $Revision: 1.
2
$
* $Revision: 1.
3
$
*
*
* last change: $Author: jp $ $Date: 2000-1
0-06 13:06:03
$
* last change: $Author: jp $ $Date: 2000-1
1-13 10:30:28
$
*
*
* The Contents of this file are made available subject to the terms of
* The Contents of this file are made available subject to the terms of
* either of the following licenses
* either of the following licenses
...
@@ -795,24 +795,6 @@ BOOL SwTableAutoFmt::Save( SvStream& rStream ) const
...
@@ -795,24 +795,6 @@ BOOL SwTableAutoFmt::Save( SvStream& rStream ) const
BOOL
b
;
BOOL
b
;
rStream
<<
nVal
;
rStream
<<
nVal
;
rStream
.
WriteByteString
(
aName
,
rStream
.
GetStreamCharSet
()
);
rStream
.
WriteByteString
(
aName
,
rStream
.
GetStreamCharSet
()
);
if
(
USHRT_MAX
==
nStrResId
&&
0
!=
SFX_INIMANAGER
()
->
Get
(
SFX_GROUP_WORKINGSET_IMPL
,
String
::
CreateFromAscii
(
RTL_CONSTASCII_STRINGPARAM
(
"SaveTableAutoFmtNameId"
))).
ToInt32
())
{
// check Name for ResId
for
(
USHORT
nId
=
RID_SVXSTR_TBLAFMT_BEGIN
;
RID_SVXSTR_TBLAFMT_END
>
nId
;
++
nId
)
{
String
s
(
SVX_RES
(
nId
)
);
if
(
s
==
aName
)
{
SwTableAutoFmt
*
pThis
=
(
SwTableAutoFmt
*
)
this
;
pThis
->
nStrResId
=
nId
-
RID_SVXSTR_TBLAFMT_BEGIN
;
break
;
}
}
}
rStream
<<
nStrResId
;
rStream
<<
nStrResId
;
rStream
<<
(
b
=
bInclFont
);
rStream
<<
(
b
=
bInclFont
);
rStream
<<
(
b
=
bInclJustify
);
rStream
<<
(
b
=
bInclJustify
);
...
@@ -902,7 +884,8 @@ BOOL SwTableAutoFmtTbl::Load()
...
@@ -902,7 +884,8 @@ BOOL SwTableAutoFmtTbl::Load()
BOOL
bRet
=
FALSE
;
BOOL
bRet
=
FALSE
;
String
sNm
(
String
::
CreateFromAscii
(
String
sNm
(
String
::
CreateFromAscii
(
RTL_CONSTASCII_STRINGPARAM
(
sAutoTblFmtName
)));
RTL_CONSTASCII_STRINGPARAM
(
sAutoTblFmtName
)));
if
(
SFX_INIMANAGER
()
->
SearchFile
(
sNm
,
SFX_KEY_USERCONFIG_PATH
))
SvtPathOptions
aOpt
;
if
(
aOpt
.
SearchFile
(
sNm
,
SvtPathOptions
::
PATH_USERCONFIG
))
{
{
SfxMedium
aStream
(
sNm
,
STREAM_STD_READ
,
TRUE
);
SfxMedium
aStream
(
sNm
,
STREAM_STD_READ
,
TRUE
);
bRet
=
Load
(
*
aStream
.
GetInStream
()
);
bRet
=
Load
(
*
aStream
.
GetInStream
()
);
...
...
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