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
9b57cc2b
Kaydet (Commit)
9b57cc2b
authored
Eyl 30, 2013
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert sc/source/filter/inc/qpro*.hxx from String to OUString
Change-Id: I5d1f3c1daeee0a08c344c55d5d86d5d618718698
üst
81ea1b55
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
qpro.hxx
sc/source/filter/inc/qpro.hxx
+1
-1
qprostyle.hxx
sc/source/filter/inc/qprostyle.hxx
+2
-2
qpro.cxx
sc/source/filter/qpro/qpro.cxx
+4
-4
No files found.
sc/source/filter/inc/qpro.hxx
Dosyayı görüntüle @
9b57cc2b
...
...
@@ -40,7 +40,7 @@ class ScQProReader : public ScBiffReader
bool
nextRecord
();
sal_uInt16
getId
()
{
return
mnId
;
}
sal_uInt16
getLength
()
{
return
mnLength
;
}
void
readString
(
String
&
rString
,
sal_uInt16
nLength
);
void
readString
(
OU
String
&
rString
,
sal_uInt16
nLength
);
ScQProReader
(
SfxMedium
&
rMedium
);
~
ScQProReader
(){
};
FltError
import
(
ScDocument
*
pDoc
);
...
...
sc/source/filter/inc/qprostyle.hxx
Dosyayı görüntüle @
9b57cc2b
...
...
@@ -38,7 +38,7 @@ class ScQProStyle
sal_uInt8
maFont
[
maxsize
];
sal_uInt16
maFontRecord
[
maxsize
];
sal_uInt16
maFontHeight
[
maxsize
];
String
maFontType
[
maxsize
];
OUString
maFontType
[
maxsize
];
public
:
ScQProStyle
();
...
...
@@ -51,7 +51,7 @@ class ScQProStyle
maFontHeight
[
nIndex
]
=
nPtSize
;
}
}
void
setFontType
(
sal_uInt16
nIndex
,
String
&
aLabel
)
void
setFontType
(
sal_uInt16
nIndex
,
OU
String
&
aLabel
)
{
if
(
nIndex
<
maxsize
)
maFontType
[
nIndex
]
=
aLabel
;
}
void
setAlign
(
sal_uInt16
nIndex
,
sal_uInt8
nData
)
{
if
(
nIndex
<
maxsize
)
maAlign
[
nIndex
]
=
nData
;
}
...
...
sc/source/filter/qpro/qpro.cxx
Dosyayı görüntüle @
9b57cc2b
...
...
@@ -53,7 +53,7 @@ FltError ScQProReader::readSheet( SCTAB nTab, ScDocument* pDoc, ScQProStyle *pSt
switch
(
getId
()
)
{
case
0x000f
:{
// Label cell
String
aLabel
;
OU
String
aLabel
;
*
mpStream
>>
nCol
>>
nDummy
>>
nRow
>>
nStyle
>>
nDummy
;
sal_uInt16
nLen
=
getLength
();
if
(
nLen
>=
7
)
...
...
@@ -190,7 +190,7 @@ FltError ScQProReader::import( ScDocument *pDoc )
case
0x00cf
:{
// Font description
sal_uInt16
nPtSize
,
nFontAttr
;
String
aLabel
;
OU
String
aLabel
;
*
mpStream
>>
nPtSize
>>
nFontAttr
;
pStyleElement
->
setFontRecord
(
j
,
nFontAttr
,
nPtSize
);
sal_uInt16
nLen
=
getLength
();
...
...
@@ -221,12 +221,12 @@ bool ScQProReader::nextRecord()
return
bValue
;
}
void
ScQProReader
::
readString
(
String
&
rString
,
sal_uInt16
nLength
)
void
ScQProReader
::
readString
(
OU
String
&
rString
,
sal_uInt16
nLength
)
{
sal_Char
*
pText
=
new
sal_Char
[
nLength
+
1
];
mpStream
->
Read
(
pText
,
nLength
);
pText
[
nLength
]
=
0
;
rString
=
String
(
pText
,
mpStream
->
GetStreamCharSet
()
);
rString
=
OUString
(
pText
,
nLength
,
mpStream
->
GetStreamCharSet
()
);
delete
[]
pText
;
}
...
...
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