Kaydet (Commit) 0d417ece authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: '==' : unsafe mix of type 'bool' and type 'sal_Int16' in operation

getId() should obviously return a sal_uInt16 and not a bool.

Change-Id: I87a2a39f8fd101d6b0385986cc1493b9e2b79681
üst 0cdac15a
...@@ -191,7 +191,7 @@ public: ...@@ -191,7 +191,7 @@ public:
bool getIsPreview() const; bool getIsPreview() const;
void setIsPreview( bool bIsPreview ); void setIsPreview( bool bIsPreview );
bool getId() const; sal_uInt16 getId() const;
bool select( const OUString& rsPresetId ); bool select( const OUString& rsPresetId );
...@@ -476,7 +476,7 @@ void CustomAnimationCreateTabPage::setIsPreview( bool bIsPreview ) ...@@ -476,7 +476,7 @@ void CustomAnimationCreateTabPage::setIsPreview( bool bIsPreview )
mpCBXPReview->Check( bIsPreview ? sal_True : sal_False ); mpCBXPReview->Check( bIsPreview ? sal_True : sal_False );
} }
bool CustomAnimationCreateTabPage::getId() const sal_uInt16 CustomAnimationCreateTabPage::getId() const
{ {
return mnId; return mnId;
} }
......
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