summaryrefslogtreecommitdiff
path: root/include/svx/dialcontrol.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-04-15 16:44:06 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-04-15 16:45:50 +0100
commit5537b135dfc4c499112fd4d1ef6ca6866f65c9bc (patch)
tree486a20b3c83b2185a5c94eeca22d405b218e0a7f /include/svx/dialcontrol.hxx
parent9c6021e115aca5af9d259e5e3f302c472a60bfdd (diff)
add some SAL_WARN_UNUSED
Change-Id: I6b8fb1d9b76f586a9a27d53f90e7686fcdf35077
Diffstat (limited to 'include/svx/dialcontrol.hxx')
-rw-r--r--include/svx/dialcontrol.hxx12
1 files changed, 3 insertions, 9 deletions
diff --git a/include/svx/dialcontrol.hxx b/include/svx/dialcontrol.hxx
index 38b60e3f6f4e..36ac077369d9 100644
--- a/include/svx/dialcontrol.hxx
+++ b/include/svx/dialcontrol.hxx
@@ -31,7 +31,7 @@ namespace svx {
-class DialControlBmp : public VirtualDevice
+class SAL_WARN_UNUSED DialControlBmp : public VirtualDevice
{
public:
explicit DialControlBmp( vcl::Window& rParent );
@@ -75,7 +75,7 @@ private:
- Shows the value entered/modified in the numeric field.
- 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:
explicit DialControl( vcl::Window* pParent, WinBits nBits );
@@ -164,10 +164,8 @@ private:
DECL_LINK( LinkedFieldModifyHdl, NumericField* );
};
-
-
/** 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:
explicit DialControlWrapper( DialControl& rDial );
@@ -179,13 +177,9 @@ public:
virtual void SetControlValue( sal_Int32 nValue ) SAL_OVERRIDE;
};
-
-
/** An item<->control connection for a DialControl. */
typedef sfx::ItemControlConnection< sfx::Int32ItemWrapper, DialControlWrapper > DialControlConnection;
-
-
} // namespace svx
#endif