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
1a83ac55
Kaydet (Commit)
1a83ac55
authored
May 14, 2015
tarafından
Tomaž Vajngerl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
refactor SvxHlmarkTreeLBox to use RenderContext
Change-Id: I15f259cd68a628fc298ca086000b94abf018a938
üst
418c7ae2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
hlmarkwn.cxx
cui/source/dialogs/hlmarkwn.cxx
+6
-8
No files found.
cui/source/dialogs/hlmarkwn.cxx
Dosyayı görüntüle @
1a83ac55
...
...
@@ -98,7 +98,7 @@ Size SvxHlmarkTreeLBox::GetOptimalSize() const
return
LogicToPixel
(
Size
(
103
,
162
),
MAP_APPFONT
);
}
void
SvxHlmarkTreeLBox
::
Paint
(
vcl
::
RenderContext
&
rRenderContext
,
const
Rectangle
&
rRect
)
void
SvxHlmarkTreeLBox
::
Paint
(
vcl
::
RenderContext
&
rRenderContext
,
const
Rectangle
&
rRect
)
{
if
(
!
mpParentWnd
||
mpParentWnd
->
mnError
==
LERR_NOERROR
)
{
...
...
@@ -106,13 +106,13 @@ void SvxHlmarkTreeLBox::Paint( vcl::RenderContext& rRenderContext, const Rectang
}
else
{
Erase
();
rRenderContext
.
Erase
();
Rectangle
aDrawRect
(
Point
(
0
,
0
),
GetSizePixel
()
);
Rectangle
aDrawRect
(
Point
(
0
,
0
),
GetSizePixel
()
);
OUString
aStrMessage
;
switch
(
mpParentWnd
->
mnError
)
switch
(
mpParentWnd
->
mnError
)
{
case
LERR_NOENTRIES
:
aStrMessage
=
CUI_RESSTR
(
RID_SVXSTR_HYPDLG_ERR_LERR_NOENTRIES
);
...
...
@@ -122,9 +122,8 @@ void SvxHlmarkTreeLBox::Paint( vcl::RenderContext& rRenderContext, const Rectang
break
;
}
DrawText
(
aDrawRect
,
aStrMessage
,
TEXT_DRAW_LEFT
|
TEXT_DRAW_MULTILINE
|
TEXT_DRAW_WORDBREAK
);
rRenderContext
.
DrawText
(
aDrawRect
,
aStrMessage
,
TEXT_DRAW_LEFT
|
TEXT_DRAW_MULTILINE
|
TEXT_DRAW_WORDBREAK
);
}
}
...
...
@@ -139,8 +138,7 @@ void SvxHlmarkTreeLBox::Paint( vcl::RenderContext& rRenderContext, const Rectang
|*
|************************************************************************/
SvxHlinkDlgMarkWnd
::
SvxHlinkDlgMarkWnd
(
SvxHyperlinkTabPageBase
*
pParent
)
:
ModalDialog
(
pParent
,
"HyperlinkMark"
,
"cui/ui/hyperlinkmarkdialog.ui"
)
:
ModalDialog
(
pParent
,
"HyperlinkMark"
,
"cui/ui/hyperlinkmarkdialog.ui"
)
,
mbUserMoved
(
false
)
,
mpParent
(
pParent
)
,
mnError
(
LERR_NOERROR
)
...
...
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