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
5537b135
Kaydet (Commit)
5537b135
authored
Nis 15, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
add some SAL_WARN_UNUSED
Change-Id: I6b8fb1d9b76f586a9a27d53f90e7686fcdf35077
üst
9c6021e1
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
36 additions
and
46 deletions
+36
-46
dataaccessdescriptor.hxx
include/svx/dataaccessdescriptor.hxx
+1
-1
databaselocationinput.hxx
include/svx/databaselocationinput.hxx
+1
-1
dbaexchange.hxx
include/svx/dbaexchange.hxx
+3
-3
dbaobjectex.hxx
include/svx/dbaobjectex.hxx
+1
-1
dbcharsethelper.hxx
include/svx/dbcharsethelper.hxx
+1
-1
deflt3d.hxx
include/svx/deflt3d.hxx
+1
-1
dialcontrol.hxx
include/svx/dialcontrol.hxx
+3
-9
dlgctl3d.hxx
include/svx/dlgctl3d.hxx
+3
-3
dlgctrl.hxx
include/svx/dlgctrl.hxx
+16
-16
drawitem.hxx
include/svx/drawitem.hxx
+6
-10
No files found.
include/svx/dataaccessdescriptor.hxx
Dosyayı görüntüle @
5537b135
...
@@ -61,7 +61,7 @@ namespace svx
...
@@ -61,7 +61,7 @@ namespace svx
/** class encapsulating the com::sun::star::sdb::DataAccessDescriptor service.
/** class encapsulating the com::sun::star::sdb::DataAccessDescriptor service.
*/
*/
class
SVX_DLLPUBLIC
ODataAccessDescriptor
class
SVX_DLLPUBLIC
SAL_WARN_UNUSED
ODataAccessDescriptor
{
{
protected
:
protected
:
ODADescriptorImpl
*
m_pImpl
;
ODADescriptorImpl
*
m_pImpl
;
...
...
include/svx/databaselocationinput.hxx
Dosyayı görüntüle @
5537b135
...
@@ -45,7 +45,7 @@ namespace svx
...
@@ -45,7 +45,7 @@ namespace svx
This helper class controls such two UI elements.
This helper class controls such two UI elements.
*/
*/
class
SVX_DLLPUBLIC
DatabaseLocationInputController
class
SVX_DLLPUBLIC
SAL_WARN_UNUSED
DatabaseLocationInputController
{
{
public
:
public
:
DatabaseLocationInputController
(
DatabaseLocationInputController
(
...
...
include/svx/dbaexchange.hxx
Dosyayı görüntüle @
5537b135
...
@@ -40,7 +40,7 @@ namespace svx
...
@@ -40,7 +40,7 @@ namespace svx
//= OColumnTransferable
//= OColumnTransferable
class
SVX_DLLPUBLIC
OColumnTransferable
:
public
TransferableHelper
class
SVX_DLLPUBLIC
SAL_WARN_UNUSED
OColumnTransferable
:
public
TransferableHelper
{
{
protected
:
protected
:
ODataAccessDescriptor
m_aDescriptor
;
ODataAccessDescriptor
m_aDescriptor
;
...
@@ -166,7 +166,7 @@ namespace svx
...
@@ -166,7 +166,7 @@ namespace svx
/** class for transferring data access objects (tables, queries, statements ...)
/** class for transferring data access objects (tables, queries, statements ...)
*/
*/
class
SVX_DLLPUBLIC
ODataAccessObjectTransferable
:
public
TransferableHelper
class
SVX_DLLPUBLIC
SAL_WARN_UNUSED
ODataAccessObjectTransferable
:
public
TransferableHelper
{
{
ODataAccessDescriptor
m_aDescriptor
;
ODataAccessDescriptor
m_aDescriptor
;
OUString
m_sCompatibleObjectDescription
;
OUString
m_sCompatibleObjectDescription
;
...
@@ -254,7 +254,7 @@ namespace svx
...
@@ -254,7 +254,7 @@ namespace svx
/** class for transferring multiple columns
/** class for transferring multiple columns
*/
*/
class
SVX_DLLPUBLIC
OMultiColumnTransferable
:
public
TransferableHelper
class
SVX_DLLPUBLIC
SAL_WARN_UNUSED
OMultiColumnTransferable
:
public
TransferableHelper
{
{
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
beans
::
PropertyValue
>
m_aDescriptors
;
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
beans
::
PropertyValue
>
m_aDescriptors
;
...
...
include/svx/dbaobjectex.hxx
Dosyayı görüntüle @
5537b135
...
@@ -36,7 +36,7 @@ namespace svx
...
@@ -36,7 +36,7 @@ namespace svx
//= OComponentTransferable
//= OComponentTransferable
class
SVX_DLLPUBLIC
OComponentTransferable
:
public
TransferableHelper
class
SVX_DLLPUBLIC
SAL_WARN_UNUSED
OComponentTransferable
:
public
TransferableHelper
{
{
protected
:
protected
:
ODataAccessDescriptor
m_aDescriptor
;
ODataAccessDescriptor
m_aDescriptor
;
...
...
include/svx/dbcharsethelper.hxx
Dosyayı görüntüle @
5537b135
...
@@ -30,7 +30,7 @@ namespace svxform
...
@@ -30,7 +30,7 @@ namespace svxform
//= ODataAccessCharsetHelper
//= ODataAccessCharsetHelper
class
SVX_DLLPUBLIC
ODataAccessCharsetHelper
class
SVX_DLLPUBLIC
SAL_WARN_UNUSED
ODataAccessCharsetHelper
{
{
protected
:
protected
:
mutable
::
rtl
::
Reference
<
::
connectivity
::
simple
::
IDataAccessCharSet
>
m_xCharsetHelper
;
mutable
::
rtl
::
Reference
<
::
connectivity
::
simple
::
IDataAccessCharSet
>
m_xCharsetHelper
;
...
...
include/svx/deflt3d.hxx
Dosyayı görüntüle @
5537b135
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
|*
|*
\************************************************************************/
\************************************************************************/
class
SVX_DLLPUBLIC
E3dDefaultAttributes
class
SVX_DLLPUBLIC
SAL_WARN_UNUSED
E3dDefaultAttributes
{
{
private
:
private
:
// Compound object
// Compound object
...
...
include/svx/dialcontrol.hxx
Dosyayı görüntüle @
5537b135
...
@@ -31,7 +31,7 @@ namespace svx {
...
@@ -31,7 +31,7 @@ namespace svx {
class
DialControlBmp
:
public
VirtualDevice
class
SAL_WARN_UNUSED
DialControlBmp
:
public
VirtualDevice
{
{
public
:
public
:
explicit
DialControlBmp
(
vcl
::
Window
&
rParent
);
explicit
DialControlBmp
(
vcl
::
Window
&
rParent
);
...
@@ -75,7 +75,7 @@ private:
...
@@ -75,7 +75,7 @@ private:
- Shows the value entered/modified in the numeric field.
- Shows the value entered/modified in the numeric field.
- Enables/disables/shows/hides the field according to own state changes.
- Enables/disables/shows/hides the field according to own state changes.
*/
*/
class
SVX_DLLPUBLIC
DialControl
:
public
Control
class
SVX_DLLPUBLIC
SAL_WARN_UNUSED
DialControl
:
public
Control
{
{
public
:
public
:
explicit
DialControl
(
vcl
::
Window
*
pParent
,
WinBits
nBits
);
explicit
DialControl
(
vcl
::
Window
*
pParent
,
WinBits
nBits
);
...
@@ -164,10 +164,8 @@ private:
...
@@ -164,10 +164,8 @@ private:
DECL_LINK
(
LinkedFieldModifyHdl
,
NumericField
*
);
DECL_LINK
(
LinkedFieldModifyHdl
,
NumericField
*
);
};
};
/** Wrapper for usage of a DialControl in item connections. */
/** Wrapper for usage of a DialControl in item connections. */
class
SVX_DLLPUBLIC
DialControlWrapper
:
public
sfx
::
SingleControlWrapper
<
DialControl
,
sal_Int32
>
class
SVX_DLLPUBLIC
SAL_WARN_UNUSED
DialControlWrapper
:
public
sfx
::
SingleControlWrapper
<
DialControl
,
sal_Int32
>
{
{
public
:
public
:
explicit
DialControlWrapper
(
DialControl
&
rDial
);
explicit
DialControlWrapper
(
DialControl
&
rDial
);
...
@@ -179,13 +177,9 @@ public:
...
@@ -179,13 +177,9 @@ public:
virtual
void
SetControlValue
(
sal_Int32
nValue
)
SAL_OVERRIDE
;
virtual
void
SetControlValue
(
sal_Int32
nValue
)
SAL_OVERRIDE
;
};
};
/** An item<->control connection for a DialControl. */
/** An item<->control connection for a DialControl. */
typedef
sfx
::
ItemControlConnection
<
sfx
::
Int32ItemWrapper
,
DialControlWrapper
>
DialControlConnection
;
typedef
sfx
::
ItemControlConnection
<
sfx
::
Int32ItemWrapper
,
DialControlWrapper
>
DialControlConnection
;
}
// namespace svx
}
// namespace svx
#endif
#endif
...
...
include/svx/dlgctl3d.hxx
Dosyayı görüntüle @
5537b135
...
@@ -36,7 +36,7 @@ class E3dObject;
...
@@ -36,7 +36,7 @@ class E3dObject;
#define PREVIEW_OBJECTTYPE_SPHERE 0x0000
#define PREVIEW_OBJECTTYPE_SPHERE 0x0000
#define PREVIEW_OBJECTTYPE_CUBE 0x0001
#define PREVIEW_OBJECTTYPE_CUBE 0x0001
class
SVX_DLLPUBLIC
Svx3DPreviewControl
:
public
Control
class
SVX_DLLPUBLIC
S
AL_WARN_UNUSED
S
vx3DPreviewControl
:
public
Control
{
{
protected
:
protected
:
FmFormModel
*
mpModel
;
FmFormModel
*
mpModel
;
...
@@ -64,7 +64,7 @@ public:
...
@@ -64,7 +64,7 @@ public:
virtual
void
Set3DAttributes
(
const
SfxItemSet
&
rAttr
);
virtual
void
Set3DAttributes
(
const
SfxItemSet
&
rAttr
);
};
};
class
SVX_DLLPUBLIC
Svx3DLightControl
:
public
Svx3DPreviewControl
class
SVX_DLLPUBLIC
S
AL_WARN_UNUSED
S
vx3DLightControl
:
public
Svx3DPreviewControl
{
{
// Callback for interactive changes
// Callback for interactive changes
Link
maUserInteractiveChangeCallback
;
Link
maUserInteractiveChangeCallback
;
...
@@ -141,7 +141,7 @@ public:
...
@@ -141,7 +141,7 @@ public:
basegfx
::
B3DVector
GetLightDirection
(
sal_uInt32
nNum
)
const
;
basegfx
::
B3DVector
GetLightDirection
(
sal_uInt32
nNum
)
const
;
};
};
class
SVX_DLLPUBLIC
SvxLightCtl3D
:
public
Control
class
SVX_DLLPUBLIC
S
AL_WARN_UNUSED
S
vxLightCtl3D
:
public
Control
{
{
private
:
private
:
// local controls
// local controls
...
...
include/svx/dlgctrl.hxx
Dosyayı görüntüle @
5537b135
...
@@ -38,7 +38,7 @@ namespace com { namespace sun { namespace star { namespace awt {
...
@@ -38,7 +38,7 @@ namespace com { namespace sun { namespace star { namespace awt {
|* virtual method from the control.
|* virtual method from the control.
\************************************************************************/
\************************************************************************/
class
SvxTabPage
:
public
SfxTabPage
class
S
AL_WARN_UNUSED
S
vxTabPage
:
public
SfxTabPage
{
{
public
:
public
:
...
@@ -61,7 +61,7 @@ typedef sal_uInt16 CTL_STATE;
...
@@ -61,7 +61,7 @@ typedef sal_uInt16 CTL_STATE;
class
SvxRectCtlAccessibleContext
;
class
SvxRectCtlAccessibleContext
;
class
SvxPixelCtlAccessible
;
class
SvxPixelCtlAccessible
;
class
SVX_DLLPUBLIC
SvxRectCtl
:
public
Control
class
SVX_DLLPUBLIC
S
AL_WARN_UNUSED
S
vxRectCtl
:
public
Control
{
{
private
:
private
:
SVX_DLLPRIVATE
void
InitSettings
(
bool
bForeground
,
bool
bBackground
);
SVX_DLLPRIVATE
void
InitSettings
(
bool
bForeground
,
bool
bBackground
);
...
@@ -133,7 +133,7 @@ public:
...
@@ -133,7 +133,7 @@ public:
|* Preview control for the display of bitmaps
|* Preview control for the display of bitmaps
\************************************************************************/
\************************************************************************/
class
SVX_DLLPUBLIC
SvxBitmapCtl
class
SVX_DLLPUBLIC
S
AL_WARN_UNUSED
S
vxBitmapCtl
{
{
protected
:
protected
:
Size
aSize
;
Size
aSize
;
...
@@ -157,7 +157,7 @@ public:
...
@@ -157,7 +157,7 @@ public:
|* Control for editing bitmaps
|* Control for editing bitmaps
\************************************************************************/
\************************************************************************/
class
SVX_DLLPUBLIC
SvxPixelCtl
:
public
Control
class
SVX_DLLPUBLIC
S
AL_WARN_UNUSED
S
vxPixelCtl
:
public
Control
{
{
private
:
private
:
using
OutputDevice
::
SetLineColor
;
using
OutputDevice
::
SetLineColor
;
...
@@ -221,7 +221,7 @@ public:
...
@@ -221,7 +221,7 @@ public:
/************************************************************************/
/************************************************************************/
class
SVX_DLLPUBLIC
ColorLB
:
public
ColorListBox
class
SVX_DLLPUBLIC
SAL_WARN_UNUSED
ColorLB
:
public
ColorListBox
{
{
public
:
public
:
...
@@ -236,7 +236,7 @@ public:
...
@@ -236,7 +236,7 @@ public:
/************************************************************************/
/************************************************************************/
class
SVX_DLLPUBLIC
HatchingLB
:
public
ListBox
class
SVX_DLLPUBLIC
SAL_WARN_UNUSED
HatchingLB
:
public
ListBox
{
{
XHatchListRef
mpList
;
XHatchListRef
mpList
;
public
:
public
:
...
@@ -250,7 +250,7 @@ public:
...
@@ -250,7 +250,7 @@ public:
/************************************************************************/
/************************************************************************/
class
SVX_DLLPUBLIC
GradientLB
:
public
ListBox
class
SVX_DLLPUBLIC
SAL_WARN_UNUSED
GradientLB
:
public
ListBox
{
{
XGradientListRef
mpList
;
XGradientListRef
mpList
;
public
:
public
:
...
@@ -266,7 +266,7 @@ public:
...
@@ -266,7 +266,7 @@ public:
/************************************************************************/
/************************************************************************/
class
SVX_DLLPUBLIC
BitmapLB
:
public
ListBox
class
SVX_DLLPUBLIC
SAL_WARN_UNUSED
BitmapLB
:
public
ListBox
{
{
public
:
public
:
explicit
BitmapLB
(
vcl
::
Window
*
pParent
,
WinBits
aWB
);
explicit
BitmapLB
(
vcl
::
Window
*
pParent
,
WinBits
aWB
);
...
@@ -285,7 +285,7 @@ private:
...
@@ -285,7 +285,7 @@ private:
/************************************************************************/
/************************************************************************/
class
FillAttrLB
:
public
ColorListBox
class
FillAttrLB
SAL_WARN_UNUSED
:
public
ColorListBox
{
{
private
:
private
:
BitmapEx
maBitmapEx
;
BitmapEx
maBitmapEx
;
...
@@ -301,7 +301,7 @@ public:
...
@@ -301,7 +301,7 @@ public:
/************************************************************************/
/************************************************************************/
class
FillTypeLB
:
public
ListBox
class
FillTypeLB
SAL_WARN_UNUSED
:
public
ListBox
{
{
public
:
public
:
...
@@ -313,7 +313,7 @@ public:
...
@@ -313,7 +313,7 @@ public:
/************************************************************************/
/************************************************************************/
class
SVX_DLLPUBLIC
LineLB
:
public
ListBox
class
SVX_DLLPUBLIC
SAL_WARN_UNUSED
LineLB
:
public
ListBox
{
{
private
:
private
:
/// bitfield
/// bitfield
...
@@ -336,7 +336,7 @@ public:
...
@@ -336,7 +336,7 @@ public:
/************************************************************************/
/************************************************************************/
class
SVX_DLLPUBLIC
LineEndLB
:
public
ListBox
class
SVX_DLLPUBLIC
SAL_WARN_UNUSED
LineEndLB
:
public
ListBox
{
{
public
:
public
:
...
@@ -355,7 +355,7 @@ class SdrObject;
...
@@ -355,7 +355,7 @@ class SdrObject;
class
SdrPathObj
;
class
SdrPathObj
;
class
SdrModel
;
class
SdrModel
;
class
SvxPreviewBase
:
public
Control
class
S
AL_WARN_UNUSED
S
vxPreviewBase
:
public
Control
{
{
private
:
private
:
SdrModel
*
mpModel
;
SdrModel
*
mpModel
;
...
@@ -389,7 +389,7 @@ public:
...
@@ -389,7 +389,7 @@ public:
|*
|*
\************************************************************************/
\************************************************************************/
class
SVX_DLLPUBLIC
SvxXLinePreview
:
public
SvxPreviewBase
class
SVX_DLLPUBLIC
S
AL_WARN_UNUSED
S
vxXLinePreview
:
public
SvxPreviewBase
{
{
private
:
private
:
SdrPathObj
*
mpLineObjA
;
SdrPathObj
*
mpLineObjA
;
...
@@ -421,7 +421,7 @@ public:
...
@@ -421,7 +421,7 @@ public:
|*
|*
\************************************************************************/
\************************************************************************/
class
SVX_DLLPUBLIC
SvxXRectPreview
:
public
SvxPreviewBase
class
SVX_DLLPUBLIC
S
AL_WARN_UNUSED
S
vxXRectPreview
:
public
SvxPreviewBase
{
{
private
:
private
:
SdrObject
*
mpRectangleObject
;
SdrObject
*
mpRectangleObject
;
...
@@ -442,7 +442,7 @@ public:
...
@@ -442,7 +442,7 @@ public:
|*
|*
\************************************************************************/
\************************************************************************/
class
SVX_DLLPUBLIC
SvxXShadowPreview
:
public
SvxPreviewBase
class
SVX_DLLPUBLIC
S
AL_WARN_UNUSED
S
vxXShadowPreview
:
public
SvxPreviewBase
{
{
private
:
private
:
Point
maShadowOffset
;
Point
maShadowOffset
;
...
...
include/svx/drawitem.hxx
Dosyayı görüntüle @
5537b135
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
// SvxColorListItem
// SvxColorListItem
class
SVX_DLLPUBLIC
SvxColorListItem
:
public
SfxPoolItem
class
SVX_DLLPUBLIC
S
AL_WARN_UNUSED
S
vxColorListItem
:
public
SfxPoolItem
{
{
XColorListRef
pColorList
;
XColorListRef
pColorList
;
...
@@ -54,12 +54,8 @@ public:
...
@@ -54,12 +54,8 @@ public:
void
SetColorList
(
const
XColorListRef
&
pTable
)
{
pColorList
=
pTable
;
}
void
SetColorList
(
const
XColorListRef
&
pTable
)
{
pColorList
=
pTable
;
}
};
};
// SvxGradientListItem
// SvxGradientListItem
class
SVX_DLLPUBLIC
SAL_WARN_UNUSED
SvxGradientListItem
:
public
SfxPoolItem
class
SVX_DLLPUBLIC
SvxGradientListItem
:
public
SfxPoolItem
{
{
XGradientListRef
pGradientList
;
XGradientListRef
pGradientList
;
...
@@ -89,7 +85,7 @@ public:
...
@@ -89,7 +85,7 @@ public:
// SvxHatchListItem
// SvxHatchListItem
class
SVX_DLLPUBLIC
S
vxHatchListItem
:
public
SfxPoolItem
class
SVX_DLLPUBLIC
S
AL_WARN_UNUSED
SvxHatchListItem
:
public
SfxPoolItem
{
{
XHatchListRef
pHatchList
;
XHatchListRef
pHatchList
;
...
@@ -120,7 +116,7 @@ public:
...
@@ -120,7 +116,7 @@ public:
// SvxBitmapListItem
// SvxBitmapListItem
class
SVX_DLLPUBLIC
S
vxBitmapListItem
:
public
SfxPoolItem
class
SVX_DLLPUBLIC
S
AL_WARN_UNUSED
SvxBitmapListItem
:
public
SfxPoolItem
{
{
XBitmapListRef
pBitmapList
;
XBitmapListRef
pBitmapList
;
...
@@ -151,7 +147,7 @@ public:
...
@@ -151,7 +147,7 @@ public:
// SvxDashListItem
// SvxDashListItem
class
SVX_DLLPUBLIC
S
vxDashListItem
:
public
SfxPoolItem
class
SVX_DLLPUBLIC
S
AL_WARN_UNUSED
SvxDashListItem
:
public
SfxPoolItem
{
{
XDashListRef
pDashList
;
XDashListRef
pDashList
;
...
@@ -179,7 +175,7 @@ public:
...
@@ -179,7 +175,7 @@ public:
// SvxLineEndListItem
// SvxLineEndListItem
class
SVX_DLLPUBLIC
S
vxLineEndListItem
:
public
SfxPoolItem
class
SVX_DLLPUBLIC
S
AL_WARN_UNUSED
SvxLineEndListItem
:
public
SfxPoolItem
{
{
XLineEndListRef
pLineEndList
;
XLineEndListRef
pLineEndList
;
...
...
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