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
bcc36b63
Kaydet (Commit)
bcc36b63
authored
May 29, 2019
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Add a couple of SAL_INFOs about types available on the system clipboard
Change-Id: I821a699ee4f44881aadac89f265974a10095b544
üst
58f121ef
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
0 deletions
+15
-0
log-areas.dox
include/sal/log-areas.dox
+1
-0
DataFlavorMapping.cxx
vcl/ios/DataFlavorMapping.cxx
+2
-0
iOSTransferable.cxx
vcl/ios/iOSTransferable.cxx
+12
-0
No files found.
include/sal/log-areas.dox
Dosyayı görüntüle @
bcc36b63
...
...
@@ -478,6 +478,7 @@ certain functionality.
@li @c vcl.headless - bitmap-based backend
@li @c vcl.helper
@li @c vcl.icontest
@li @c vcl.ios.clipboard
@li @c vcl.kde5 - KDE5
@li @c vcl.layout - Widget layout
@li @c vcl.lazydelete
...
...
vcl/ios/DataFlavorMapping.cxx
Dosyayı görüntüle @
bcc36b63
...
...
@@ -557,6 +557,8 @@ DataFlavorMapper::typesArrayToFlavorSequence(NSArray* types) const
{
flavors
.
realloc
(
flavors
.
getLength
()
+
1
);
flavors
[
flavors
.
getLength
()
-
1
]
=
oOOFlavor
;
SAL_INFO
(
"vcl.ios.clipboard"
,
"Mapped "
<<
[
sysFormat
UTF8String
]
<<
" to "
<<
oOOFlavor
.
MimeType
);
}
}
...
...
vcl/ios/iOSTransferable.cxx
Dosyayı görüntüle @
bcc36b63
...
...
@@ -21,6 +21,7 @@
#include <com/sun/star/datatransfer/UnsupportedFlavorException.hpp>
#include <com/sun/star/lang/IllegalArgumentException.hpp>
#include <sal/log.hxx>
#include <sal/types.h>
#include <osl/diagnose.h>
...
...
@@ -142,6 +143,17 @@ void iOSTransferable::initClipboardItemList()
throw
RuntimeException
(
"Cannot get clipboard data"
,
static_cast
<
XTransferable
*>
(
this
));
}
#ifdef SAL_LOG_INFO
NSString
*
types
=
@
""
;
for
(
unsigned
i
=
0
;
i
<
[
pboardFormats
count
];
i
++
)
{
if
([
types
length
]
>
0
)
types
=
[
types
stringByAppendingString
:
@
", "
];
types
=
[
types
stringByAppendingString
:
[
pboardFormats
objectAtIndex
:
i
]];
}
SAL_INFO
(
"vcl.ios.clipboard"
,
"Types on clipboard: "
<<
[
types
UTF8String
]);
#endif
mFlavorList
=
mDataFlavorMapper
->
typesArrayToFlavorSequence
(
pboardFormats
);
}
...
...
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