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
52be3fcb
Kaydet (Commit)
52be3fcb
authored
Agu 10, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
cppcheck: badBitmaskCheck
Change-Id: I0a6787379317e5077c5a4520e5144fe091a01538
üst
eab0ae6a
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
27 additions
and
39 deletions
+27
-39
iconcdlg.cxx
cui/source/dialogs/iconcdlg.cxx
+2
-4
optgenrl.cxx
cui/source/options/optgenrl.cxx
+1
-5
optlingu.cxx
cui/source/options/optlingu.cxx
+1
-5
optsave.cxx
cui/source/options/optsave.cxx
+8
-10
backgrnd.cxx
cui/source/tabpages/backgrnd.cxx
+5
-5
border.cxx
cui/source/tabpages/border.cxx
+2
-2
dp_manager.cxx
desktop/source/deployment/manager/dp_manager.cxx
+2
-2
tabdlg.cxx
sfx2/source/dialog/tabdlg.cxx
+3
-3
fmtextcontrolshell.cxx
svx/source/form/fmtextcontrolshell.cxx
+2
-2
javacompskeleton.cxx
unodevtools/source/skeletonmaker/javacompskeleton.cxx
+1
-1
No files found.
cui/source/dialogs/iconcdlg.cxx
Dosyayı görüntüle @
52be3fcb
...
...
@@ -820,7 +820,7 @@ short IconChoiceDialog::Ok()
if
(
pPage
->
FillItemSet
(
&
aTmp
)
)
{
_bModified
|
=
true
;
_bModified
=
true
;
pExampleSet
->
Put
(
aTmp
);
pOutSet
->
Put
(
aTmp
);
}
...
...
@@ -829,13 +829,11 @@ short IconChoiceDialog::Ok()
}
if
(
_bModified
||
(
pOutSet
&&
pOutSet
->
Count
()
>
0
)
)
_bModified
|
=
true
;
_bModified
=
true
;
return
_bModified
?
RET_OK
:
RET_CANCEL
;
}
void
IconChoiceDialog
::
FocusOnIcon
(
sal_uInt16
nId
)
{
// set focus to icon for the current visible page
...
...
cui/source/options/optgenrl.cxx
Dosyayı görüntüle @
52be3fcb
...
...
@@ -306,8 +306,6 @@ VclPtr<SfxTabPage> SvxGeneralTabPage::Create( vcl::Window* pParent, const SfxIte
return
VclPtr
<
SvxGeneralTabPage
>::
Create
(
pParent
,
*
rAttrSet
);
}
bool
SvxGeneralTabPage
::
FillItemSet
(
SfxItemSet
*
)
{
// remove leading and trailing whitespaces
...
...
@@ -320,13 +318,11 @@ bool SvxGeneralTabPage::FillItemSet( SfxItemSet* )
if
(
m_pUseDataCB
->
IsChecked
()
!=
aSaveOpt
.
IsUseUserData
()
)
{
aSaveOpt
.
SetUseUserData
(
m_pUseDataCB
->
IsChecked
()
);
bModified
|
=
true
;
bModified
=
true
;
}
return
bModified
;
}
void
SvxGeneralTabPage
::
Reset
(
const
SfxItemSet
*
rSet
)
{
SetAddress_Impl
();
...
...
cui/source/options/optlingu.cxx
Dosyayı görüntüle @
52be3fcb
...
...
@@ -1156,8 +1156,6 @@ VclPtr<SfxTabPage> SvxLinguTabPage::Create( vcl::Window* pParent,
return
VclPtr
<
SvxLinguTabPage
>::
Create
(
pParent
,
*
rAttrSet
);
}
bool
SvxLinguTabPage
::
FillItemSet
(
SfxItemSet
*
rCoreSet
)
{
bool
bModified
=
true
;
// !!!!
...
...
@@ -1315,14 +1313,12 @@ bool SvxLinguTabPage::FillItemSet( SfxItemSet* rCoreSet )
{
rCoreSet
->
Put
(
SfxBoolItem
(
GetWhich
(
SID_AUTOSPELL_CHECK
),
bNewAutoCheck
)
);
bModified
|
=
true
;
bModified
=
true
;
}
return
bModified
;
}
sal_uLong
SvxLinguTabPage
::
GetDicUserData
(
const
uno
::
Reference
<
XDictionary
>
&
rxDic
,
sal_uInt16
nIdx
)
{
sal_uLong
nRes
=
0
;
...
...
cui/source/options/optsave.cxx
Dosyayı görüntüle @
52be3fcb
...
...
@@ -280,55 +280,55 @@ bool SfxSaveTabPage::FillItemSet( SfxItemSet* rSet )
{
rSet
->
Put
(
SfxBoolItem
(
GetWhich
(
SID_ATTR_DOCINFO
),
aDocInfoCB
->
IsChecked
()
)
);
bModified
|
=
true
;
bModified
=
true
;
}
if
(
aBackupCB
->
IsEnabled
()
&&
aBackupCB
->
IsValueChangedFromSaved
()
)
{
rSet
->
Put
(
SfxBoolItem
(
GetWhich
(
SID_ATTR_BACKUP
),
aBackupCB
->
IsChecked
()
)
);
bModified
|
=
true
;
bModified
=
true
;
}
if
(
aAutoSaveCB
->
IsValueChangedFromSaved
()
)
{
rSet
->
Put
(
SfxBoolItem
(
GetWhich
(
SID_ATTR_AUTOSAVE
),
aAutoSaveCB
->
IsChecked
()
)
);
bModified
|
=
true
;
bModified
=
true
;
}
if
(
aWarnAlienFormatCB
->
IsValueChangedFromSaved
()
)
{
rSet
->
Put
(
SfxBoolItem
(
GetWhich
(
SID_ATTR_WARNALIENFORMAT
),
aWarnAlienFormatCB
->
IsChecked
()
)
);
bModified
|
=
true
;
bModified
=
true
;
}
if
(
aAutoSaveEdit
->
IsValueChangedFromSaved
()
)
{
rSet
->
Put
(
SfxUInt16Item
(
GetWhich
(
SID_ATTR_AUTOSAVEMINUTE
),
(
sal_uInt16
)
aAutoSaveEdit
->
GetValue
()
)
);
bModified
|
=
true
;
bModified
=
true
;
}
if
(
aUserAutoSaveCB
->
IsValueChangedFromSaved
()
)
{
rSet
->
Put
(
SfxBoolItem
(
GetWhich
(
SID_ATTR_USERAUTOSAVE
),
aUserAutoSaveCB
->
IsChecked
()
)
);
bModified
|
=
true
;
bModified
=
true
;
}
// save relatively
if
(
aRelativeFsysCB
->
IsValueChangedFromSaved
()
)
{
rSet
->
Put
(
SfxBoolItem
(
GetWhich
(
SID_SAVEREL_FSYS
),
aRelativeFsysCB
->
IsChecked
()
)
);
bModified
|
=
true
;
bModified
=
true
;
}
if
(
aRelativeInetCB
->
IsValueChangedFromSaved
()
)
{
rSet
->
Put
(
SfxBoolItem
(
GetWhich
(
SID_SAVEREL_INET
),
aRelativeInetCB
->
IsChecked
()
)
);
bModified
|
=
true
;
bModified
=
true
;
}
SvtModuleOptions
aModuleOpt
;
...
...
@@ -363,8 +363,6 @@ bool SfxSaveTabPage::FillItemSet( SfxItemSet* rSet )
return
bModified
;
}
bool
isODFFormat
(
const
OUString
&
sFilter
)
{
static
const
char
*
aODFFormats
[]
=
...
...
cui/source/tabpages/backgrnd.cxx
Dosyayı görüntüle @
52be3fcb
...
...
@@ -797,7 +797,7 @@ bool SvxBackgroundTabPage::FillItemSet( SfxItemSet* rCoreSet )
if
(
*
pTableBck_Impl
->
pCellBrush
!=
*
pOldCell
)
{
rCoreSet
->
Put
(
*
pTableBck_Impl
->
pCellBrush
);
bModified
|
=
true
;
bModified
=
true
;
}
}
...
...
@@ -809,7 +809,7 @@ bool SvxBackgroundTabPage::FillItemSet( SfxItemSet* rCoreSet )
if
(
*
pTableBck_Impl
->
pRowBrush
!=
*
pOldRow
)
{
rCoreSet
->
Put
(
*
pTableBck_Impl
->
pRowBrush
);
bModified
|
=
true
;
bModified
=
true
;
}
}
...
...
@@ -821,7 +821,7 @@ bool SvxBackgroundTabPage::FillItemSet( SfxItemSet* rCoreSet )
if
(
*
pTableBck_Impl
->
pTableBrush
!=
*
pOldTable
)
{
rCoreSet
->
Put
(
*
pTableBck_Impl
->
pTableBrush
);
bModified
|
=
true
;
bModified
=
true
;
}
}
...
...
@@ -829,7 +829,7 @@ bool SvxBackgroundTabPage::FillItemSet( SfxItemSet* rCoreSet )
{
rCoreSet
->
Put
(
SfxUInt16Item
(
SID_BACKGRND_DESTINATION
,
m_pTblLBox
->
GetSelectEntryPos
()
)
);
bModified
|
=
true
;
bModified
=
true
;
}
}
else
if
(
bHighlighting
)
...
...
@@ -842,7 +842,7 @@ bool SvxBackgroundTabPage::FillItemSet( SfxItemSet* rCoreSet )
(
*
pHighlighting
!=
*
pOldChar
||
*
pHighlighting
!=
SvxBrushItem
(
SID_ATTR_BRUSH_CHAR
)))
{
rCoreSet
->
Put
(
*
pHighlighting
);
bModified
|
=
true
;
bModified
=
true
;
}
}
}
...
...
cui/source/tabpages/border.cxx
Dosyayı görüntüle @
52be3fcb
...
...
@@ -742,14 +742,14 @@ bool SvxBorderTabPage::FillItemSet( SfxItemSet* rCoreAttrs )
if
(
!
pOldBoxItem
||
!
(
*
pOldBoxItem
==
aBoxItem
)
)
{
rCoreAttrs
->
Put
(
aBoxItem
);
bAttrsChanged
|
=
true
;
bAttrsChanged
=
true
;
}
const
SfxPoolItem
*
pOld
=
GetOldItem
(
*
rCoreAttrs
,
SID_ATTR_BORDER_INNER
,
false
);
if
(
!
pOld
||
!
(
*
static_cast
<
const
SvxBoxInfoItem
*>
(
pOld
)
==
aBoxInfoItem
)
)
{
rCoreAttrs
->
Put
(
aBoxInfoItem
);
bAttrsChanged
|
=
true
;
bAttrsChanged
=
true
;
}
}
else
...
...
desktop/source/deployment/manager/dp_manager.cxx
Dosyayı görüntüle @
52be3fcb
...
...
@@ -1268,7 +1268,7 @@ bool PackageManagerImpl::synchronizeRemovedExtensions(
xPackage
->
revokePackage
(
true
,
xAbortChannel
,
xCmdEnv
);
removePackage
(
xPackage
->
getIdentifier
().
Value
,
xPackage
->
getName
(),
xAbortChannel
,
xCmdEnv
);
bModified
|
=
true
;
bModified
=
true
;
}
}
catch
(
const
uno
::
Exception
&
e
)
...
...
@@ -1404,7 +1404,7 @@ bool PackageManagerImpl::synchronizeAddedExtensions(
//try to install the extension again.
dbData
.
failedPrerequisites
=
OUString
::
number
(
failedPrereq
);
insertToActivationLayerDB
(
id
,
dbData
);
bModified
|
=
true
;
bModified
=
true
;
}
}
}
...
...
sfx2/source/dialog/tabdlg.cxx
Dosyayı görüntüle @
52be3fcb
...
...
@@ -843,7 +843,7 @@ short SfxTabDialog::Ok()
if
(
pTabPage
->
FillItemSet
(
&
aTmp
)
)
{
bModified
|
=
true
;
bModified
=
true
;
if
(
pExampleSet
)
pExampleSet
->
Put
(
aTmp
);
pOutSet
->
Put
(
aTmp
);
...
...
@@ -853,10 +853,10 @@ short SfxTabDialog::Ok()
}
if
(
pImpl
->
bModified
||
(
pOutSet
&&
pOutSet
->
Count
()
>
0
)
)
bModified
|
=
true
;
bModified
=
true
;
if
(
bStandardPushed
)
bModified
|
=
true
;
bModified
=
true
;
return
bModified
?
RET_OK
:
RET_CANCEL
;
}
...
...
svx/source/form/fmtextcontrolshell.cxx
Dosyayı görüntüle @
52be3fcb
...
...
@@ -977,7 +977,7 @@ namespace svx
bDisable
|=
!
aDataHelper
.
HasFormat
(
SotClipboardFormatId
::
STRING
);
}
else
bDisable
|
=
true
;
bDisable
=
true
;
bNeedTextComponent
=
true
;
bNeedWriteableControl
=
true
;
...
...
@@ -995,7 +995,7 @@ namespace svx
default
:
// slot is unknown at all
bDisable
|
=
true
;
bDisable
=
true
;
break
;
}
SAL_WARN_IF
(
bNeedSelection
&&
!
bNeedTextComponent
,
"svx.form"
,
"FmTextControlShell::GetTextAttributeState: bNeedSelection should imply bNeedTextComponent!"
);
...
...
unodevtools/source/skeletonmaker/javacompskeleton.cxx
Dosyayı görüntüle @
52be3fcb
...
...
@@ -206,7 +206,7 @@ bool checkAttribute(
{
if
(
attribute
&
attributes
[
i
])
{
if
(
!
attributeValue
.
isEmpty
())
{
cast
|
=
true
;
cast
=
true
;
attributeValue
.
append
(
"|"
);
}
switch
(
attributes
[
i
])
...
...
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