summaryrefslogtreecommitdiff
path: root/include/svx/fontlb.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/fontlb.hxx
parent0e8218d9d880fa4be972de3decd9cd42f55472c3 (diff)
add some SAL_WARN_UNUSED
Change-Id: I6f52c91d6b355c9aa0e0bb28990745c4eb4be5ac
Diffstat (limited to 'include/svx/fontlb.hxx')
-rw-r--r--include/svx/fontlb.hxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/svx/fontlb.hxx b/include/svx/fontlb.hxx
index 1b50e673d5bb..dcd6cee74a2e 100644
--- a/include/svx/fontlb.hxx
+++ b/include/svx/fontlb.hxx
@@ -28,7 +28,7 @@
/** A list box string item which stores its text and font. */
-class SvLBoxFontString : public SvLBoxString
+class SAL_WARN_UNUSED SvLBoxFontString : public SvLBoxString
{
private:
vcl::Font maFont; /// The font used by this item.
@@ -59,7 +59,7 @@ public:
/** A list box supporting formatted string entries. */
-class SVX_DLLPUBLIC SvxFontListBox : public SvTabListBox
+class SVX_DLLPUBLIC SAL_WARN_UNUSED SvxFontListBox : public SvTabListBox
{
private:
vcl::Font maStdFont; /// Used for entries without specific font.
@@ -97,8 +97,6 @@ protected:
SvLBoxButtonKind eButtonKind) SAL_OVERRIDE;
};
-
-
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */