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
0e6c0d03
Kaydet (Commit)
0e6c0d03
authored
Mar 03, 2011
tarafından
Thomas Arnhold
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Move DBG_ERROR to OSL_FAIL for strings GetBuffer()
üst
ec8c1608
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
CustomAnimationPreset.cxx
sd/source/core/CustomAnimationPreset.cxx
+1
-1
sdxmlwrp.cxx
sd/source/filter/xml/sdxmlwrp.cxx
+6
-6
No files found.
sd/source/core/CustomAnimationPreset.cxx
Dosyayı görüntüle @
0e6c0d03
...
...
@@ -550,7 +550,7 @@ void CustomAnimationPresets::importPresets( const Reference< XMultiServiceFactor
{
ByteString
aTmp
(
"sd::CustomAnimationPresets::importPresets(), invalid preset id!
\n
"
);
aTmp
+=
ByteString
(
aMissedPresetIds
,
RTL_TEXTENCODING_ASCII_US
);
DBG_ERROR
(
aTmp
.
GetBuffer
()
);
OSL_FAIL
(
aTmp
.
GetBuffer
()
);
}
#endif
}
...
...
sd/source/filter/xml/sdxmlwrp.cxx
Dosyayı görüntüle @
0e6c0d03
...
...
@@ -287,7 +287,7 @@ sal_Int32 ReadThroughComponent(
#if OSL_DEBUG_LEVEL > 1
ByteString
aError
(
"SAX parse exception catched while importing:
\n
"
);
aError
+=
ByteString
(
String
(
r
.
Message
),
RTL_TEXTENCODING_ASCII_US
);
DBG_ERROR
(
aError
.
GetBuffer
()
);
OSL_FAIL
(
aError
.
GetBuffer
()
);
#endif
String
sErr
(
String
::
CreateFromInt32
(
r
.
LineNumber
));
...
...
@@ -321,7 +321,7 @@ sal_Int32 ReadThroughComponent(
#if OSL_DEBUG_LEVEL > 1
ByteString
aError
(
"SAX exception catched while importing:
\n
"
);
aError
+=
ByteString
(
String
(
r
.
Message
),
RTL_TEXTENCODING_ASCII_US
);
DBG_ERROR
(
aError
.
GetBuffer
()
);
OSL_FAIL
(
aError
.
GetBuffer
()
);
#endif
return
SD_XML_READERROR
;
}
...
...
@@ -331,7 +331,7 @@ sal_Int32 ReadThroughComponent(
#if OSL_DEBUG_LEVEL > 1
ByteString
aError
(
"Zip exception catched while importing:
\n
"
);
aError
+=
ByteString
(
String
(
r
.
Message
),
RTL_TEXTENCODING_ASCII_US
);
DBG_ERROR
(
aError
.
GetBuffer
()
);
OSL_FAIL
(
aError
.
GetBuffer
()
);
#endif
return
ERRCODE_IO_BROKENPACKAGE
;
}
...
...
@@ -341,7 +341,7 @@ sal_Int32 ReadThroughComponent(
#if OSL_DEBUG_LEVEL > 1
ByteString
aError
(
"IO exception catched while importing:
\n
"
);
aError
+=
ByteString
(
String
(
r
.
Message
),
RTL_TEXTENCODING_ASCII_US
);
DBG_ERROR
(
aError
.
GetBuffer
()
);
OSL_FAIL
(
aError
.
GetBuffer
()
);
#endif
return
SD_XML_READERROR
;
}
...
...
@@ -351,7 +351,7 @@ sal_Int32 ReadThroughComponent(
#if OSL_DEBUG_LEVEL > 1
ByteString
aError
(
"uno exception catched while importing:
\n
"
);
aError
+=
ByteString
(
String
(
r
.
Message
),
RTL_TEXTENCODING_ASCII_US
);
DBG_ERROR
(
aError
.
GetBuffer
()
);
OSL_FAIL
(
aError
.
GetBuffer
()
);
#endif
return
SD_XML_READERROR
;
}
...
...
@@ -1093,7 +1093,7 @@ sal_Bool SdXMLFilter::Export()
#if OSL_DEBUG_LEVEL > 1
ByteString
aError
(
"uno Exception caught while exporting:
\n
"
);
aError
+=
ByteString
(
String
(
e
.
Message
),
RTL_TEXTENCODING_ASCII_US
);
DBG_ERROR
(
aError
.
GetBuffer
()
);
OSL_FAIL
(
aError
.
GetBuffer
()
);
#endif
bDocRet
=
sal_False
;
}
...
...
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