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
3f97e6e0
Kaydet (Commit)
3f97e6e0
authored
Mar 28, 2015
tarafından
Bjoern Michaelsen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
flatten and simplify
Change-Id: I7c1f2f92494d7d7339a75e38a003545ddc556549
üst
9196885f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
16 deletions
+14
-16
unotbl.cxx
sw/source/core/unocore/unotbl.cxx
+14
-16
No files found.
sw/source/core/unocore/unotbl.cxx
Dosyayı görüntüle @
3f97e6e0
...
...
@@ -1658,25 +1658,23 @@ sal_Bool SwXTextTableCursor::splitRange(sal_Int16 Count, sal_Bool Horizontal)
{
SolarMutexGuard
aGuard
;
if
(
Count
<=
0
)
throw
uno
::
RuntimeException
(
"Illegal first argument: needs to be > 0"
,
static_cast
<
cppu
::
OWeakObject
*
>
(
this
)
);
bool
bRet
=
false
;
throw
uno
::
RuntimeException
(
"Illegal first argument: needs to be > 0"
,
static_cast
<
cppu
::
OWeakObject
*>
(
this
));
SwUnoCrsr
*
pUnoCrsr
=
GetCrsr
();
if
(
pUnoCrsr
)
if
(
!
pUnoCrsr
)
return
false
;
{
{
// here, all actions need to be revoked
UnoActionRemoveContext
aRemoveContext
(
pUnoCrsr
->
GetDoc
());
}
SwUnoTableCrsr
&
rTblCrsr
=
dynamic_cast
<
SwUnoTableCrsr
&>
(
*
pUnoCrsr
);
rTblCrsr
.
MakeBoxSels
();
{
UnoActionContext
aContext
(
pUnoCrsr
->
GetDoc
());
bRet
=
rTblCrsr
.
GetDoc
()
->
SplitTbl
(
rTblCrsr
.
GetSelectedBoxes
(),
!
Horizontal
,
Count
);
}
rTblCrsr
.
MakeBoxSels
();
// here, all actions need to be revoked
UnoActionRemoveContext
aRemoveContext
(
pUnoCrsr
->
GetDoc
());
}
return
bRet
;
SwUnoTableCrsr
&
rTblCrsr
=
dynamic_cast
<
SwUnoTableCrsr
&>
(
*
pUnoCrsr
);
rTblCrsr
.
MakeBoxSels
();
bool
bResult
;
{
UnoActionContext
aContext
(
pUnoCrsr
->
GetDoc
());
bResult
=
rTblCrsr
.
GetDoc
()
->
SplitTbl
(
rTblCrsr
.
GetSelectedBoxes
(),
!
Horizontal
,
Count
);
}
rTblCrsr
.
MakeBoxSels
();
return
bResult
;
}
uno
::
Reference
<
beans
::
XPropertySetInfo
>
SwXTextTableCursor
::
getPropertySetInfo
(
void
)
throw
(
uno
::
RuntimeException
,
std
::
exception
)
...
...
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