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
92924b15
Kaydet (Commit)
92924b15
authored
Ara 18, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
tools: Use appropriate OUString functions on string constants
Change-Id: If79786d21b6d7cb0cb0ec9b947f43e76aa7547e3
üst
44199e81
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
diagnose_ex.h
include/tools/diagnose_ex.h
+6
-8
No files found.
include/tools/diagnose_ex.h
Dosyayı görüntüle @
92924b15
...
...
@@ -61,15 +61,15 @@
#define ENSURE_ARG_OR_THROW(c, m) if( !(c) ) { \
OSL_ENSURE(c, m); \
throw ::com::sun::star::lang::IllegalArgumentException( \
OUString
(BOOST_CURRENT_FUNCTION) +
\
OUString( ",\n" m )
, \
OUString
Literal(BOOST_CURRENT_FUNCTION)
\
+ ",\n" m
, \
::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >(), \
0 ); }
#define ENSURE_ARG_OR_THROW2(c, m, ifc, arg) if( !(c) ) { \
OSL_ENSURE(c, m); \
throw ::com::sun::star::lang::IllegalArgumentException( \
OUString
(BOOST_CURRENT_FUNCTION) +
\
OUString( ",\n" m )
, \
OUString
Literal(BOOST_CURRENT_FUNCTION)
\
+ ",\n" m
, \
ifc, \
arg ); }
...
...
@@ -80,16 +80,14 @@
if( !(c) ){ \
OSL_ENSURE(c, m); \
throw ::com::sun::star::uno::RuntimeException( \
OUString(BOOST_CURRENT_FUNCTION) + \
OUString( ",\n" m ), \
OUStringLiteral(BOOST_CURRENT_FUNCTION) + ",\n" m, \
::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >() ); }
#define ENSURE_OR_THROW2(c, m, ifc) \
if( !(c) ) { \
OSL_ENSURE(c, m); \
throw ::com::sun::star::uno::RuntimeException( \
OUString(BOOST_CURRENT_FUNCTION) + \
OUString( ",\n" m ), \
OUStringLiteral(BOOST_CURRENT_FUNCTION) + ",\n" m, \
ifc ); }
/** This macro asserts the given condition (in debug mode), and
...
...
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