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
d09631bd
Kaydet (Commit)
d09631bd
authored
Agu 19, 2013
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert include/svtools/ctrl*.hxx from String to OUString
Change-Id: I86b78137f02a11c5a2c34930b19cef22acd7ac69
üst
823a6cb8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
15 deletions
+15
-15
ctrlbox.hxx
include/svtools/ctrlbox.hxx
+3
-3
ctrltool.hxx
include/svtools/ctrltool.hxx
+3
-3
ctrlbox.cxx
svtools/source/control/ctrlbox.cxx
+6
-6
ctrltool.cxx
svtools/source/control/ctrltool.cxx
+3
-3
No files found.
include/svtools/ctrlbox.hxx
Dosyayı görüntüle @
d09631bd
...
...
@@ -415,14 +415,14 @@ class SVT_DLLPUBLIC FontNameBox : public ComboBox
private
:
ImplFontList
*
mpFontList
;
sal_Bool
mbWYSIWYG
;
String
maFontMRUEntriesFile
;
OUString
maFontMRUEntriesFile
;
SVT_DLLPRIVATE
void
ImplCalcUserItemSize
();
SVT_DLLPRIVATE
void
ImplDestroyFontList
();
protected
:
void
LoadMRUEntries
(
const
String
&
aFontMRUEntriesFile
,
sal_Unicode
cSep
=
';'
);
void
SaveMRUEntries
(
const
String
&
aFontMRUEntriesFile
,
sal_Unicode
cSep
=
';'
)
const
;
void
LoadMRUEntries
(
const
OU
String
&
aFontMRUEntriesFile
,
sal_Unicode
cSep
=
';'
);
void
SaveMRUEntries
(
const
OU
String
&
aFontMRUEntriesFile
,
sal_Unicode
cSep
=
';'
)
const
;
public
:
FontNameBox
(
Window
*
pParent
,
WinBits
nWinStyle
=
WB_SORT
);
...
...
include/svtools/ctrltool.hxx
Dosyayı görüntüle @
d09631bd
...
...
@@ -228,10 +228,10 @@ public:
sal_uLong
Count
()
const
{
return
mnElem
;
}
sal_Bool
IsEmpty
()
const
{
return
!
mnElem
;
}
long
Name2Size
(
const
String
&
)
const
;
String
Size2Name
(
long
)
const
;
long
Name2Size
(
const
OU
String
&
)
const
;
OUString
Size2Name
(
long
)
const
;
String
GetIndexName
(
sal_uLong
nIndex
)
const
;
OUString
GetIndexName
(
sal_uLong
nIndex
)
const
;
long
GetIndexSize
(
sal_uLong
nIndex
)
const
;
};
...
...
svtools/source/control/ctrlbox.cxx
Dosyayı görüntüle @
d09631bd
...
...
@@ -1072,12 +1072,12 @@ FontNameBox::~FontNameBox()
// -------------------------------------------------------------------
void
FontNameBox
::
SaveMRUEntries
(
const
String
&
aFontMRUEntriesFile
,
sal_Unicode
cSep
)
const
void
FontNameBox
::
SaveMRUEntries
(
const
OU
String
&
aFontMRUEntriesFile
,
sal_Unicode
cSep
)
const
{
OString
aEntries
(
OUStringToOString
(
GetMRUEntries
(
cSep
),
RTL_TEXTENCODING_UTF8
));
if
(
aEntries
.
isEmpty
()
||
!
aFontMRUEntriesFile
.
Len
())
if
(
aEntries
.
isEmpty
()
||
aFontMRUEntriesFile
.
isEmpty
())
return
;
SvFileStream
aStream
;
...
...
@@ -1097,9 +1097,9 @@ void FontNameBox::SaveMRUEntries( const String& aFontMRUEntriesFile, sal_Unicode
// -------------------------------------------------------------------
void
FontNameBox
::
LoadMRUEntries
(
const
String
&
aFontMRUEntriesFile
,
sal_Unicode
cSep
)
void
FontNameBox
::
LoadMRUEntries
(
const
OU
String
&
aFontMRUEntriesFile
,
sal_Unicode
cSep
)
{
if
(
!
aFontMRUEntriesFile
.
Len
()
)
if
(
aFontMRUEntriesFile
.
isEmpty
()
)
return
;
SvFileStream
aStream
(
aFontMRUEntriesFile
,
STREAM_READ
);
...
...
@@ -1126,9 +1126,9 @@ void FontNameBox::InitFontMRUEntriesFile()
rtl
::
Bootstrap
::
expandMacros
(
sUserConfigDir
);
maFontMRUEntriesFile
=
sUserConfigDir
;
if
(
maFontMRUEntriesFile
.
Len
()
)
if
(
!
maFontMRUEntriesFile
.
isEmpty
()
)
{
maFontMRUEntriesFile
.
AppendAscii
(
FONTNAMEBOXMRUENTRIESFILE
)
;
maFontMRUEntriesFile
+=
FONTNAMEBOXMRUENTRIESFILE
;
}
}
...
...
svtools/source/control/ctrltool.cxx
Dosyayı görüntüle @
d09631bd
...
...
@@ -876,7 +876,7 @@ FontSizeNames::FontSizeNames( LanguageType eLanguage )
//------------------------------------------------------------------------
long
FontSizeNames
::
Name2Size
(
const
String
&
rName
)
const
long
FontSizeNames
::
Name2Size
(
const
OU
String
&
rName
)
const
{
if
(
mnElem
)
{
...
...
@@ -894,7 +894,7 @@ long FontSizeNames::Name2Size( const String& rName ) const
//------------------------------------------------------------------------
String
FontSizeNames
::
Size2Name
(
long
nValue
)
const
OU
String
FontSizeNames
::
Size2Name
(
long
nValue
)
const
{
String
aStr
;
...
...
@@ -918,7 +918,7 @@ String FontSizeNames::Size2Name( long nValue ) const
//------------------------------------------------------------------------
String
FontSizeNames
::
GetIndexName
(
sal_uLong
nIndex
)
const
OU
String
FontSizeNames
::
GetIndexName
(
sal_uLong
nIndex
)
const
{
String
aStr
;
...
...
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