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
bdd9d06c
Kaydet (Commit)
bdd9d06c
authored
Ara 19, 2012
tarafından
Luboš Luňák
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
incorrect if body alignment
Change-Id: Ic5076bc7be30e72686840c06f1f9b441b774f3ba
üst
6fe0d1b7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
edtwin.cxx
sw/source/ui/docvw/edtwin.cxx
+5
-4
No files found.
sw/source/ui/docvw/edtwin.cxx
Dosyayı görüntüle @
bdd9d06c
...
@@ -3237,12 +3237,12 @@ void SwEditWin::MouseButtonDown(const MouseEvent& _rMEvt)
...
@@ -3237,12 +3237,12 @@ void SwEditWin::MouseButtonDown(const MouseEvent& _rMEvt)
bFrmDrag
=
sal_False
;
bFrmDrag
=
sal_False
;
if
(
!
bHandledFlyClick
&&
!
bIsDocReadOnly
&&
rSh
.
IsInsideSelectedObj
(
aDocPos
)
&&
if
(
!
bHandledFlyClick
&&
!
bIsDocReadOnly
&&
rSh
.
IsInsideSelectedObj
(
aDocPos
)
&&
0
==
rSh
.
IsSelObjProtected
(
FLYPROTECT_CONTENT
|
FLYPROTECT_PARENT
)
)
0
==
rSh
.
IsSelObjProtected
(
FLYPROTECT_CONTENT
|
FLYPROTECT_PARENT
)
)
{
/* this is no good, on the one hand GetSelectionType is used as flag field (take a look into the GetSelectionType method)
/* this is no good, on the one hand GetSelectionType is used as flag field (take a look into the GetSelectionType method)
on the other hand the return value is used in a switch without proper masking (very nice), this must lead to trouble
on the other hand the return value is used in a switch without proper masking (very nice), this must lead to trouble
*/
*/
switch
(
rSh
.
GetSelectionType
()
&~
(
nsSelectionType
::
SEL_FONTWORK
|
nsSelectionType
::
SEL_EXTRUDED_CUSTOMSHAPE
)
)
switch
(
rSh
.
GetSelectionType
()
&~
(
nsSelectionType
::
SEL_FONTWORK
|
nsSelectionType
::
SEL_EXTRUDED_CUSTOMSHAPE
)
)
{
{
case
nsSelectionType
:
:
SEL_GRF
:
case
nsSelectionType
:
:
SEL_GRF
:
RstMBDownFlags
();
RstMBDownFlags
();
GetView
().
GetViewFrame
()
->
GetBindings
().
Execute
(
GetView
().
GetViewFrame
()
->
GetBindings
().
Execute
(
...
@@ -3271,6 +3271,7 @@ void SwEditWin::MouseButtonDown(const MouseEvent& _rMEvt)
...
@@ -3271,6 +3271,7 @@ void SwEditWin::MouseButtonDown(const MouseEvent& _rMEvt)
if
(
rView
.
GetCurShell
()
->
ISA
(
SwDrawTextShell
)
)
if
(
rView
.
GetCurShell
()
->
ISA
(
SwDrawTextShell
)
)
((
SwDrawTextShell
*
)
rView
.
GetCurShell
())
->
Init
();
((
SwDrawTextShell
*
)
rView
.
GetCurShell
())
->
Init
();
return
;
return
;
}
}
}
// if the cursor position was corrected or if a Fly
// if the cursor position was corrected or if a Fly
...
@@ -5328,7 +5329,7 @@ void SwEditWin::Command( const CommandEvent& rCEvt )
...
@@ -5328,7 +5329,7 @@ void SwEditWin::Command( const CommandEvent& rCEvt )
xub_StrLen
nMarkIdx
=
pCrsr
->
GetMark
()
->
nContent
.
GetIndex
();
xub_StrLen
nMarkIdx
=
pCrsr
->
GetMark
()
->
nContent
.
GetIndex
();
if
(
!
rSh
.
GetCrsr
()
->
HasMark
()
)
if
(
!
rSh
.
GetCrsr
()
->
HasMark
()
)
rSh
.
GetCrsr
()
->
SetMark
();
rSh
.
GetCrsr
()
->
SetMark
();
rSh
.
SttCrsrMove
();
rSh
.
SttCrsrMove
();
...
...
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