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
edffe404
Kaydet (Commit)
edffe404
authored
Agu 20, 2013
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert svtools/source/contnr/imivctl.hxx from String to OUString
Change-Id: Ieac230b495c84b58362e176bf934afea0c391476
üst
ea5cba1f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
17 deletions
+17
-17
imivctl.hxx
svtools/source/contnr/imivctl.hxx
+2
-2
imivctl1.cxx
svtools/source/contnr/imivctl1.cxx
+14
-14
ivctrl.cxx
svtools/source/contnr/ivctrl.cxx
+1
-1
No files found.
svtools/source/contnr/imivctl.hxx
Dosyayı görüntüle @
edffe404
...
...
@@ -411,7 +411,7 @@ public:
SvxIconChoiceCtrlEntry
*
,
const
Point
*
pPos
=
0
,
sal_Bool
bForInplaceEdit
=
sal_False
,
const
String
*
pStr
=
0
const
OU
String
*
pStr
=
0
);
long
CalcBoundingWidth
(
SvxIconChoiceCtrlEntry
*
)
const
;
...
...
@@ -449,7 +449,7 @@ public:
SvxIconChoiceCtrlEntry
*
pEntry
,
sal_uInt16
nPaintFlags
,
OutputDevice
*
pOut
,
const
String
*
pStr
=
0
,
const
OU
String
*
pStr
=
0
,
::
vcl
::
ControlLayoutData
*
_pLayoutData
=
NULL
);
...
...
svtools/source/contnr/imivctl1.cxx
Dosyayı görüntüle @
edffe404
...
...
@@ -1664,11 +1664,11 @@ void SvxIconChoiceCtrl_Impl::PaintEmphasis(
void
SvxIconChoiceCtrl_Impl
::
PaintItem
(
const
Rectangle
&
rRect
,
IcnViewFieldType
eItem
,
SvxIconChoiceCtrlEntry
*
pEntry
,
sal_uInt16
nPaintFlags
,
OutputDevice
*
pOut
,
const
String
*
pStr
,
::
vcl
::
ControlLayoutData
*
_pLayoutData
)
OutputDevice
*
pOut
,
const
OU
String
*
pStr
,
::
vcl
::
ControlLayoutData
*
_pLayoutData
)
{
if
(
eItem
==
IcnViewFieldTypeText
)
{
String
aText
;
OU
String
aText
;
if
(
!
pStr
)
aText
=
pView
->
GetEntryText
(
pEntry
,
sal_False
);
else
...
...
@@ -1786,7 +1786,7 @@ void SvxIconChoiceCtrl_Impl::PaintEntry( SvxIconChoiceCtrlEntry* pEntry, const P
}
*/
String
aEntryText
(
pView
->
GetEntryText
(
pEntry
,
sal_False
)
);
OU
String
aEntryText
(
pView
->
GetEntryText
(
pEntry
,
sal_False
)
);
Rectangle
aTextRect
(
CalcTextRect
(
pEntry
,
&
rPos
,
sal_False
,
&
aEntryText
));
Rectangle
aBmpRect
(
CalcBmpRect
(
pEntry
,
&
rPos
)
);
...
...
@@ -2038,9 +2038,9 @@ Rectangle SvxIconChoiceCtrl_Impl::CalcBmpRect( SvxIconChoiceCtrlEntry* pEntry, c
}
Rectangle
SvxIconChoiceCtrl_Impl
::
CalcTextRect
(
SvxIconChoiceCtrlEntry
*
pEntry
,
const
Point
*
pEntryPos
,
sal_Bool
bEdit
,
const
String
*
pStr
)
const
Point
*
pEntryPos
,
sal_Bool
bEdit
,
const
OU
String
*
pStr
)
{
String
aEntryText
;
OU
String
aEntryText
;
if
(
!
pStr
)
aEntryText
=
pView
->
GetEntryText
(
pEntry
,
bEdit
);
else
...
...
@@ -2557,7 +2557,7 @@ Size SvxIconChoiceCtrl_Impl::GetMinGrid() const
Size
aMinSize
(
aImageSize
);
aMinSize
.
Width
()
+=
2
*
LROFFS_BOUND
;
aMinSize
.
Height
()
+=
TBOFFS_BOUND
;
// single offset is enough (FileDlg)
String
aStrDummy
(
RTL_CONSTASCII_USTRINGPARAM
(
"XXX"
)
);
OUString
aStrDummy
(
"XXX"
);
Size
aTextSize
(
pView
->
GetTextWidth
(
aStrDummy
),
pView
->
GetTextHeight
()
);
if
(
nWinBits
&
WB_ICON
)
{
...
...
@@ -3200,7 +3200,7 @@ void SvxIconChoiceCtrl_Impl::EditEntry( SvxIconChoiceCtrlEntry* pEntry )
SetNoSelection
();
pCurEditedEntry
=
pEntry
;
String
aEntryText
(
pView
->
GetEntryText
(
pEntry
,
sal_True
)
);
OU
String
aEntryText
(
pView
->
GetEntryText
(
pEntry
,
sal_True
)
);
Rectangle
aRect
(
CalcTextRect
(
pEntry
,
0
,
sal_True
,
&
aEntryText
)
);
MakeVisible
(
aRect
);
Point
aPos
(
aRect
.
TopLeft
()
);
...
...
@@ -3233,7 +3233,7 @@ IMPL_LINK_NOARG(SvxIconChoiceCtrl_Impl, TextEditEndedHdl)
return
0
;
}
String
aText
;
OU
String
aText
;
if
(
!
pEdit
->
EditingCanceled
()
)
aText
=
pEdit
->
GetText
();
else
...
...
@@ -3674,10 +3674,10 @@ sal_Bool SvxIconChoiceCtrl_Impl::RequestHelp( const HelpEvent& rHEvt )
if
(
!
pEntry
)
return
sal_False
;
String
sQuickHelpText
=
pEntry
->
GetQuickHelpText
();
String
aEntryText
(
pView
->
GetEntryText
(
pEntry
,
sal_False
)
);
OU
String
sQuickHelpText
=
pEntry
->
GetQuickHelpText
();
OU
String
aEntryText
(
pView
->
GetEntryText
(
pEntry
,
sal_False
)
);
Rectangle
aTextRect
(
CalcTextRect
(
pEntry
,
0
,
sal_False
,
&
aEntryText
)
);
if
(
(
!
aTextRect
.
IsInside
(
aPos
)
||
!
aEntryText
.
Len
()
)
&&
!
sQuickHelpText
.
Len
()
)
if
(
(
!
aTextRect
.
IsInside
(
aPos
)
||
aEntryText
.
isEmpty
()
)
&&
sQuickHelpText
.
isEmpty
()
)
return
sal_False
;
Rectangle
aOptTextRect
(
aTextRect
);
...
...
@@ -3685,7 +3685,7 @@ sal_Bool SvxIconChoiceCtrl_Impl::RequestHelp( const HelpEvent& rHEvt )
sal_uInt16
nNewFlags
=
nCurTextDrawFlags
;
nNewFlags
&=
~
(
TEXT_DRAW_CLIP
|
TEXT_DRAW_ENDELLIPSIS
);
aOptTextRect
=
pView
->
GetTextRect
(
aOptTextRect
,
aEntryText
,
nNewFlags
);
if
(
aOptTextRect
!=
aTextRect
||
sQuickHelpText
.
Len
()
>
0
)
if
(
aOptTextRect
!=
aTextRect
||
!
sQuickHelpText
.
isEmpty
()
)
{
//aTextRect.Right() = aTextRect.Left() + aRealSize.Width() + 4;
Point
aPt
(
aOptTextRect
.
TopLeft
()
);
...
...
@@ -3695,8 +3695,8 @@ sal_Bool SvxIconChoiceCtrl_Impl::RequestHelp( const HelpEvent& rHEvt )
aPt
.
Y
()
-=
1
;
aPt
.
X
()
-=
3
;
aOptTextRect
.
SetPos
(
aPt
);
String
sHelpText
;
if
(
sQuickHelpText
.
Len
()
>
0
)
OU
String
sHelpText
;
if
(
!
sQuickHelpText
.
isEmpty
()
)
sHelpText
=
sQuickHelpText
;
else
sHelpText
=
aEntryText
;
...
...
svtools/source/contnr/ivctrl.cxx
Dosyayı görüntüle @
edffe404
...
...
@@ -454,7 +454,7 @@ void SvtIconChoiceCtrl::FillLayoutData() const
SvxIconChoiceCtrlEntry
*
pEntry
=
GetEntry
(
nPos
);
Point
aPos
=
_pImp
->
GetEntryBoundRect
(
pEntry
).
TopLeft
();
String
sEntryText
=
pEntry
->
GetDisplayText
(
);
OU
String
sEntryText
=
pEntry
->
GetDisplayText
(
);
Rectangle
aTextRect
=
_pImp
->
CalcTextRect
(
pEntry
,
&
aPos
,
sal_False
,
&
sEntryText
);
sal_Bool
bLargeIconMode
=
WB_ICON
==
(
_pImp
->
GetStyle
()
&
(
VIEWMODE_MASK
)
);
...
...
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