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
e48d4746
Kaydet (Commit)
e48d4746
authored
Ock 06, 2013
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix some memory leaks in sc
Change-Id: I1e3b9a55561f941346cb9f553f960dc2bafbb1b6
üst
129e7572
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
xmlwrap.cxx
sc/source/filter/xml/xmlwrap.cxx
+2
-2
docsh.cxx
sc/source/ui/docshell/docsh.cxx
+1
-1
docsh8.cxx
sc/source/ui/docshell/docsh8.cxx
+2
-2
scdetect.cxx
sc/source/ui/unoobj/scdetect.cxx
+1
-1
No files found.
sc/source/filter/xml/xmlwrap.cxx
Dosyayı görüntüle @
e48d4746
...
...
@@ -219,7 +219,7 @@ sal_uInt32 ScXMLImportWrapper::ImportFromComponent(uno::Reference<lang::XMultiSe
if
(
!
sDocName
.
isEmpty
()
)
{
nReturn
=
*
new
TwoStringErrorInfo
(
nReturn
=
TwoStringErrorInfo
(
(
bMustBeSuccessfull
?
SCERR_IMPORT_FILE_ROWCOL
:
SCWARN_IMPORT_FILE_ROWCOL
),
sDocName
,
sErr
,
...
...
@@ -228,7 +228,7 @@ sal_uInt32 ScXMLImportWrapper::ImportFromComponent(uno::Reference<lang::XMultiSe
else
{
OSL_ENSURE
(
bMustBeSuccessfull
,
"Warnings are not supported"
);
nReturn
=
*
new
StringErrorInfo
(
SCERR_IMPORT_FORMAT_ROWCOL
,
sErr
,
nReturn
=
StringErrorInfo
(
SCERR_IMPORT_FORMAT_ROWCOL
,
sErr
,
ERRCODE_BUTTON_OK
|
ERRCODE_MSG_ERROR
);
}
}
...
...
sc/source/ui/docshell/docsh.cxx
Dosyayı görüntüle @
e48d4746
...
...
@@ -2293,7 +2293,7 @@ sal_Bool ScDocShell::ConvertTo( SfxMedium &rMed )
aImExport
.
SetStreamPath
(
rMed
.
GetName
()
);
bRet
=
aImExport
.
ExportStream
(
*
pStream
,
rMed
.
GetBaseURL
(
true
),
SOT_FORMATSTR_ID_HTML
);
if
(
bRet
&&
aImExport
.
GetNonConvertibleChars
().
Len
()
)
SetError
(
*
new
StringErrorInfo
(
SetError
(
StringErrorInfo
(
SCWARN_EXPORT_NONCONVERTIBLE_CHARS
,
aImExport
.
GetNonConvertibleChars
(),
ERRCODE_BUTTON_OK
|
ERRCODE_MSG_INFO
),
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
OSL_LOG_PREFIX
)
)
);
...
...
sc/source/ui/docshell/docsh8.cxx
Dosyayı görüntüle @
e48d4746
...
...
@@ -1156,12 +1156,12 @@ sal_uLong ScDocShell::DBaseExport( const rtl::OUString& rFullFileName, CharSet e
}
String
sPosition
(
ScAddress
(
nDocCol
,
nDocRow
,
nTab
).
GetColRowString
());
String
sEncoding
(
SvxTextEncodingTable
().
GetTextString
(
eCharSet
));
nErr
=
*
new
TwoStringErrorInfo
(
(
bEncErr
?
SCERR_EXPORT_ENCODING
:
nErr
=
TwoStringErrorInfo
(
(
bEncErr
?
SCERR_EXPORT_ENCODING
:
SCERR_EXPORT_FIELDWIDTH
),
sPosition
,
sEncoding
,
ERRCODE_BUTTON_OK
|
ERRCODE_MSG_ERROR
);
}
else
if
(
!
aException
.
Message
.
isEmpty
()
)
nErr
=
*
new
StringErrorInfo
(
(
SCERR_EXPORT_SQLEXCEPTION
),
aException
.
Message
,
ERRCODE_BUTTON_OK
|
ERRCODE_MSG_ERROR
);
nErr
=
StringErrorInfo
(
(
SCERR_EXPORT_SQLEXCEPTION
),
aException
.
Message
,
ERRCODE_BUTTON_OK
|
ERRCODE_MSG_ERROR
);
else
nErr
=
SCERR_EXPORT_DATA
;
}
...
...
sc/source/ui/unoobj/scdetect.cxx
Dosyayı görüntüle @
e48d4746
...
...
@@ -930,7 +930,7 @@ OUString ScFilterDetect::impl_getStaticImplementationName()
/* Helper for registry */
UNOREFERENCE
<
UNOXINTERFACE
>
SAL_CALL
ScFilterDetect
::
impl_createInstance
(
const
UNOREFERENCE
<
UNOXMULTISERVICEFACTORY
>&
xServiceManager
)
throw
(
UNOEXCEPTION
)
{
return
UNOREFERENCE
<
UNOXINTERFACE
>
(
*
new
ScFilterDetect
(
xServiceManager
)
);
return
UNOREFERENCE
<
UNOXINTERFACE
>
(
ScFilterDetect
(
xServiceManager
)
);
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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