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
9d3c54c9
Kaydet (Commit)
9d3c54c9
authored
Kas 17, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
OSL_ENSURE->assert where guaranteed deref follows
Change-Id: I241e13cbf440c1a7e208c2646ded7bf2628ca25b
üst
43d6da69
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
xmltbli.cxx
sw/source/filter/xml/xmltbli.cxx
+3
-4
No files found.
sw/source/filter/xml/xmltbli.cxx
Dosyayı görüntüle @
9d3c54c9
...
@@ -688,10 +688,10 @@ void SwXMLTableCellContext_Impl::EndElement()
...
@@ -688,10 +688,10 @@ void SwXMLTableCellContext_Impl::EndElement()
// Until we have an API for copying we have to use the core.
// Until we have an API for copying we have to use the core.
Reference
<
XUnoTunnel
>
xSrcCrsrTunnel
(
xSrcTxtCursor
,
UNO_QUERY
);
Reference
<
XUnoTunnel
>
xSrcCrsrTunnel
(
xSrcTxtCursor
,
UNO_QUERY
);
OSL_ENSURE
(
xSrcCrsrTunnel
.
is
(),
"missing XUnoTunnel for Cursor"
);
assert
(
xSrcCrsrTunnel
.
is
()
&&
"missing XUnoTunnel for Cursor"
);
OTextCursorHelper
*
pSrcTxtCrsr
=
reinterpret_cast
<
OTextCursorHelper
*
>
(
OTextCursorHelper
*
pSrcTxtCrsr
=
reinterpret_cast
<
OTextCursorHelper
*
>
(
sal
::
static_int_cast
<
sal_IntPtr
>
(
xSrcCrsrTunnel
->
getSomething
(
OTextCursorHelper
::
getUnoTunnelId
()
)));
sal
::
static_int_cast
<
sal_IntPtr
>
(
xSrcCrsrTunnel
->
getSomething
(
OTextCursorHelper
::
getUnoTunnelId
()
)));
OSL_ENSURE
(
pSrcTxtCrsr
,
"SwXTextCursor missing"
);
assert
(
pSrcTxtCrsr
&&
"SwXTextCursor missing"
);
SwDoc
*
pDoc
=
pSrcTxtCrsr
->
GetDoc
();
SwDoc
*
pDoc
=
pSrcTxtCrsr
->
GetDoc
();
const
SwPaM
*
pSrcPaM
=
pSrcTxtCrsr
->
GetPaM
();
const
SwPaM
*
pSrcPaM
=
pSrcTxtCrsr
->
GetPaM
();
...
@@ -701,8 +701,7 @@ void SwXMLTableCellContext_Impl::EndElement()
...
@@ -701,8 +701,7 @@ void SwXMLTableCellContext_Impl::EndElement()
Reference
<
XUnoTunnel
>
xDstCrsrTunnel
(
Reference
<
XUnoTunnel
>
xDstCrsrTunnel
(
GetImport
().
GetTextImport
()
->
GetCursor
(),
UNO_QUERY
);
GetImport
().
GetTextImport
()
->
GetCursor
(),
UNO_QUERY
);
OSL_ENSURE
(
xDstCrsrTunnel
.
is
(),
assert
(
xDstCrsrTunnel
.
is
()
&&
"missing XUnoTunnel for Cursor"
);
"missing XUnoTunnel for Cursor"
);
OTextCursorHelper
*
pDstTxtCrsr
=
reinterpret_cast
<
OTextCursorHelper
*
>
(
OTextCursorHelper
*
pDstTxtCrsr
=
reinterpret_cast
<
OTextCursorHelper
*
>
(
sal
::
static_int_cast
<
sal_IntPtr
>
(
xDstCrsrTunnel
->
getSomething
(
OTextCursorHelper
::
getUnoTunnelId
()
))
);
sal
::
static_int_cast
<
sal_IntPtr
>
(
xDstCrsrTunnel
->
getSomething
(
OTextCursorHelper
::
getUnoTunnelId
()
))
);
assert
(
pDstTxtCrsr
&&
"SwXTextCursor missing"
);
assert
(
pDstTxtCrsr
&&
"SwXTextCursor missing"
);
...
...
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