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
4a1c808b
Kaydet (Commit)
4a1c808b
authored
Tem 26, 2013
tarafından
Ivan Timofeev
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
String -> OUString
Change-Id: I244de2137f6a7b26f21de24ff9273c5c3672d12e
üst
3d1360ba
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
19 deletions
+18
-19
workctrl.hxx
sw/source/ui/inc/workctrl.hxx
+2
-2
workctrl.cxx
sw/source/ui/ribbar/workctrl.cxx
+10
-11
textglos.cxx
sw/source/ui/shells/textglos.cxx
+6
-6
No files found.
sw/source/ui/inc/workctrl.hxx
Dosyayı görüntüle @
4a1c808b
...
...
@@ -151,7 +151,7 @@ class SwScrollNaviPopup : public SfxPopupWindow
FixedInfo
aInfoField
;
ImageList
aIList
;
String
sQuickHelp
[
2
*
NID_COUNT
];
OUString
sQuickHelp
[
2
*
NID_COUNT
];
void
ApplyImageList
();
...
...
@@ -179,7 +179,7 @@ class SwNaviImageButton : public ImageButton
{
SwScrollNaviPopup
*
pPopup
;
Image
aImage
;
String
sQuickText
;
OUString
sQuickText
;
SfxPopupWindow
*
pPopupWindow
;
SfxPopupWindow
*
pFloatingWindow
;
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
frame
::
XFrame
>
m_xFrame
;
...
...
sw/source/ui/ribbar/workctrl.cxx
Dosyayı görüntüle @
4a1c808b
...
...
@@ -467,13 +467,13 @@ SwScrollNaviPopup::SwScrollNaviPopup( sal_uInt16 nId, const Reference< XFrame >&
for
(
i
=
0
;
i
<
NID_COUNT
;
i
++
)
{
sal_uInt16
nNaviId
=
aNavigationInsertIds
[
i
];
String
sText
;
OU
String
sText
;
ToolBoxItemBits
nTbxBits
=
0
;
if
((
NID_PREV
!=
nNaviId
)
&&
(
NID_NEXT
!=
nNaviId
))
{
// -2, there's no string for Next/Prev
sal_uInt16
nResStr
=
ST_TBL
-
2
+
nNaviId
-
NID_START
;
sText
=
S
tring
(
SW_RES
(
nResStr
)
);
sText
=
S
W_RESSTR
(
nResStr
);
nTbxBits
=
TIB_CHECKABLE
;
}
aToolBox
.
InsertItem
(
nNaviId
,
sText
,
nTbxBits
);
...
...
@@ -487,7 +487,7 @@ SwScrollNaviPopup::SwScrollNaviPopup( sal_uInt16 nId, const Reference< XFrame >&
// these are global strings
for
(
i
=
0
;
i
<
2
*
NID_COUNT
;
i
++
)
{
sQuickHelp
[
i
]
=
S
tring
(
SW_RES
(
STR_IMGBTN_START
+
i
)
);
sQuickHelp
[
i
]
=
S
W_RESSTR
(
STR_IMGBTN_START
+
i
);
}
Size
aImgSize
=
aIList
.
GetImageSize
();
...
...
@@ -595,7 +595,7 @@ String SwScrollNaviPopup::GetQuickHelpText(sal_Bool bNext)
nResId
+=
SwView
::
GetMoveType
()
-
NID_START
;
if
(
!
bNext
)
nResId
+=
NID_COUNT
;
return
S
tring
(
SW_RES
(
nResId
)
);
return
S
W_RESSTR
(
nResId
);
}
void
SwNaviImageButton
::
Click
()
...
...
@@ -660,7 +660,7 @@ SwNaviImageButton::SwNaviImageButton(
ImageButton
(
pParent
,
SW_RES
(
BTN_NAVI
)),
pPopup
(
0
),
aImage
(
SW_RES
(
IMG_BTN
)),
sQuickText
(
SW_RES
(
ST_QUICK
)),
sQuickText
(
SW_RES
STR
(
ST_QUICK
)),
pPopupWindow
(
0
),
pFloatingWindow
(
0
),
m_xFrame
(
rFrame
)
...
...
@@ -715,8 +715,7 @@ SwZoomBox_Impl::SwZoomBox_Impl(
{
25
,
50
,
75
,
100
,
150
,
200
};
for
(
sal_uInt16
i
=
0
;
i
<
sizeof
(
aZoomValues
)
/
sizeof
(
sal_uInt16
);
i
++
)
{
String
sEntry
=
OUString
::
number
(
aZoomValues
[
i
]);
sEntry
+=
'%'
;
OUString
sEntry
=
OUString
::
number
(
aZoomValues
[
i
])
+
"%"
;
InsertEntry
(
sEntry
);
}
}
...
...
@@ -728,8 +727,8 @@ void SwZoomBox_Impl::Select()
{
if
(
!
IsTravelSelect
()
)
{
String
sEntry
(
comphelper
::
string
::
remove
(
GetText
(),
'%'
));
sal_uInt16
nZoom
=
(
sal_uInt16
)
sEntry
.
T
oInt32
();
OU
String
sEntry
(
comphelper
::
string
::
remove
(
GetText
(),
'%'
));
sal_uInt16
nZoom
=
(
sal_uInt16
)
sEntry
.
t
oInt32
();
if
(
nZoom
<
MINZOOM
)
nZoom
=
MINZOOM
;
if
(
nZoom
>
MAXZOOM
)
...
...
@@ -831,8 +830,8 @@ void SwPreviewZoomControl::StateChanged( sal_uInt16 /*nSID*/,
SwZoomBox_Impl
*
pBox
=
(
SwZoomBox_Impl
*
)
GetToolBox
().
GetItemWindow
(
GetId
()
);
if
(
SFX_ITEM_AVAILABLE
<=
eState
)
{
String
sZoom
(
OUString
::
number
(((
const
SfxUInt16Item
*
)
pState
)
->
GetValue
()));
sZoom
+=
'%'
;
OU
String
sZoom
(
OUString
::
number
(((
const
SfxUInt16Item
*
)
pState
)
->
GetValue
()));
sZoom
+=
"%"
;
pBox
->
SetText
(
sZoom
);
pBox
->
SaveValue
();
}
...
...
sw/source/ui/shells/textglos.cxx
Dosyayı görüntüle @
4a1c808b
...
...
@@ -63,11 +63,11 @@ void SwTextShell::ExecGlossary(SfxRequest &rReq)
case
FN_NEW_GLOSSARY
:
if
(
pItem
&&
pArgs
->
Count
()
==
3
)
{
String
aGroup
=
((
const
SfxStringItem
*
)
pItem
)
->
GetValue
();
String
aName
;
OU
String
aGroup
=
((
const
SfxStringItem
*
)
pItem
)
->
GetValue
();
OU
String
aName
;
if
(
SFX_ITEM_SET
==
pArgs
->
GetItemState
(
FN_PARAM_1
,
sal_False
,
&
pItem
))
aName
=
((
const
SfxStringItem
*
)
pItem
)
->
GetValue
();
String
aShortName
;
OU
String
aShortName
;
if
(
SFX_ITEM_SET
==
pArgs
->
GetItemState
(
FN_PARAM_2
,
sal_False
,
&
pItem
))
aShortName
=
((
const
SfxStringItem
*
)
pItem
)
->
GetValue
();
...
...
@@ -86,7 +86,7 @@ void SwTextShell::ExecGlossary(SfxRequest &rReq)
case
FN_SET_ACT_GLOSSARY
:
if
(
pItem
)
{
String
aGroup
=
((
const
SfxStringItem
*
)
pItem
)
->
GetValue
();
OU
String
aGroup
=
((
const
SfxStringItem
*
)
pItem
)
->
GetValue
();
SwAbstractDialogFactory
*
pFact
=
SwAbstractDialogFactory
::
Create
();
OSL_ENSURE
(
pFact
,
"Dialogdiet fail!"
);
::
GlossarySetActGroup
fnSetActGroup
=
pFact
->
SetGlossaryActGroupFunc
();
...
...
@@ -99,8 +99,8 @@ void SwTextShell::ExecGlossary(SfxRequest &rReq)
{
if
(
pItem
&&
pArgs
->
Count
()
>
1
)
{
String
aGroup
=
((
const
SfxStringItem
*
)
pItem
)
->
GetValue
();
String
aName
;
OU
String
aGroup
=
((
const
SfxStringItem
*
)
pItem
)
->
GetValue
();
OU
String
aName
;
if
(
SFX_ITEM_SET
==
pArgs
->
GetItemState
(
FN_PARAM_1
,
sal_False
,
&
pItem
))
aName
=
((
const
SfxStringItem
*
)
pItem
)
->
GetValue
();
SwAbstractDialogFactory
*
pFact
=
SwAbstractDialogFactory
::
Create
();
...
...
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