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
dbd675df
Kaydet (Commit)
dbd675df
authored
Haz 04, 2013
tarafından
Fridrich Štrba
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Some "cast from ... to ... loses precision fixes"
Change-Id: Ib1d827bfa224e8708fd1e41b1ad213bcfef9a012
üst
57d88588
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
numberedcollection.cxx
comphelper/source/misc/numberedcollection.cxx
+4
-4
resmgr.cxx
tools/source/rc/resmgr.cxx
+2
-2
No files found.
comphelper/source/misc/numberedcollection.cxx
Dosyayı görüntüle @
dbd675df
...
@@ -74,8 +74,8 @@ void NumberedCollection::setUntitledPrefix(const OUString& sPrefix)
...
@@ -74,8 +74,8 @@ void NumberedCollection::setUntitledPrefix(const OUString& sPrefix)
if
(
!
xComponent
.
is
())
if
(
!
xComponent
.
is
())
throw
css
::
lang
::
IllegalArgumentException
(
OUString
(
ERRMSG_INVALID_COMPONENT_PARAM
),
m_xOwner
.
get
(),
1
);
throw
css
::
lang
::
IllegalArgumentException
(
OUString
(
ERRMSG_INVALID_COMPONENT_PARAM
),
m_xOwner
.
get
(),
1
);
long
pComponent
=
(
long
)
xComponent
.
get
();
sal_IntPtr
pComponent
=
(
sal_IntPtr
)
xComponent
.
get
();
TNumberedItemHash
::
const_iterator
pIt
=
m_lComponents
.
find
(
pComponent
);
TNumberedItemHash
::
const_iterator
pIt
=
m_lComponents
.
find
(
pComponent
);
// a) component already exists - return it's number directly
// a) component already exists - return it's number directly
if
(
pIt
!=
m_lComponents
.
end
())
if
(
pIt
!=
m_lComponents
.
end
())
...
@@ -150,8 +150,8 @@ void SAL_CALL NumberedCollection::releaseNumberForComponent(const css::uno::Refe
...
@@ -150,8 +150,8 @@ void SAL_CALL NumberedCollection::releaseNumberForComponent(const css::uno::Refe
if
(
!
xComponent
.
is
())
if
(
!
xComponent
.
is
())
throw
css
::
lang
::
IllegalArgumentException
(
OUString
(
ERRMSG_INVALID_COMPONENT_PARAM
),
m_xOwner
.
get
(),
1
);
throw
css
::
lang
::
IllegalArgumentException
(
OUString
(
ERRMSG_INVALID_COMPONENT_PARAM
),
m_xOwner
.
get
(),
1
);
long
pComponent
=
(
long
)
xComponent
.
get
();
sal_IntPtr
pComponent
=
(
sal_IntPtr
)
xComponent
.
get
();
TNumberedItemHash
::
iterator
pIt
=
m_lComponents
.
find
(
pComponent
);
TNumberedItemHash
::
iterator
pIt
=
m_lComponents
.
find
(
pComponent
);
// a) component exists and will be removed
// a) component exists and will be removed
if
(
pIt
!=
m_lComponents
.
end
())
if
(
pIt
!=
m_lComponents
.
end
())
...
...
tools/source/rc/resmgr.cxx
Dosyayı görüntüle @
dbd675df
...
@@ -1235,9 +1235,9 @@ sal_uInt32 ResMgr::GetRemainSize()
...
@@ -1235,9 +1235,9 @@ sal_uInt32 ResMgr::GetRemainSize()
return
pFallbackResMgr
->
GetRemainSize
();
return
pFallbackResMgr
->
GetRemainSize
();
const
ImpRCStack
&
rTop
=
aStack
[
nCurStack
];
const
ImpRCStack
&
rTop
=
aStack
[
nCurStack
];
return
(
sal_uInt32
)((
long
)(
sal_uInt8
*
)
rTop
.
pResource
+
return
(
sal_uInt32
)((
sal_IntPtr
)(
sal_uInt8
*
)
rTop
.
pResource
+
rTop
.
pResource
->
GetLocalOff
()
-
rTop
.
pResource
->
GetLocalOff
()
-
(
long
)(
sal_uInt8
*
)
rTop
.
pClassRes
);
(
sal_IntPtr
)(
sal_uInt8
*
)
rTop
.
pClassRes
);
}
}
void
*
ResMgr
::
Increment
(
sal_uInt32
nSize
)
void
*
ResMgr
::
Increment
(
sal_uInt32
nSize
)
...
...
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