Kaydet (Commit) 350f11a8 authored tarafından Caolán McNamara's avatar Caolán McNamara

add some SAL_WARN_UNUSED

Change-Id: I41ba1bed4f49a122a15213edf41e094254bfb282
üst 004381dd
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
class SvStream; class SvStream;
class SVX_DLLPUBLIC SvxB3DVectorItem : public SfxPoolItem class SVX_DLLPUBLIC SAL_WARN_UNUSED SvxB3DVectorItem : public SfxPoolItem
{ {
basegfx::B3DVector aVal; basegfx::B3DVector aVal;
......
...@@ -42,7 +42,7 @@ namespace drawinglayer { namespace geometry { ...@@ -42,7 +42,7 @@ namespace drawinglayer { namespace geometry {
// 3D content and tu use it. This is only wanted if changes to the scene's // 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 // 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 // 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 // of the to-be-changed 3D object when the scene has a 3d transformation
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
|* Base class for all 3D undo actions. |* Base class for all 3D undo actions.
|* |*
\************************************************************************/ \************************************************************************/
class E3dUndoAction : public SdrUndoAction class SAL_WARN_UNUSED E3dUndoAction : public SdrUndoAction
{ {
protected : protected :
...@@ -54,7 +54,7 @@ class E3dUndoAction : public SdrUndoAction ...@@ -54,7 +54,7 @@ class E3dUndoAction : public SdrUndoAction
|* Undo for 3D rotation through the rotation matrices |* Undo for 3D rotation through the rotation matrices
|* |*
\************************************************************************/ \************************************************************************/
class E3dRotateUndoAction : public E3dUndoAction class SAL_WARN_UNUSED E3dRotateUndoAction : public E3dUndoAction
{ {
basegfx::B3DHomMatrix aMyOldRotation; basegfx::B3DHomMatrix aMyOldRotation;
basegfx::B3DHomMatrix aMyNewRotation; basegfx::B3DHomMatrix aMyNewRotation;
...@@ -83,7 +83,7 @@ class E3dRotateUndoAction : public E3dUndoAction ...@@ -83,7 +83,7 @@ class E3dRotateUndoAction : public E3dUndoAction
|* Undo for 3D attributes (implemented using Set3DAttributes()) |* 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; using SdrUndoAction::Repeat;
......
...@@ -19,7 +19,7 @@ class Graphic; ...@@ -19,7 +19,7 @@ class Graphic;
class GraphicObject; class GraphicObject;
class FileChangedChecker; class FileChangedChecker;
class SVX_DLLPUBLIC ExternalToolEdit class SVX_DLLPUBLIC SAL_WARN_UNUSED ExternalToolEdit
{ {
protected: protected:
OUString m_aFileName; OUString m_aFileName;
...@@ -42,7 +42,7 @@ public: ...@@ -42,7 +42,7 @@ public:
class FmFormView; class FmFormView;
class SdrObject; class SdrObject;
class SVX_DLLPUBLIC SdrExternalToolEdit class SVX_DLLPUBLIC SAL_WARN_UNUSED SdrExternalToolEdit
: public ExternalToolEdit : public ExternalToolEdit
, public SfxListener , public SfxListener
{ {
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
|* |*
\************************************************************************/ \************************************************************************/
class SVX_DLLPUBLIC E3dExtrudeObj : public E3dCompoundObject class SVX_DLLPUBLIC SAL_WARN_UNUSED E3dExtrudeObj : public E3dCompoundObject
{ {
private: private:
// to allow sdr::properties::E3dExtrudeProperties access to SetGeometryValid() // to allow sdr::properties::E3dExtrudeProperties access to SetGeometryValid()
......
...@@ -35,7 +35,7 @@ namespace svx ...@@ -35,7 +35,7 @@ namespace svx
SVX_DLLPUBLIC bool checkForSelectedCustomShapes( SdrView* pSdrView, bool bOnlyExtruded ); SVX_DLLPUBLIC bool checkForSelectedCustomShapes( SdrView* pSdrView, bool bOnlyExtruded );
class SVX_DLLPUBLIC ExtrusionBar : public SfxShell class SVX_DLLPUBLIC SAL_WARN_UNUSED ExtrusionBar : public SfxShell
{ {
public: public:
TYPEINFO_OVERRIDE(); TYPEINFO_OVERRIDE();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment