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
278aae13
Kaydet (Commit)
278aae13
authored
Tem 02, 2017
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:casttovoid: sfx2
Change-Id: If08aeb785b6ccffe477ddacc314f2182f6746648
üst
58c0252f
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
8 additions
and
22 deletions
+8
-22
shutdownicon.cxx
sfx2/source/appl/shutdownicon.cxx
+2
-2
statcach.cxx
sfx2/source/control/statcach.cxx
+0
-2
thumbnailviewacc.cxx
sfx2/source/control/thumbnailviewacc.cxx
+1
-2
Metadatable.cxx
sfx2/source/doc/Metadatable.cxx
+0
-1
docundomanager.cxx
sfx2/source/doc/docundomanager.cxx
+1
-2
objstor.cxx
sfx2/source/doc/objstor.cxx
+0
-2
Deck.cxx
sfx2/source/sidebar/Deck.cxx
+1
-2
Panel.cxx
sfx2/source/sidebar/Panel.cxx
+1
-2
SidebarPanelBase.cxx
sfx2/source/sidebar/SidebarPanelBase.cxx
+2
-6
TitleBar.cxx
sfx2/source/sidebar/TitleBar.cxx
+0
-1
No files found.
sfx2/source/appl/shutdownicon.cxx
Dosyayı görüntüle @
278aae13
...
@@ -783,8 +783,8 @@ void ShutdownIcon::SetAutostart( bool bActivate )
...
@@ -783,8 +783,8 @@ void ShutdownIcon::SetAutostart( bool bActivate )
if
((
0
!=
symlink
(
aDesktopFileUnx
.
getStr
(),
aShortcutUnx
.
getStr
()))
&&
(
errno
==
EEXIST
))
if
((
0
!=
symlink
(
aDesktopFileUnx
.
getStr
(),
aShortcutUnx
.
getStr
()))
&&
(
errno
==
EEXIST
))
{
{
unlink
(
aShortcutUnx
.
getStr
());
unlink
(
aShortcutUnx
.
getStr
());
int
ret
=
symlink
(
aDesktopFileUnx
.
getStr
(),
aShortcutUnx
.
getStr
());
(
void
)
symlink
(
aDesktopFileUnx
.
getStr
(),
aShortcutUnx
.
getStr
());
(
void
)
ret
;
//deliberately ignore return value, it's non-critical if it fails
//deliberately ignore return value, it's non-critical if it fails
}
}
ShutdownIcon
*
pIcon
=
ShutdownIcon
::
createInstance
();
ShutdownIcon
*
pIcon
=
ShutdownIcon
::
createInstance
();
...
...
sfx2/source/control/statcach.cxx
Dosyayı görüntüle @
278aae13
...
@@ -391,8 +391,6 @@ void SfxStateCache::SetState_Impl
...
@@ -391,8 +391,6 @@ void SfxStateCache::SetState_Impl
bool
bMaybeDirty
bool
bMaybeDirty
)
)
{
{
(
void
)
bMaybeDirty
;
//unused
// If a hard update occurs between enter- and leave-registrations is a
// If a hard update occurs between enter- and leave-registrations is a
// can also intermediate Cached exist without controller.
// can also intermediate Cached exist without controller.
if
(
!
pController
&&
!
pInternalController
)
if
(
!
pController
&&
!
pInternalController
)
...
...
sfx2/source/control/thumbnailviewacc.cxx
Dosyayı görüntüle @
278aae13
...
@@ -483,7 +483,7 @@ uno::Reference< accessibility::XAccessible > SAL_CALL ThumbnailViewAcc::getSelec
...
@@ -483,7 +483,7 @@ uno::Reference< accessibility::XAccessible > SAL_CALL ThumbnailViewAcc::getSelec
return
xRet
;
return
xRet
;
}
}
void
SAL_CALL
ThumbnailViewAcc
::
deselectAccessibleChild
(
sal_Int32
nChildIndex
)
void
SAL_CALL
ThumbnailViewAcc
::
deselectAccessibleChild
(
sal_Int32
)
{
{
ThrowIfDisposed
();
ThrowIfDisposed
();
const
SolarMutexGuard
aSolarGuard
;
const
SolarMutexGuard
aSolarGuard
;
...
@@ -491,7 +491,6 @@ void SAL_CALL ThumbnailViewAcc::deselectAccessibleChild( sal_Int32 nChildIndex )
...
@@ -491,7 +491,6 @@ void SAL_CALL ThumbnailViewAcc::deselectAccessibleChild( sal_Int32 nChildIndex )
// the specified child is currently selected.
// the specified child is currently selected.
//FIXME TODO if (isAccessibleChildSelected(nChildIndex))
//FIXME TODO if (isAccessibleChildSelected(nChildIndex))
//FIXME TODO ;
//FIXME TODO ;
(
void
)
nChildIndex
;
}
}
sal_Int64
SAL_CALL
ThumbnailViewAcc
::
getSomething
(
const
uno
::
Sequence
<
sal_Int8
>&
rId
)
sal_Int64
SAL_CALL
ThumbnailViewAcc
::
getSomething
(
const
uno
::
Sequence
<
sal_Int8
>&
rId
)
...
...
sfx2/source/doc/Metadatable.cxx
Dosyayı görüntüle @
278aae13
...
@@ -1209,7 +1209,6 @@ XmlIdRegistryClipboard::RegisterCopyClipboard(Metadatable & i_rCopy,
...
@@ -1209,7 +1209,6 @@ XmlIdRegistryClipboard::RegisterCopyClipboard(Metadatable & i_rCopy,
const
bool
success
(
m_pImpl
->
TryInsertMetadatable
(
i_rCopy
,
const
bool
success
(
m_pImpl
->
TryInsertMetadatable
(
i_rCopy
,
i_rReference
.
First
,
i_rReference
.
Second
)
);
i_rReference
.
First
,
i_rReference
.
Second
)
);
OSL_ENSURE
(
success
,
"RegisterCopyClipboard: TryInsert failed?"
);
OSL_ENSURE
(
success
,
"RegisterCopyClipboard: TryInsert failed?"
);
(
void
)
success
;
}
}
const
std
::
shared_ptr
<
MetadatableClipboard
>
xLink
(
const
std
::
shared_ptr
<
MetadatableClipboard
>
xLink
(
CreateClipboard
(
isContentFile
(
i_rReference
.
First
))
);
CreateClipboard
(
isContentFile
(
i_rReference
.
First
))
);
...
...
sfx2/source/doc/docundomanager.cxx
Dosyayı görüntüle @
278aae13
...
@@ -414,9 +414,8 @@ namespace sfx2
...
@@ -414,9 +414,8 @@ namespace sfx2
}
}
void
SAL_CALL
DocumentUndoManager
::
setParent
(
const
Reference
<
XInterface
>&
i_parent
)
void
SAL_CALL
DocumentUndoManager
::
setParent
(
const
Reference
<
XInterface
>&
)
{
{
(
void
)
i_parent
;
throw
NoSupportException
(
OUString
(),
m_pImpl
->
getThis
()
);
throw
NoSupportException
(
OUString
(),
m_pImpl
->
getThis
()
);
}
}
...
...
sfx2/source/doc/objstor.cxx
Dosyayı görüntüle @
278aae13
...
@@ -2507,7 +2507,6 @@ bool SfxObjectShell::DoSave_Impl( const SfxItemSet* pArgs )
...
@@ -2507,7 +2507,6 @@ bool SfxObjectShell::DoSave_Impl( const SfxItemSet* pArgs )
bOpen
=
DoSaveCompleted
(
pMediumTmp
);
bOpen
=
DoSaveCompleted
(
pMediumTmp
);
DBG_ASSERT
(
bOpen
,
"Error handling for DoSaveCompleted not implemented"
);
DBG_ASSERT
(
bOpen
,
"Error handling for DoSaveCompleted not implemented"
);
(
void
)
bOpen
;
}
}
else
else
{
{
...
@@ -2801,7 +2800,6 @@ bool SfxObjectShell::PreDoSaveAs_Impl(const OUString& rFileName, const OUString&
...
@@ -2801,7 +2800,6 @@ bool SfxObjectShell::PreDoSaveAs_Impl(const OUString& rFileName, const OUString&
bool
bRet
(
false
);
bool
bRet
(
false
);
bRet
=
DoSaveCompleted
(
pMedium
);
bRet
=
DoSaveCompleted
(
pMedium
);
DBG_ASSERT
(
bRet
,
"Error in DoSaveCompleted, can't be handled!"
);
DBG_ASSERT
(
bRet
,
"Error in DoSaveCompleted, can't be handled!"
);
(
void
)
bRet
;
}
}
// TODO/LATER: disconnect the new file from the storage for the case when pure saving is done
// TODO/LATER: disconnect the new file from the storage for the case when pure saving is done
...
...
sfx2/source/sidebar/Deck.cxx
Dosyayı görüntüle @
278aae13
...
@@ -141,9 +141,8 @@ void Deck::Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle& /*r
...
@@ -141,9 +141,8 @@ void Deck::Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle& /*r
Theme
::
GetPaint
(
Theme
::
Paint_VerticalBorder
));
Theme
::
GetPaint
(
Theme
::
Paint_VerticalBorder
));
}
}
void
Deck
::
DataChanged
(
const
DataChangedEvent
&
rEvent
)
void
Deck
::
DataChanged
(
const
DataChangedEvent
&
)
{
{
(
void
)
rEvent
;
RequestLayout
();
RequestLayout
();
}
}
...
...
sfx2/source/sidebar/Panel.cxx
Dosyayı görüntüle @
278aae13
...
@@ -152,9 +152,8 @@ void Panel::Resize()
...
@@ -152,9 +152,8 @@ void Panel::Resize()
}
}
}
}
void
Panel
::
DataChanged
(
const
DataChangedEvent
&
rEvent
)
void
Panel
::
DataChanged
(
const
DataChangedEvent
&
)
{
{
(
void
)
rEvent
;
Invalidate
();
Invalidate
();
}
}
...
...
sfx2/source/sidebar/SidebarPanelBase.cxx
Dosyayı görüntüle @
278aae13
...
@@ -107,10 +107,8 @@ void SAL_CALL SidebarPanelBase::notifyContextChangeEvent (
...
@@ -107,10 +107,8 @@ void SAL_CALL SidebarPanelBase::notifyContextChangeEvent (
}
}
void
SAL_CALL
SidebarPanelBase
::
disposing
(
void
SAL_CALL
SidebarPanelBase
::
disposing
(
const
css
::
lang
::
EventObject
&
rEvent
)
const
css
::
lang
::
EventObject
&
)
{
{
(
void
)
rEvent
;
mxFrame
=
nullptr
;
mxFrame
=
nullptr
;
mpControl
=
nullptr
;
mpControl
=
nullptr
;
}
}
...
@@ -136,10 +134,8 @@ Reference<XInterface> SAL_CALL SidebarPanelBase::getRealInterface()
...
@@ -136,10 +134,8 @@ Reference<XInterface> SAL_CALL SidebarPanelBase::getRealInterface()
}
}
Reference
<
accessibility
::
XAccessible
>
SAL_CALL
SidebarPanelBase
::
createAccessible
(
Reference
<
accessibility
::
XAccessible
>
SAL_CALL
SidebarPanelBase
::
createAccessible
(
const
Reference
<
accessibility
::
XAccessible
>&
rxParentAccessible
)
const
Reference
<
accessibility
::
XAccessible
>&
)
{
{
(
void
)
rxParentAccessible
;
// Not yet implemented.
// Not yet implemented.
return
nullptr
;
return
nullptr
;
}
}
...
...
sfx2/source/sidebar/TitleBar.cxx
Dosyayı görüntüle @
278aae13
...
@@ -166,7 +166,6 @@ void TitleBar::PaintFocus(vcl::RenderContext& rRenderContext, const tools::Recta
...
@@ -166,7 +166,6 @@ void TitleBar::PaintFocus(vcl::RenderContext& rRenderContext, const tools::Recta
IMPL_LINK
(
TitleBar
,
SelectionHandler
,
ToolBox
*
,
pToolBox
,
void
)
IMPL_LINK
(
TitleBar
,
SelectionHandler
,
ToolBox
*
,
pToolBox
,
void
)
{
{
(
void
)
pToolBox
;
OSL_ASSERT
(
maToolBox
.
get
()
==
pToolBox
);
OSL_ASSERT
(
maToolBox
.
get
()
==
pToolBox
);
const
sal_uInt16
nItemId
(
maToolBox
->
GetHighlightItemId
());
const
sal_uInt16
nItemId
(
maToolBox
->
GetHighlightItemId
());
...
...
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