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
17fe7fc5
Kaydet (Commit)
17fe7fc5
authored
Ock 18, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Some more loplugin:cstylecast: toolkit
Change-Id: I8f2963e7bbd1053ea12af22424f4f7a0f65a3486
üst
e935f05c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
vclxprinter.cxx
toolkit/source/awt/vclxprinter.cxx
+1
-1
vclxtoolkit.cxx
toolkit/source/awt/vclxtoolkit.cxx
+2
-2
accessibilityclient.cxx
toolkit/source/helper/accessibilityclient.cxx
+2
-2
vclunohelper.cxx
toolkit/source/helper/vclunohelper.cxx
+2
-2
No files found.
toolkit/source/awt/vclxprinter.cxx
Dosyayı görüntüle @
17fe7fc5
...
...
@@ -250,7 +250,7 @@ void VCLXPrinterPropertySet::setBinarySetup( const ::com::sun::star::uno::Sequen
{
::
osl
::
MutexGuard
aGuard
(
Mutex
);
SvMemoryStream
aMem
(
(
char
*
)
data
.
getConstArray
(
),
data
.
getLength
(),
StreamMode
::
READ
);
SvMemoryStream
aMem
(
const_cast
<
signed
char
*>
(
data
.
getConstArray
()
),
data
.
getLength
(),
StreamMode
::
READ
);
sal_uInt32
nMarker
;
aMem
.
ReadUInt32
(
nMarker
);
DBG_ASSERT
(
nMarker
==
BINARYSETUPMARKER
,
"setBinarySetup - invalid!"
);
...
...
toolkit/source/awt/vclxtoolkit.cxx
Dosyayı görüntüle @
17fe7fc5
...
...
@@ -1060,7 +1060,7 @@ vcl::Window* VCLXToolkit::ImplCreateWindow( VCLXWindow** ppNewComp,
{
sal_Int8
processID
[
16
];
rtl_getGlobalProcessId
(
(
sal_uInt8
*
)
processID
);
rtl_getGlobalProcessId
(
reinterpret_cast
<
sal_uInt8
*>
(
processID
)
);
::
com
::
sun
::
star
::
uno
::
Sequence
<
sal_Int8
>
processIdSeq
((
sal_Int8
*
)
processID
,
16
);
...
...
@@ -1212,7 +1212,7 @@ css::uno::Reference< css::awt::XWindowPeer > VCLXToolkit::ImplCreateWindow(
if
(
hSvToolsLib
)
{
OUString
aFunctionName
(
"CreateWindow"
);
fnSvtCreateWindow
=
(
FN_SvtCreateWindow
)
osl_getFunctionSymbol
(
hSvToolsLib
,
aFunctionName
.
pData
);
fnSvtCreateWindow
=
reinterpret_cast
<
FN_SvtCreateWindow
>
(
osl_getFunctionSymbol
(
hSvToolsLib
,
aFunctionName
.
pData
)
);
}
#else
fnSvtCreateWindow
=
CreateWindow
;
...
...
toolkit/source/helper/accessibilityclient.cxx
Dosyayı görüntüle @
17fe7fc5
...
...
@@ -168,8 +168,8 @@ namespace toolkit
{
const
OUString
sFactoryCreationFunc
=
OUString
(
"getStandardAccessibleFactory"
);
s_pAccessibleFactoryFunc
=
(
GetStandardAccComponentFactory
)
osl_getFunctionSymbol
(
s_hAccessibleImplementationModule
,
sFactoryCreationFunc
.
pData
);
s_pAccessibleFactoryFunc
=
reinterpret_cast
<
GetStandardAccComponentFactory
>
(
osl_getFunctionSymbol
(
s_hAccessibleImplementationModule
,
sFactoryCreationFunc
.
pData
)
)
;
}
OSL_ENSURE
(
s_pAccessibleFactoryFunc
,
"AccessibilityClient::ensureInitialized: could not load the library, or not retrieve the needed symbol!"
);
...
...
toolkit/source/helper/vclunohelper.cxx
Dosyayı görüntüle @
17fe7fc5
...
...
@@ -87,12 +87,12 @@ BitmapEx VCLUnoHelper::GetBitmap( const ::com::sun::star::uno::Reference< ::com:
Bitmap
aDIB
,
aMask
;
{
::
com
::
sun
::
star
::
uno
::
Sequence
<
sal_Int8
>
aBytes
=
rxBitmap
->
getDIB
();
SvMemoryStream
aMem
(
(
char
*
)
aBytes
.
getArray
(),
aBytes
.
getLength
(),
StreamMode
::
READ
);
SvMemoryStream
aMem
(
aBytes
.
getArray
(),
aBytes
.
getLength
(),
StreamMode
::
READ
);
ReadDIB
(
aDIB
,
aMem
,
true
);
}
{
::
com
::
sun
::
star
::
uno
::
Sequence
<
sal_Int8
>
aBytes
=
rxBitmap
->
getMaskDIB
();
SvMemoryStream
aMem
(
(
char
*
)
aBytes
.
getArray
(),
aBytes
.
getLength
(),
StreamMode
::
READ
);
SvMemoryStream
aMem
(
aBytes
.
getArray
(),
aBytes
.
getLength
(),
StreamMode
::
READ
);
ReadDIB
(
aMask
,
aMem
,
true
);
}
aBmp
=
BitmapEx
(
aDIB
,
aMask
);
...
...
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