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
a61e55a2
Kaydet (Commit)
a61e55a2
authored
Haz 19, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:passstuffbyref
Change-Id: Ic889efaca00ad9600b1b5c8452aa7ee819e63c89
üst
859c2874
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
ViewShell.hxx
sd/source/ui/inc/ViewShell.hxx
+1
-1
viewshel.cxx
sd/source/ui/view/viewshel.cxx
+2
-1
No files found.
sd/source/ui/inc/ViewShell.hxx
Dosyayı görüntüle @
a61e55a2
...
...
@@ -452,7 +452,7 @@ public:
/// Allows adjusting the point or mark of the selection to a document coordinate.
void
SetCursorMm100Position
(
const
Point
&
rPosition
,
bool
bPoint
,
bool
bClearMark
);
/// Gets the currently selected text.
OString
GetTextSelection
(
OString
aMimeType
);
OString
GetTextSelection
(
const
OString
&
aMimeType
);
/// Allows starting or ending a graphic move or resize action.
void
SetGraphicMm100Position
(
bool
bStart
,
const
Point
&
rPosition
);
...
...
sd/source/ui/view/viewshel.cxx
Dosyayı görüntüle @
a61e55a2
...
...
@@ -553,7 +553,7 @@ void ViewShell::SetCursorMm100Position(const Point& rPosition, bool bPoint, bool
}
}
OString
ViewShell
::
GetTextSelection
(
OString
aMimeType
)
OString
ViewShell
::
GetTextSelection
(
const
OString
&
_
aMimeType
)
{
SdrView
*
pSdrView
=
GetView
();
if
(
!
pSdrView
)
...
...
@@ -568,6 +568,7 @@ OString ViewShell::GetTextSelection(OString aMimeType)
// Take care of UTF-8 text here.
bool
bConvert
=
false
;
sal_Int32
nIndex
=
0
;
OString
aMimeType
=
_aMimeType
;
if
(
aMimeType
.
getToken
(
0
,
';'
,
nIndex
)
==
"text/plain"
)
{
if
(
aMimeType
.
getToken
(
0
,
';'
,
nIndex
)
==
"charset=utf-8"
)
...
...
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