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
da36b3da
Kaydet (Commit)
da36b3da
authored
Eyl 09, 2013
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert include/editeng/AccessibleStringWrap.hxx from String to OUString
Change-Id: I31c91ee196351abcd884240052359fac8aff6e1d
üst
cfb4463d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
AccessibleStringWrap.cxx
editeng/source/accessibility/AccessibleStringWrap.cxx
+3
-3
AccessibleStringWrap.hxx
include/editeng/AccessibleStringWrap.hxx
+2
-2
No files found.
editeng/source/accessibility/AccessibleStringWrap.cxx
Dosyayı görüntüle @
da36b3da
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
//
//
//------------------------------------------------------------------------
//------------------------------------------------------------------------
AccessibleStringWrap
::
AccessibleStringWrap
(
OutputDevice
&
rDev
,
SvxFont
&
rFont
,
const
String
&
rText
)
:
AccessibleStringWrap
::
AccessibleStringWrap
(
OutputDevice
&
rDev
,
SvxFont
&
rFont
,
const
OU
String
&
rText
)
:
mrDev
(
rDev
),
mrDev
(
rDev
),
mrFont
(
rFont
),
mrFont
(
rFont
),
maText
(
rText
)
maText
(
rText
)
...
@@ -46,7 +46,7 @@ sal_Bool AccessibleStringWrap::GetCharacterBounds( sal_Int32 nIndex, Rectangle&
...
@@ -46,7 +46,7 @@ sal_Bool AccessibleStringWrap::GetCharacterBounds( sal_Int32 nIndex, Rectangle&
mrFont
.
SetPhysFont
(
&
mrDev
);
mrFont
.
SetPhysFont
(
&
mrDev
);
// #108900# Handle virtual position one-past-the end of the string
// #108900# Handle virtual position one-past-the end of the string
if
(
nIndex
>=
maText
.
Len
()
)
if
(
nIndex
>=
maText
.
getLength
()
)
{
{
// create a caret bounding rect that has the height of the
// create a caret bounding rect that has the height of the
// current font and is one pixel wide.
// current font and is one pixel wide.
...
@@ -78,7 +78,7 @@ sal_Int32 AccessibleStringWrap::GetIndexAtPoint( const Point& rPoint )
...
@@ -78,7 +78,7 @@ sal_Int32 AccessibleStringWrap::GetIndexAtPoint( const Point& rPoint )
{
{
// search for character bounding box containing given point
// search for character bounding box containing given point
Rectangle
aRect
;
Rectangle
aRect
;
sal_Int32
i
,
nLen
=
maText
.
Len
();
sal_Int32
i
,
nLen
=
maText
.
getLength
();
for
(
i
=
0
;
i
<
nLen
;
++
i
)
for
(
i
=
0
;
i
<
nLen
;
++
i
)
{
{
GetCharacterBounds
(
i
,
aRect
);
GetCharacterBounds
(
i
,
aRect
);
...
...
include/editeng/AccessibleStringWrap.hxx
Dosyayı görüntüle @
da36b3da
...
@@ -40,7 +40,7 @@ class AccessibleStringWrap
...
@@ -40,7 +40,7 @@ class AccessibleStringWrap
{
{
public
:
public
:
EDITENG_DLLPUBLIC
AccessibleStringWrap
(
OutputDevice
&
rDev
,
SvxFont
&
rFont
,
const
String
&
rText
);
EDITENG_DLLPUBLIC
AccessibleStringWrap
(
OutputDevice
&
rDev
,
SvxFont
&
rFont
,
const
OU
String
&
rText
);
EDITENG_DLLPUBLIC
sal_Bool
GetCharacterBounds
(
sal_Int32
nIndex
,
Rectangle
&
rRect
);
EDITENG_DLLPUBLIC
sal_Bool
GetCharacterBounds
(
sal_Int32
nIndex
,
Rectangle
&
rRect
);
EDITENG_DLLPUBLIC
sal_Int32
GetIndexAtPoint
(
const
Point
&
rPoint
);
EDITENG_DLLPUBLIC
sal_Int32
GetIndexAtPoint
(
const
Point
&
rPoint
);
...
@@ -49,7 +49,7 @@ private:
...
@@ -49,7 +49,7 @@ private:
OutputDevice
&
mrDev
;
OutputDevice
&
mrDev
;
SvxFont
&
mrFont
;
SvxFont
&
mrFont
;
String
maText
;
OUString
maText
;
};
};
#endif
/* _ACCESSIBLESTRINGWRAP_HXX */
#endif
/* _ACCESSIBLESTRINGWRAP_HXX */
...
...
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