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
b3e64c37
Kaydet (Commit)
b3e64c37
authored
Şub 06, 2013
tarafından
Julien Nabet
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Some cppcheck cleaning
Change-Id: I1b80271473166755e8f0afaa7af8ffc7bea394b3
üst
444ae4d0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
14 deletions
+6
-14
cfg.cxx
cui/source/customize/cfg.cxx
+1
-2
converters.cxx
drawinglayer/source/tools/converters.cxx
+1
-2
rscdef.cxx
rsc/source/tools/rscdef.cxx
+4
-10
No files found.
cui/source/customize/cfg.cxx
Dosyayı görüntüle @
b3e64c37
...
@@ -1793,7 +1793,6 @@ void SvxConfigPage::Reset( const SfxItemSet& )
...
@@ -1793,7 +1793,6 @@ void SvxConfigPage::Reset( const SfxItemSet& )
for
(
sal_Int32
i
=
0
;
i
<
aFrameList
.
getLength
();
++
i
)
for
(
sal_Int32
i
=
0
;
i
<
aFrameList
.
getLength
();
++
i
)
{
{
SaveInData
*
pData
=
NULL
;
uno
::
Reference
<
frame
::
XFrame
>
xf
=
aFrameList
[
i
];
uno
::
Reference
<
frame
::
XFrame
>
xf
=
aFrameList
[
i
];
if
(
xf
.
is
()
&&
xf
!=
m_xFrame
)
if
(
xf
.
is
()
&&
xf
!=
m_xFrame
)
...
@@ -1833,7 +1832,7 @@ void SvxConfigPage::Reset( const SfxItemSet& )
...
@@ -1833,7 +1832,7 @@ void SvxConfigPage::Reset( const SfxItemSet& )
if
(
xDocCfgMgr
.
is
()
)
if
(
xDocCfgMgr
.
is
()
)
{
{
pData
=
CreateSaveInData
(
xDocCfgMgr
,
xCfgMgr
,
aModuleId
,
sal_True
);
SaveInData
*
pData
=
CreateSaveInData
(
xDocCfgMgr
,
xCfgMgr
,
aModuleId
,
sal_True
);
if
(
pData
&&
!
pData
->
IsReadOnly
()
)
if
(
pData
&&
!
pData
->
IsReadOnly
()
)
{
{
...
...
drawinglayer/source/tools/converters.cxx
Dosyayı görüntüle @
b3e64c37
...
@@ -53,9 +53,8 @@ namespace drawinglayer
...
@@ -53,9 +53,8 @@ namespace drawinglayer
if
(
nViewVisibleArea
>
nMaxQuadratPixels
)
if
(
nViewVisibleArea
>
nMaxQuadratPixels
)
{
{
double
fReduceFactor
(
1.0
);
// reduce render size
// reduce render size
fReduceFactor
=
sqrt
((
double
)
nMaxQuadratPixels
/
(
double
)
nViewVisibleArea
);
double
fReduceFactor
=
sqrt
((
double
)
nMaxQuadratPixels
/
(
double
)
nViewVisibleArea
);
nDiscreteWidth
=
basegfx
::
fround
((
double
)
nDiscreteWidth
*
fReduceFactor
);
nDiscreteWidth
=
basegfx
::
fround
((
double
)
nDiscreteWidth
*
fReduceFactor
);
nDiscreteHeight
=
basegfx
::
fround
((
double
)
nDiscreteHeight
*
fReduceFactor
);
nDiscreteHeight
=
basegfx
::
fround
((
double
)
nDiscreteHeight
*
fReduceFactor
);
...
...
rsc/source/tools/rscdef.cxx
Dosyayı görüntüle @
b3e64c37
...
@@ -844,13 +844,10 @@ void RscFileTab :: DeleteFileContext( sal_uLong lFileKey ){
...
@@ -844,13 +844,10 @@ void RscFileTab :: DeleteFileContext( sal_uLong lFileKey ){
*************************************************************************/
*************************************************************************/
sal_uLong
RscFileTab
::
NewCodeFile
(
const
rtl
::
OString
&
rName
)
sal_uLong
RscFileTab
::
NewCodeFile
(
const
rtl
::
OString
&
rName
)
{
{
sal_uLong
lKey
;
sal_uLong
lKey
=
Find
(
rName
);
RscFile
*
pFName
;
lKey
=
Find
(
rName
);
if
(
UNIQUEINDEX_ENTRY_NOTFOUND
==
lKey
)
if
(
UNIQUEINDEX_ENTRY_NOTFOUND
==
lKey
)
{
{
pFName
=
new
RscFile
();
RscFile
*
pFName
=
new
RscFile
();
pFName
->
aFileName
=
rName
;
pFName
->
aFileName
=
rName
;
pFName
->
aPathName
=
rName
;
pFName
->
aPathName
=
rName
;
lKey
=
Insert
(
pFName
);
lKey
=
Insert
(
pFName
);
...
@@ -867,13 +864,10 @@ sal_uLong RscFileTab :: NewCodeFile( const rtl::OString& rName )
...
@@ -867,13 +864,10 @@ sal_uLong RscFileTab :: NewCodeFile( const rtl::OString& rName )
sal_uLong
RscFileTab
::
NewIncFile
(
const
rtl
::
OString
&
rName
,
sal_uLong
RscFileTab
::
NewIncFile
(
const
rtl
::
OString
&
rName
,
const
rtl
::
OString
&
rPath
)
const
rtl
::
OString
&
rPath
)
{
{
sal_uLong
lKey
;
sal_uLong
lKey
=
Find
(
rName
);
RscFile
*
pFName
;
lKey
=
Find
(
rName
);
if
(
UNIQUEINDEX_ENTRY_NOTFOUND
==
lKey
)
if
(
UNIQUEINDEX_ENTRY_NOTFOUND
==
lKey
)
{
{
pFName
=
new
RscFile
();
RscFile
*
pFName
=
new
RscFile
();
pFName
->
aFileName
=
rName
;
pFName
->
aFileName
=
rName
;
pFName
->
aPathName
=
rPath
;
pFName
->
aPathName
=
rPath
;
pFName
->
SetIncFlag
();
pFName
->
SetIncFlag
();
...
...
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