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
9d314ab7
Kaydet (Commit)
9d314ab7
authored
Agu 04, 2012
tarafından
Arnaud Versini
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Replace usage of rtl/memory.h in unodevtools with equivalent from string.h
Change-Id: Id13d0be47071345508ea1ddd3a8c4b8e656fcfe8
üst
706e7b1e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
9 deletions
+11
-9
typeblob.cxx
unodevtools/source/unodevtools/typeblob.cxx
+11
-9
No files found.
unodevtools/source/unodevtools/typeblob.cxx
Dosyayı görüntüle @
9d314ab7
...
...
@@ -17,6 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <string.h>
#include "rtl/alloc.h"
#include "registry/writer.hxx"
...
...
@@ -316,7 +318,7 @@ void* getTypeBlob(Reference< XHierarchicalNameAccess > xTDmgr,
const
void
*
p
=
writer
.
getBlob
(
blobsize
);
pBlob
=
(
sal_uInt8
*
)
rtl_allocateMemory
(
*
blobsize
);
rtl_copyMemor
y
(
pBlob
,
p
,
*
blobsize
);
memcp
y
(
pBlob
,
p
,
*
blobsize
);
}
break
;
case
TypeClass_MODULE
:
...
...
@@ -358,7 +360,7 @@ void* getTypeBlob(Reference< XHierarchicalNameAccess > xTDmgr,
const
void
*
p
=
writer
.
getBlob
(
blobsize
);
pBlob
=
(
sal_uInt8
*
)
rtl_allocateMemory
(
*
blobsize
);
rtl_copyMemor
y
(
pBlob
,
p
,
*
blobsize
);
memcp
y
(
pBlob
,
p
,
*
blobsize
);
}
break
;
case
TypeClass_INTERFACE
:
...
...
@@ -470,7 +472,7 @@ void* getTypeBlob(Reference< XHierarchicalNameAccess > xTDmgr,
const
void
*
p
=
writer
.
getBlob
(
blobsize
);
pBlob
=
(
sal_uInt8
*
)
rtl_allocateMemory
(
*
blobsize
);
rtl_copyMemor
y
(
pBlob
,
p
,
*
blobsize
);
memcp
y
(
pBlob
,
p
,
*
blobsize
);
}
break
;
case
TypeClass_STRUCT
:
...
...
@@ -530,7 +532,7 @@ void* getTypeBlob(Reference< XHierarchicalNameAccess > xTDmgr,
const
void
*
p
=
writer
.
getBlob
(
blobsize
);
pBlob
=
(
sal_uInt8
*
)
rtl_allocateMemory
(
*
blobsize
);
rtl_copyMemor
y
(
pBlob
,
p
,
*
blobsize
);
memcp
y
(
pBlob
,
p
,
*
blobsize
);
}
break
;
case
TypeClass_EXCEPTION
:
...
...
@@ -572,7 +574,7 @@ void* getTypeBlob(Reference< XHierarchicalNameAccess > xTDmgr,
const
void
*
p
=
writer
.
getBlob
(
blobsize
);
pBlob
=
(
sal_uInt8
*
)
rtl_allocateMemory
(
*
blobsize
);
rtl_copyMemor
y
(
pBlob
,
p
,
*
blobsize
);
memcp
y
(
pBlob
,
p
,
*
blobsize
);
}
break
;
case
TypeClass_ENUM
:
...
...
@@ -603,7 +605,7 @@ void* getTypeBlob(Reference< XHierarchicalNameAccess > xTDmgr,
const
void
*
p
=
writer
.
getBlob
(
blobsize
);
pBlob
=
(
sal_uInt8
*
)
rtl_allocateMemory
(
*
blobsize
);
rtl_copyMemor
y
(
pBlob
,
p
,
*
blobsize
);
memcp
y
(
pBlob
,
p
,
*
blobsize
);
}
break
;
case
TypeClass_TYPEDEF
:
...
...
@@ -623,7 +625,7 @@ void* getTypeBlob(Reference< XHierarchicalNameAccess > xTDmgr,
const
void
*
p
=
writer
.
getBlob
(
blobsize
);
pBlob
=
(
sal_uInt8
*
)
rtl_allocateMemory
(
*
blobsize
);
rtl_copyMemor
y
(
pBlob
,
p
,
*
blobsize
);
memcp
y
(
pBlob
,
p
,
*
blobsize
);
}
break
;
case
TypeClass_SERVICE
:
...
...
@@ -760,7 +762,7 @@ void* getTypeBlob(Reference< XHierarchicalNameAccess > xTDmgr,
const
void
*
p
=
writer
.
getBlob
(
blobsize
);
pBlob
=
(
sal_uInt8
*
)
rtl_allocateMemory
(
*
blobsize
);
rtl_copyMemor
y
(
pBlob
,
p
,
*
blobsize
);
memcp
y
(
pBlob
,
p
,
*
blobsize
);
}
break
;
case
TypeClass_SINGLETON
:
...
...
@@ -785,7 +787,7 @@ void* getTypeBlob(Reference< XHierarchicalNameAccess > xTDmgr,
const
void
*
p
=
writer
.
getBlob
(
blobsize
);
pBlob
=
(
sal_uInt8
*
)
rtl_allocateMemory
(
*
blobsize
);
rtl_copyMemor
y
(
pBlob
,
p
,
*
blobsize
);
memcp
y
(
pBlob
,
p
,
*
blobsize
);
}
break
;
default
:
...
...
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