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
34cabe83
Kaydet (Commit)
34cabe83
authored
Tem 14, 2014
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:unreffun
Change-Id: Idc0f3ef53f48b2e77e4cecbcdbbc44a115c6ec2e
üst
09a90c2f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
20 deletions
+3
-20
debug.cxx
tools/source/debug/debug.cxx
+3
-10
configvaluecontainer.cxx
unotools/source/config/configvaluecontainer.cxx
+0
-10
No files found.
tools/source/debug/debug.cxx
Dosyayı görüntüle @
34cabe83
...
...
@@ -304,20 +304,12 @@ void* DbgFunc( sal_uInt16 nAction, void* pParam )
}
}
#else
void
*
DbgFunc
(
sal_uInt16
,
void
*
)
{
return
NULL
;
}
#endif
#if OSL_DEBUG_LEVEL > 0
TOOLS_DLLPUBLIC
void
DbgUnhandledException
(
const
css
::
uno
::
Any
&
caught
,
const
char
*
currentFunction
,
const
char
*
fileAndLineNo
)
{
#if OSL_DEBUG_LEVEL == 0
(
void
)
caught
;
(
void
)
currentFunction
;
(
void
)
fileAndLineNo
;
#else
OString
sMessage
(
"caught an exception!"
);
sMessage
+=
"
\n
in function:"
;
sMessage
+=
currentFunction
;
...
...
@@ -359,9 +351,10 @@ TOOLS_DLLPUBLIC void DbgUnhandledException(const css::uno::Any & caught, const c
SAL_DETAIL_LOG_FORMAT
(
SAL_DETAIL_ENABLE_LOG_WARN
,
SAL_DETAIL_LOG_LEVEL_WARN
,
"legacy.osl"
,
fileAndLineNo
,
"%s"
,
sMessage
.
getStr
());
#endif
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
unotools/source/config/configvaluecontainer.cxx
Dosyayı görüntüle @
34cabe83
...
...
@@ -57,13 +57,10 @@ namespace utl
void
bind
(
void
*
_pLocation
,
const
Type
&
_rType
);
bool
isBound
(
)
const
{
return
(
ltUnbound
!=
eLocationType
)
&&
(
NULL
!=
pLocation
);
}
const
OUString
&
getPath
(
)
const
{
return
sRelativePath
;
}
LocationType
getLocType
(
)
const
{
return
eLocationType
;
}
void
*
getLocation
(
)
const
{
return
pLocation
;
}
const
Type
&
getDataType
(
)
const
{
return
aDataType
;
}
bool
operator
==
(
const
NodeValueAccessor
&
rhs
)
const
;
};
NodeValueAccessor
::
NodeValueAccessor
(
const
OUString
&
_rNodePath
)
...
...
@@ -73,13 +70,6 @@ namespace utl
{
}
bool
NodeValueAccessor
::
operator
==
(
const
NodeValueAccessor
&
rhs
)
const
{
return
(
sRelativePath
==
rhs
.
sRelativePath
)
&&
(
eLocationType
==
rhs
.
eLocationType
)
&&
(
pLocation
==
rhs
.
pLocation
);
}
void
NodeValueAccessor
::
bind
(
void
*
_pLocation
,
const
Type
&
_rType
)
{
DBG_ASSERT
(
!
isBound
(),
"NodeValueAccessor::bind: already bound!"
);
...
...
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