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
183f260e
Kaydet (Commit)
183f260e
authored
Eyl 25, 2013
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert FORMS modules from String to OUString
Change-Id: Iadb3638b03e1a9712553ea5e4c041493d4e1656a
üst
ec79a0ca
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
23 additions
and
23 deletions
+23
-23
Currency.cxx
forms/source/component/Currency.cxx
+4
-4
Filter.cxx
forms/source/component/Filter.cxx
+1
-1
clickableimage.cxx
forms/source/component/clickableimage.cxx
+3
-3
richtextengine.cxx
forms/source/richtext/richtextengine.cxx
+2
-2
richtextimplcontrol.cxx
forms/source/richtext/richtextimplcontrol.cxx
+1
-1
richtextvclcontrol.cxx
forms/source/richtext/richtextvclcontrol.cxx
+3
-3
navtoolbar.cxx
forms/source/solar/control/navtoolbar.cxx
+9
-9
No files found.
forms/source/component/Currency.cxx
Dosyayı görüntüle @
183f260e
...
...
@@ -104,19 +104,19 @@ void OCurrencyModel::implConstruct()
switch
(
aLocaleInfo
.
getCurrPositiveFormat
()
)
{
case
0
:
// $1
sCurrencySymbol
=
String
(
aLocaleInfo
.
getCurrSymbol
()
);
sCurrencySymbol
=
aLocaleInfo
.
getCurrSymbol
(
);
bPrependCurrencySymbol
=
sal_True
;
break
;
case
1
:
// 1$
sCurrencySymbol
=
String
(
aLocaleInfo
.
getCurrSymbol
()
);
sCurrencySymbol
=
aLocaleInfo
.
getCurrSymbol
(
);
bPrependCurrencySymbol
=
sal_False
;
break
;
case
2
:
// $ 1
sCurrencySymbol
=
OUString
(
String
(
aLocaleInfo
.
getCurrSymbol
()))
+
OUString
(
" "
)
;
sCurrencySymbol
=
aLocaleInfo
.
getCurrSymbol
()
+
" "
;
bPrependCurrencySymbol
=
sal_True
;
break
;
case
3
:
// 1 $
sCurrencySymbol
=
OUString
(
" "
)
+
OUString
(
String
(
aLocaleInfo
.
getCurrSymbol
())
);
sCurrencySymbol
=
" "
+
aLocaleInfo
.
getCurrSymbol
(
);
bPrependCurrencySymbol
=
sal_False
;
break
;
}
...
...
forms/source/component/Filter.cxx
Dosyayı görüntüle @
183f260e
...
...
@@ -535,7 +535,7 @@ namespace frm
{
// display the error and outta here
SQLContext
aError
;
aError
.
Message
=
String
(
FRM_RES_STRING
(
RID_STR_SYNTAXERROR
)
);
aError
.
Message
=
FRM_RES_STRING
(
RID_STR_SYNTAXERROR
);
aError
.
Details
=
sErrorMessage
;
displayException
(
aError
);
return
sal_False
;
...
...
forms/source/component/clickableimage.cxx
Dosyayı görüntüle @
183f260e
...
...
@@ -688,7 +688,7 @@ namespace frm
pImgProd
->
SetImage
(
sURL
);
else
// caution: the medium may be NULL if somebody gave us a invalid URL to work with
pImgProd
->
SetImage
(
String
());
pImgProd
->
SetImage
(
OU
String
());
m_bDownloading
=
sal_False
;
return
;
}
...
...
@@ -702,7 +702,7 @@ namespace frm
}
else
{
pImgProd
->
SetImage
(
String
());
pImgProd
->
SetImage
(
OU
String
());
delete
m_pMedium
;
m_pMedium
=
0
;
m_bDownloading
=
sal_False
;
...
...
@@ -715,7 +715,7 @@ namespace frm
if
(
m_pMedium
||
rURL
.
isEmpty
())
{
// Den Stream am Producer freigeben, bevor das Medium geloscht wird.
GetImageProducer
()
->
SetImage
(
String
());
GetImageProducer
()
->
SetImage
(
OU
String
());
delete
m_pMedium
;
m_pMedium
=
NULL
;
}
...
...
forms/source/richtext/richtextengine.cxx
Dosyayı görüntüle @
183f260e
...
...
@@ -59,8 +59,8 @@ namespace frm
// defaults
Font
aFont
=
Application
::
GetSettings
().
GetStyleSettings
().
GetAppFont
();
aFont
.
SetName
(
String
(
"Times New Roman"
)
);
pPool
->
SetPoolDefaultItem
(
SvxFontItem
(
aFont
.
GetFamily
(),
aFont
.
GetName
(),
String
(),
aFont
.
GetPitch
(),
aFont
.
GetCharSet
(),
EE_CHAR_FONTINFO
)
);
aFont
.
SetName
(
"Times New Roman"
);
pPool
->
SetPoolDefaultItem
(
SvxFontItem
(
aFont
.
GetFamily
(),
aFont
.
GetName
(),
OU
String
(),
aFont
.
GetPitch
(),
aFont
.
GetCharSet
(),
EE_CHAR_FONTINFO
)
);
// 12 pt font size
MapMode
aPointMapMode
(
MAP_POINT
);
...
...
forms/source/richtext/richtextimplcontrol.cxx
Dosyayı görüntüle @
183f260e
...
...
@@ -468,7 +468,7 @@ namespace frm
{
m_pViewport
->
Push
(
PUSH_FONT
);
m_pViewport
->
SetFont
(
m_pEngine
->
GetStandardFont
(
0
)
);
nFontWidth
=
m_pViewport
->
GetTextWidth
(
String
(
"x"
)
);
nFontWidth
=
m_pViewport
->
GetTextWidth
(
"x"
);
m_pViewport
->
Pop
();
}
// ... is the scroll size for the horizontal scrollbar
...
...
forms/source/richtext/richtextvclcontrol.cxx
Dosyayı görüntüle @
183f260e
...
...
@@ -249,17 +249,17 @@ namespace frm
ErrCode
nResult
=
aFP
.
Execute
();
if
(
nResult
==
0
)
{
String
sFileName
=
aFP
.
GetPath
();
OU
String
sFileName
=
aFP
.
GetPath
();
SvStream
*
pStream
=
::
utl
::
UcbStreamHelper
::
CreateStream
(
sFileName
,
(
bLoad
?
STREAM_READ
:
STREAM_WRITE
|
STREAM_TRUNC
)
|
STREAM_SHARE_DENYALL
);
if
(
pStream
)
{
EETextFormat
eFormat
=
EE_FORMAT_XML
;
String
sFilter
=
aFP
.
GetCurrentFilter
();
OU
String
sFilter
=
aFP
.
GetCurrentFilter
();
for
(
size_t
i
=
0
;
i
<
SAL_N_ELEMENTS
(
aExportFormats
);
++
i
)
{
if
(
sFilter
.
E
qualsAscii
(
aExportFormats
[
i
].
pDescription
)
)
if
(
sFilter
.
e
qualsAscii
(
aExportFormats
[
i
].
pDescription
)
)
{
eFormat
=
aExportFormats
[
i
].
eFormat
;
break
;
...
...
forms/source/solar/control/navtoolbar.cxx
Dosyayı görüntüle @
183f260e
...
...
@@ -55,11 +55,11 @@ namespace frm
||
(
_nFeatureId
==
LID_RECORD_FILLER
);
}
static
String
getLabelString
(
sal_uInt16
_nResId
)
static
OU
String
getLabelString
(
sal_uInt16
_nResId
)
{
String
sLabel
=
OUString
(
" "
);
sLabel
+=
String
(
FRM_RES_STRING
(
_nResId
)
);
sLabel
+=
OUString
(
" "
)
;
OUString
sLabel
(
" "
);
sLabel
+=
FRM_RES_STRING
(
_nResId
);
sLabel
+=
" "
;
return
sLabel
;
}
...
...
@@ -294,8 +294,8 @@ namespace frm
{
// it's _not_ a separator
// insert the entry
m_pToolbar
->
InsertItem
(
pSupportedFeatures
->
nId
,
String
(),
pSupportedFeatures
->
bRepeat
?
TIB_REPEAT
:
0
);
m_pToolbar
->
SetQuickHelpText
(
pSupportedFeatures
->
nId
,
String
()
);
// TODO
m_pToolbar
->
InsertItem
(
pSupportedFeatures
->
nId
,
OU
String
(),
pSupportedFeatures
->
bRepeat
?
TIB_REPEAT
:
0
);
m_pToolbar
->
SetQuickHelpText
(
pSupportedFeatures
->
nId
,
OU
String
()
);
// TODO
if
(
!
isArtificialItem
(
pSupportedFeatures
->
nId
)
)
{
...
...
@@ -622,7 +622,7 @@ namespace frm
//---------------------------------------------------------------------
void
NavigationToolBar
::
adjustItemWindowWidth
(
sal_uInt16
_nItemId
,
Window
*
_pItemWindow
,
const
void
*
/* _pParam */
)
const
{
String
sItemText
;
OU
String
sItemText
;
switch
(
_nItemId
)
{
case
LID_RECORD_LABEL
:
...
...
@@ -634,11 +634,11 @@ namespace frm
break
;
case
FormFeature
:
:
MoveAbsolute
:
sItemText
=
OUString
(
"12345678"
)
;
sItemText
=
"12345678"
;
break
;
case
FormFeature
:
:
TotalRecords
:
sItemText
=
OUString
(
"123456"
)
;
sItemText
=
"123456"
;
break
;
}
...
...
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