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
4c449bc7
Kaydet (Commit)
4c449bc7
authored
Nis 02, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:redundantcast
Change-Id: I6095d1209f2339387e8562074daa32779089a018
üst
f4796210
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
9 deletions
+9
-9
DataFlavorMapping.cxx
vcl/osx/DataFlavorMapping.cxx
+1
-1
salinst.cxx
vcl/osx/salinst.cxx
+1
-1
salprn.cxx
vcl/osx/salprn.cxx
+3
-3
salgdiutils.cxx
vcl/quartz/salgdiutils.cxx
+2
-2
salvd.cxx
vcl/quartz/salvd.cxx
+1
-1
utils.cxx
vcl/quartz/utils.cxx
+1
-1
No files found.
vcl/osx/DataFlavorMapping.cxx
Dosyayı görüntüle @
4c449bc7
...
...
@@ -216,7 +216,7 @@ Any UniDataProvider::getOOoData()
if
(
mSystemData
)
{
oOOData
=
makeAny
(
OUString
(
reinterpret
_cast
<
const
sal_Char
*>
([
mSystemData
bytes
]),
oOOData
=
makeAny
(
OUString
(
static
_cast
<
const
sal_Char
*>
([
mSystemData
bytes
]),
[
mSystemData
length
],
RTL_TEXTENCODING_UTF8
));
}
...
...
vcl/osx/salinst.cxx
Dosyayı görüntüle @
4c449bc7
...
...
@@ -1057,7 +1057,7 @@ NSImage* CreateNSImage( const Image& rImage )
{
[
pImage
lockFocusFlipped
:
YES
];
NSGraphicsContext
*
pContext
=
[
NSGraphicsContext
currentContext
];
CGContextRef
rCGContext
=
reinterpret
_cast
<
CGContextRef
>
([
pContext
graphicsPort
]);
CGContextRef
rCGContext
=
static
_cast
<
CGContextRef
>
([
pContext
graphicsPort
]);
const
CGRect
aDstRect
=
{
{
0
,
0
},
{
static_cast
<
CGFloat
>
(
aSize
.
Width
()),
static_cast
<
CGFloat
>
(
aSize
.
Height
())
}
};
CGContextDrawImage
(
rCGContext
,
aDstRect
,
xImage
);
...
...
vcl/osx/salprn.cxx
Dosyayı görüntüle @
4c449bc7
...
...
@@ -78,7 +78,7 @@ AquaSalInfoPrinter::AquaSalInfoPrinter( const SalPrinterQueueInfo& i_rQueue ) :
mpGraphics
=
new
AquaSalGraphics
();
const
int
nWidth
=
100
,
nHeight
=
100
;
maContextMemory
.
reset
(
reinterpret
_cast
<
sal_uInt8
*>
(
rtl_allocateMemory
(
nWidth
*
4
*
nHeight
)
),
maContextMemory
.
reset
(
static
_cast
<
sal_uInt8
*>
(
rtl_allocateMemory
(
nWidth
*
4
*
nHeight
)
),
boost
::
bind
(
rtl_freeMemory
,
_1
)
);
if
(
maContextMemory
)
...
...
@@ -193,7 +193,7 @@ bool AquaSalInfoPrinter::SetPrinterData( ImplJobSetup* io_pSetupData )
io_pSetupData
->
meOrientation
=
mePageOrientation
;
io_pSetupData
->
mnPaperBin
=
0
;
io_pSetupData
->
mpDriverData
=
reinterpret
_cast
<
sal_uInt8
*>
(
rtl_allocateMemory
(
4
));
io_pSetupData
->
mpDriverData
=
static
_cast
<
sal_uInt8
*>
(
rtl_allocateMemory
(
4
));
io_pSetupData
->
mnDriverDataLen
=
4
;
}
else
...
...
@@ -550,7 +550,7 @@ SalGraphics* AquaSalInfoPrinter::StartPage( ImplJobSetup* i_pSetupData, bool i_b
if
(
i_bNewJobData
&&
i_pSetupData
)
SetPrinterData
(
i_pSetupData
);
CGContextRef
rContext
=
reinterpret
_cast
<
CGContextRef
>
([[
NSGraphicsContext
currentContext
]
graphicsPort
]);
CGContextRef
rContext
=
static
_cast
<
CGContextRef
>
([[
NSGraphicsContext
currentContext
]
graphicsPort
]);
SetupPrinterGraphics
(
rContext
);
...
...
vcl/quartz/salgdiutils.cxx
Dosyayı görüntüle @
4c449bc7
...
...
@@ -116,7 +116,7 @@ bool AquaSalGraphics::CheckContext()
{
const
CGSize
aLayerSize
=
{
static_cast
<
CGFloat
>
(
nWidth
),
static_cast
<
CGFloat
>
(
nHeight
)
};
NSGraphicsContext
*
pNSGContext
=
[
NSGraphicsContext
graphicsContextWithWindow
:
mpFrame
->
getNSWindow
()];
CGContextRef
xCGContext
=
reinterpret
_cast
<
CGContextRef
>
([
pNSGContext
graphicsPort
]);
CGContextRef
xCGContext
=
static
_cast
<
CGContextRef
>
([
pNSGContext
graphicsPort
]);
mxLayer
=
CGLayerCreateWithContext
(
xCGContext
,
aLayerSize
,
NULL
);
CG_TRACE
(
"CGLayerCreateWithContext("
<<
xCGContext
<<
","
<<
aLayerSize
<<
",NULL) = "
<<
mxLayer
);
if
(
mxLayer
)
...
...
@@ -180,7 +180,7 @@ void AquaSalGraphics::UpdateWindow( NSRect& )
NSGraphicsContext
*
pContext
=
[
NSGraphicsContext
currentContext
];
if
(
(
mxLayer
!=
NULL
)
&&
(
pContext
!=
NULL
)
)
{
CGContextRef
rCGContext
=
reinterpret
_cast
<
CGContextRef
>
([
pContext
graphicsPort
]);
CGContextRef
rCGContext
=
static
_cast
<
CGContextRef
>
([
pContext
graphicsPort
]);
CG_TRACE
(
"[[NSGraphicsContext currentContext] graphicsPort] = "
<<
rCGContext
);
CGMutablePathRef
rClip
=
mpFrame
->
getClipPath
();
...
...
vcl/quartz/salvd.cxx
Dosyayı görüntüle @
4c449bc7
...
...
@@ -236,7 +236,7 @@ bool AquaSalVirtualDevice::SetSize( long nDX, long nDY )
{
NSGraphicsContext
*
pNSContext
=
[
NSGraphicsContext
graphicsContextWithWindow
:
pNSWindow
];
if
(
pNSContext
)
xCGContext
=
reinterpret
_cast
<
CGContextRef
>
([
pNSContext
graphicsPort
]);
xCGContext
=
static
_cast
<
CGContextRef
>
([
pNSContext
graphicsPort
]);
}
else
{
...
...
vcl/quartz/utils.cxx
Dosyayı görüntüle @
4c449bc7
...
...
@@ -35,7 +35,7 @@ OUString GetOUString( CFStringRef rStr )
const
UniChar
*
pConstStr
=
CFStringGetCharactersPtr
(
rStr
);
if
(
pConstStr
)
return
OUString
(
pConstStr
,
nLength
);
UniChar
*
pStr
=
reinterpret
_cast
<
UniChar
*>
(
rtl_allocateMemory
(
sizeof
(
UniChar
)
*
nLength
)
);
UniChar
*
pStr
=
static
_cast
<
UniChar
*>
(
rtl_allocateMemory
(
sizeof
(
UniChar
)
*
nLength
)
);
CFRange
aRange
=
{
0
,
nLength
};
CFStringGetCharacters
(
rStr
,
aRange
,
pStr
);
OUString
aRet
(
pStr
,
nLength
);
...
...
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