diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-04-16 09:44:09 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-04-17 12:33:58 +0100 |
commit | 350f11a8bd089698e004e0f288417108131ce74e (patch) | |
tree | f44294c01a31f44f74aceb46daa78515317b823c | |
parent | 004381ddff4e926972a7a9d14915bb2f4638b1e5 (diff) |
add some SAL_WARN_UNUSED
Change-Id: I41ba1bed4f49a122a15213edf41e094254bfb282
-rw-r--r-- | include/svx/e3ditem.hxx | 2 | ||||
-rw-r--r-- | include/svx/e3dsceneupdater.hxx | 2 | ||||
-rw-r--r-- | include/svx/e3dundo.hxx | 6 | ||||
-rw-r--r-- | include/svx/extedit.hxx | 4 | ||||
-rw-r--r-- | include/svx/extrud3d.hxx | 2 | ||||
-rw-r--r-- | include/svx/extrusionbar.hxx | 2 |
6 files changed, 9 insertions, 9 deletions
diff --git a/include/svx/e3ditem.hxx b/include/svx/e3ditem.hxx index 6b4c8ff9ff72..15dd1621dd2e 100644 --- a/include/svx/e3ditem.hxx +++ b/include/svx/e3ditem.hxx @@ -26,7 +26,7 @@ class SvStream; -class SVX_DLLPUBLIC SvxB3DVectorItem : public SfxPoolItem +class SVX_DLLPUBLIC SAL_WARN_UNUSED SvxB3DVectorItem : public SfxPoolItem { basegfx::B3DVector aVal; diff --git a/include/svx/e3dsceneupdater.hxx b/include/svx/e3dsceneupdater.hxx index 54e5dcc040e5..3208eb843f45 100644 --- a/include/svx/e3dsceneupdater.hxx +++ b/include/svx/e3dsceneupdater.hxx @@ -42,7 +42,7 @@ namespace drawinglayer { namespace geometry { // 3D content and tu use it. This is only wanted if changes to the scene's // content are intended to change the scene's 2D geometry attributes -class SVX_DLLPUBLIC E3DModifySceneSnapRectUpdater +class SVX_DLLPUBLIC SAL_WARN_UNUSED E3DModifySceneSnapRectUpdater { // the scene which may be changed. This gets set to the outmost scene // of the to-be-changed 3D object when the scene has a 3d transformation diff --git a/include/svx/e3dundo.hxx b/include/svx/e3dundo.hxx index 40a22fa17b1b..29e2eb59df6f 100644 --- a/include/svx/e3dundo.hxx +++ b/include/svx/e3dundo.hxx @@ -29,7 +29,7 @@ |* Base class for all 3D undo actions. |* \************************************************************************/ -class E3dUndoAction : public SdrUndoAction +class SAL_WARN_UNUSED E3dUndoAction : public SdrUndoAction { protected : @@ -54,7 +54,7 @@ class E3dUndoAction : public SdrUndoAction |* Undo for 3D rotation through the rotation matrices |* \************************************************************************/ -class E3dRotateUndoAction : public E3dUndoAction +class SAL_WARN_UNUSED E3dRotateUndoAction : public E3dUndoAction { basegfx::B3DHomMatrix aMyOldRotation; basegfx::B3DHomMatrix aMyNewRotation; @@ -83,7 +83,7 @@ class E3dRotateUndoAction : public E3dUndoAction |* Undo for 3D attributes (implemented using Set3DAttributes()) |* \************************************************************************/ -class SVX_DLLPUBLIC E3dAttributesUndoAction : public SdrUndoAction +class SVX_DLLPUBLIC SAL_WARN_UNUSED E3dAttributesUndoAction : public SdrUndoAction { using SdrUndoAction::Repeat; diff --git a/include/svx/extedit.hxx b/include/svx/extedit.hxx index 65e178d74762..ab3e4cfee3ba 100644 --- a/include/svx/extedit.hxx +++ b/include/svx/extedit.hxx @@ -19,7 +19,7 @@ class Graphic; class GraphicObject; class FileChangedChecker; -class SVX_DLLPUBLIC ExternalToolEdit +class SVX_DLLPUBLIC SAL_WARN_UNUSED ExternalToolEdit { protected: OUString m_aFileName; @@ -42,7 +42,7 @@ public: class FmFormView; class SdrObject; -class SVX_DLLPUBLIC SdrExternalToolEdit +class SVX_DLLPUBLIC SAL_WARN_UNUSED SdrExternalToolEdit : public ExternalToolEdit , public SfxListener { diff --git a/include/svx/extrud3d.hxx b/include/svx/extrud3d.hxx index cdade62cedb0..398201411e4a 100644 --- a/include/svx/extrud3d.hxx +++ b/include/svx/extrud3d.hxx @@ -29,7 +29,7 @@ |* \************************************************************************/ -class SVX_DLLPUBLIC E3dExtrudeObj : public E3dCompoundObject +class SVX_DLLPUBLIC SAL_WARN_UNUSED E3dExtrudeObj : public E3dCompoundObject { private: // to allow sdr::properties::E3dExtrudeProperties access to SetGeometryValid() diff --git a/include/svx/extrusionbar.hxx b/include/svx/extrusionbar.hxx index 921c1a272636..9a42d6c631f6 100644 --- a/include/svx/extrusionbar.hxx +++ b/include/svx/extrusionbar.hxx @@ -35,7 +35,7 @@ namespace svx SVX_DLLPUBLIC bool checkForSelectedCustomShapes( SdrView* pSdrView, bool bOnlyExtruded ); -class SVX_DLLPUBLIC ExtrusionBar : public SfxShell +class SVX_DLLPUBLIC SAL_WARN_UNUSED ExtrusionBar : public SfxShell { public: TYPEINFO_OVERRIDE(); |