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
bee3461c
Kaydet (Commit)
bee3461c
authored
Tem 02, 2017
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:casttovoid: cui
Change-Id: Id8c4baf8c22cde50c22e4dcbcb475d78294baf5d
üst
90c91f6b
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
28 deletions
+13
-28
cfg.cxx
cui/source/customize/cfg.cxx
+7
-19
macropg.cxx
cui/source/customize/macropg.cxx
+0
-1
hyphen.cxx
cui/source/dialogs/hyphen.cxx
+1
-2
cfg.hxx
cui/source/inc/cfg.hxx
+1
-1
optjava.cxx
cui/source/options/optjava.cxx
+4
-4
tpcolor.cxx
cui/source/tabpages/tpcolor.cxx
+0
-1
No files found.
cui/source/customize/cfg.cxx
Dosyayı görüntüle @
bee3461c
...
...
@@ -1531,18 +1531,14 @@ void SvxMenuEntriesListBox::dispose()
// drag and drop support
DragDropMode
SvxMenuEntriesListBox
::
NotifyStartDrag
(
TransferDataContainer
&
aTransferDataContainer
,
SvTreeListEntry
*
pEntry
)
TransferDataContainer
&
,
SvTreeListEntry
*
)
{
(
void
)
aTransferDataContainer
;
(
void
)
pEntry
;
m_bIsInternalDrag
=
true
;
return
GetDragDropMode
();
}
void
SvxMenuEntriesListBox
::
DragFinished
(
sal_Int8
nDropAction
)
void
SvxMenuEntriesListBox
::
DragFinished
(
sal_Int8
)
{
(
void
)
nDropAction
;
m_bIsInternalDrag
=
false
;
}
...
...
@@ -1593,13 +1589,9 @@ TriState SvxMenuEntriesListBox::NotifyMoving(
}
TriState
SvxMenuEntriesListBox
::
NotifyCopying
(
SvTreeListEntry
*
pTarget
,
SvTreeListEntry
*
pSource
,
SvTreeListEntry
*&
rpNewParent
,
sal_uLong
&
rNewChildPos
)
SvTreeListEntry
*
pTarget
,
SvTreeListEntry
*
,
SvTreeListEntry
*&
,
sal_uLong
&
)
{
(
void
)
pSource
;
(
void
)
rpNewParent
;
(
void
)
rNewChildPos
;
if
(
!
m_bIsInternalDrag
)
{
// if the target is NULL then add function to the start of the list
...
...
@@ -4846,14 +4838,10 @@ TriState SvxToolbarEntriesListBox::NotifyMoving(
TriState
SvxToolbarEntriesListBox
::
NotifyCopying
(
SvTreeListEntry
*
pTarget
,
SvTreeListEntry
*
pSource
,
SvTreeListEntry
*&
rpNewParent
,
sal_uLong
&
rNewChildPos
)
SvTreeListEntry
*
,
SvTreeListEntry
*&
,
sal_uLong
&
)
{
(
void
)
pSource
;
(
void
)
rpNewParent
;
(
void
)
rNewChildPos
;
if
(
!
m_bIsInternalDrag
)
{
// if the target is NULL then add function to the start of the list
...
...
cui/source/customize/macropg.cxx
Dosyayı görüntüle @
bee3461c
...
...
@@ -85,7 +85,6 @@ static long nTabs[] =
IMPL_LINK
(
MacroEventListBox
,
HeaderEndDrag_Impl
,
HeaderBar
*
,
pBar
,
void
)
{
DBG_ASSERT
(
pBar
==
maHeaderBar
.
get
(),
"*MacroEventListBox::HeaderEndDrag_Impl: something is wrong here..."
);
(
void
)
pBar
;
if
(
!
maHeaderBar
->
GetCurItemId
()
)
return
;
...
...
cui/source/dialogs/hyphen.cxx
Dosyayı görüntüle @
bee3461c
...
...
@@ -364,9 +364,8 @@ IMPL_LINK_NOARG( SvxHyphenWordDialog, HyphenateAllHdl_Impl, Button *, void )
xProp
->
setIsHyphAuto
(
false
);
}
catch
(
uno
::
Exception
&
e
)
catch
(
uno
::
Exception
&
)
{
(
void
)
e
;
SAL_WARN
(
"cui.dialogs"
,
"Hyphenate All failed"
);
}
}
...
...
cui/source/inc/cfg.hxx
Dosyayı görüntüle @
bee3461c
...
...
@@ -191,7 +191,7 @@ public:
/// methods inherited from SaveInData
SvxEntries
*
GetEntries
()
override
;
void
SetEntries
(
SvxEntries
*
)
override
;
bool
HasURL
(
const
OUString
&
URL
)
override
{
(
void
)
URL
;
return
false
;
}
bool
HasURL
(
const
OUString
&
)
override
{
return
false
;
}
bool
HasSettings
()
override
{
return
m_xMenuSettings
.
is
();
}
void
Reset
()
override
;
bool
Apply
()
override
;
...
...
cui/source/options/optjava.cxx
Dosyayı görüntüle @
bee3461c
...
...
@@ -597,7 +597,7 @@ bool SvxJavaOptionsPage::FillItemSet( SfxItemSet* /*rCoreSet*/ )
if
(
m_pParamDlg
)
{
eErr
=
jfw_setVMParameters
(
m_pParamDlg
->
GetParameters
()
);
SAL_WARN_IF
(
JFW_E_NONE
!=
eErr
,
"cui.options"
,
"SvxJavaOptionsPage::FillItemSet(): error in jfw_setVMParameters"
);
(
void
)
eErr
;
SAL_WARN_IF
(
JFW_E_NONE
!=
eErr
,
"cui.options"
,
"SvxJavaOptionsPage::FillItemSet(): error in jfw_setVMParameters"
);
bModified
=
true
;
}
...
...
@@ -607,7 +607,7 @@ bool SvxJavaOptionsPage::FillItemSet( SfxItemSet* /*rCoreSet*/ )
if
(
m_pPathDlg
->
GetOldPath
()
!=
sPath
)
{
eErr
=
jfw_setUserClassPath
(
sPath
);
SAL_WARN_IF
(
JFW_E_NONE
!=
eErr
,
"cui.options"
,
"SvxJavaOptionsPage::FillItemSet(): error in jfw_setUserClassPath"
);
(
void
)
eErr
;
SAL_WARN_IF
(
JFW_E_NONE
!=
eErr
,
"cui.options"
,
"SvxJavaOptionsPage::FillItemSet(): error in jfw_setUserClassPath"
);
bModified
=
true
;
}
}
...
...
@@ -638,7 +638,7 @@ bool SvxJavaOptionsPage::FillItemSet( SfxItemSet* /*rCoreSet*/ )
}
eErr
=
jfw_setSelectedJRE
(
pInfo
);
SAL_WARN_IF
(
JFW_E_NONE
!=
eErr
,
"cui.options"
,
"SvxJavaOptionsPage::FillItemSet(): error in jfw_setSelectedJRE"
);
(
void
)
eErr
;
SAL_WARN_IF
(
JFW_E_NONE
!=
eErr
,
"cui.options"
,
"SvxJavaOptionsPage::FillItemSet(): error in jfw_setSelectedJRE"
);
bModified
=
true
;
}
}
...
...
@@ -649,7 +649,7 @@ bool SvxJavaOptionsPage::FillItemSet( SfxItemSet* /*rCoreSet*/ )
bool
bEnabled
=
false
;
eErr
=
jfw_getEnabled
(
&
bEnabled
);
DBG_ASSERT
(
JFW_E_NONE
==
eErr
,
"SvxJavaOptionsPage::FillItemSet(): error in jfw_getEnabled"
);
(
void
)
eErr
;
"SvxJavaOptionsPage::FillItemSet(): error in jfw_getEnabled"
);
if
(
bEnabled
!=
m_pJavaEnableCB
->
IsChecked
()
)
{
eErr
=
jfw_setEnabled
(
m_pJavaEnableCB
->
IsChecked
()
);
...
...
cui/source/tabpages/tpcolor.cxx
Dosyayı görüntüle @
bee3461c
...
...
@@ -767,7 +767,6 @@ void SvxColorTabPage::FillUserData()
void
SvxColorTabPage
::
SetPropertyList
(
XPropertyListType
t
,
const
XPropertyListRef
&
xRef
)
{
(
void
)
t
;
OSL_ASSERT
(
t
==
XPropertyListType
::
Color
);
pColorList
=
XColorListRef
(
static_cast
<
XColorList
*>
(
xRef
.
get
()
)
);
}
...
...
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