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
88c397aa
Kaydet (Commit)
88c397aa
authored
May 25, 2014
tarafından
Matteo Casalin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Use literal ASCII strings directly
Change-Id: I759c9dc5d698bc4444aa941907fbc1302e2d984c
üst
4452ac23
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
18 deletions
+18
-18
unorefmk.cxx
sw/source/core/unocore/unorefmk.cxx
+18
-18
No files found.
sw/source/core/unocore/unorefmk.cxx
Dosyayı görüntüle @
88c397aa
...
...
@@ -260,8 +260,8 @@ void SwXReferenceMark::Impl::InsertRefMark(SwPaM& rPam,
if
(
!
pTxtAttr
)
{
throw
uno
::
RuntimeException
(
OUString
(
"SwXReferenceMark::InsertRefMark(): cannot insert attribute"
)
,
0
);
throw
uno
::
RuntimeException
(
"SwXReferenceMark::InsertRefMark(): cannot insert attribute"
,
0
);
}
m_pMarkFmt
=
&
pTxtAttr
->
GetRefMark
();
...
...
@@ -980,16 +980,16 @@ throw (lang::IllegalArgumentException, uno::RuntimeException)
if
(
!
m_pImpl
->
m_bIsDescriptor
)
{
throw
uno
::
RuntimeException
(
OUString
(
"SwXMeta::attach(): already attached"
)
,
static_cast
<
::
cppu
::
OWeakObject
*
>
(
this
));
"SwXMeta::attach(): already attached"
,
static_cast
<
::
cppu
::
OWeakObject
*
>
(
this
));
}
uno
::
Reference
<
lang
::
XUnoTunnel
>
xRangeTunnel
(
i_xTextRange
,
uno
::
UNO_QUERY
);
if
(
!
xRangeTunnel
.
is
())
{
throw
lang
::
IllegalArgumentException
(
OUString
(
"SwXMeta::attach(): argument is no XUnoTunnel"
)
,
static_cast
<
::
cppu
::
OWeakObject
*
>
(
this
),
0
);
"SwXMeta::attach(): argument is no XUnoTunnel"
,
static_cast
<
::
cppu
::
OWeakObject
*
>
(
this
),
0
);
}
SwXTextRange
*
const
pRange
(
::
sw
::
UnoTunnelGetImplementation
<
SwXTextRange
>
(
xRangeTunnel
));
...
...
@@ -998,8 +998,8 @@ throw (lang::IllegalArgumentException, uno::RuntimeException)
if
(
!
pRange
&&
!
pCursor
)
{
throw
lang
::
IllegalArgumentException
(
OUString
(
"SwXMeta::attach(): argument not supported type"
)
,
static_cast
<
::
cppu
::
OWeakObject
*
>
(
this
),
0
);
"SwXMeta::attach(): argument not supported type"
,
static_cast
<
::
cppu
::
OWeakObject
*
>
(
this
),
0
);
}
SwDoc
*
const
pDoc
(
...
...
@@ -1007,8 +1007,8 @@ throw (lang::IllegalArgumentException, uno::RuntimeException)
if
(
!
pDoc
)
{
throw
lang
::
IllegalArgumentException
(
OUString
(
"SwXMeta::attach(): argument has no SwDoc"
)
,
static_cast
<
::
cppu
::
OWeakObject
*
>
(
this
),
0
);
"SwXMeta::attach(): argument has no SwDoc"
,
static_cast
<
::
cppu
::
OWeakObject
*
>
(
this
),
0
);
}
SwUnoInternalPaM
aPam
(
*
pDoc
);
...
...
@@ -1034,15 +1034,15 @@ throw (lang::IllegalArgumentException, uno::RuntimeException)
if
(
!
bSuccess
)
{
throw
lang
::
IllegalArgumentException
(
OUString
(
"SwXMeta::attach(): cannot create meta: range invalid?"
)
,
static_cast
<
::
cppu
::
OWeakObject
*
>
(
this
),
1
);
"SwXMeta::attach(): cannot create meta: range invalid?"
,
static_cast
<
::
cppu
::
OWeakObject
*
>
(
this
),
1
);
}
if
(
!
pTxtAttr
)
{
OSL_FAIL
(
"meta inserted, but has no text attribute?"
);
throw
uno
::
RuntimeException
(
OUString
(
"SwXMeta::attach(): cannot create meta"
)
,
static_cast
<
::
cppu
::
OWeakObject
*
>
(
this
));
"SwXMeta::attach(): cannot create meta"
,
static_cast
<
::
cppu
::
OWeakObject
*
>
(
this
));
}
pMeta
->
Add
(
m_pImpl
.
get
());
...
...
@@ -1073,7 +1073,7 @@ SwXMeta::getAnchor() throw (uno::RuntimeException, std::exception)
if
(
m_pImpl
->
m_bIsDescriptor
)
{
throw
uno
::
RuntimeException
(
OUString
(
"SwXMeta::getAnchor(): not inserted"
)
,
"SwXMeta::getAnchor(): not inserted"
,
static_cast
<
::
cppu
::
OWeakObject
*
>
(
this
));
}
...
...
@@ -1085,7 +1085,7 @@ SwXMeta::getAnchor() throw (uno::RuntimeException, std::exception)
if
(
!
bSuccess
)
{
throw
lang
::
DisposedException
(
OUString
(
"SwXMeta::getAnchor(): not attached"
)
,
"SwXMeta::getAnchor(): not attached"
,
static_cast
<
::
cppu
::
OWeakObject
*
>
(
this
));
}
...
...
@@ -1240,7 +1240,7 @@ SwXMeta::createEnumeration() throw (uno::RuntimeException, std::exception)
if
(
m_pImpl
->
m_bIsDescriptor
)
{
throw
uno
::
RuntimeException
(
OUString
(
"createEnumeration(): not inserted"
)
,
"createEnumeration(): not inserted"
,
static_cast
<
::
cppu
::
OWeakObject
*
>
(
this
));
}
...
...
@@ -1567,7 +1567,7 @@ getPrefixAndSuffix(
throw
;
}
catch
(
const
uno
::
Exception
&
e
)
{
throw
lang
::
WrappedTargetRuntimeException
(
OUString
(
"getPrefixAndSuffix: exception"
)
,
"getPrefixAndSuffix: exception"
,
0
,
uno
::
makeAny
(
e
));
}
}
...
...
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