summaryrefslogtreecommitdiff
path: root/include/svx/frmdirlbox.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-04-17 20:59:58 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-04-21 09:30:56 +0100
commit08642a115e8bb936fa914b6682ca6be9e08350fd (patch)
tree1c549659cc67f8257b9bc75fea3985e5e0e399aa /include/svx/frmdirlbox.hxx
parent0e8218d9d880fa4be972de3decd9cd42f55472c3 (diff)
add some SAL_WARN_UNUSED
Change-Id: I6f52c91d6b355c9aa0e0bb28990745c4eb4be5ac
Diffstat (limited to 'include/svx/frmdirlbox.hxx')
-rw-r--r--include/svx/frmdirlbox.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/svx/frmdirlbox.hxx b/include/svx/frmdirlbox.hxx
index 80bd1b12f0ad..d584acc91104 100644
--- a/include/svx/frmdirlbox.hxx
+++ b/include/svx/frmdirlbox.hxx
@@ -36,7 +36,7 @@ namespace svx {
The control works on the SvxFrameDirection enumeration (i.e. left-to-right,
right-to-left), used i.e. in conjunction with the SvxFrameDirectionItem.
*/
-class SVX_DLLPUBLIC FrameDirectionListBox : public ListBox
+class SVX_DLLPUBLIC SAL_WARN_UNUSED FrameDirectionListBox : public ListBox
{
public:
explicit FrameDirectionListBox( vcl::Window* pParent, WinBits nBits );
@@ -69,7 +69,7 @@ typedef FrameDirectionListBox FrameDirListBox;
/** Wrapper for usage of a FrameDirectionListBox in item connections. */
-class SVX_DLLPUBLIC FrameDirListBoxWrapper : public sfx::SingleControlWrapper< FrameDirListBox, SvxFrameDirection >
+class SVX_DLLPUBLIC SAL_WARN_UNUSED FrameDirListBoxWrapper : public sfx::SingleControlWrapper< FrameDirListBox, SvxFrameDirection >
{
public:
explicit FrameDirListBoxWrapper( FrameDirListBox& rListBox );