Kaydet (Commit) 39ba666f authored tarafından Julien Nabet's avatar Julien Nabet

Fix "Same expression..." reported by cppcheck

üst e79c9c4c
...@@ -266,7 +266,7 @@ BasicDockingWindow::BasicDockingWindow( Window* pParent ) : ...@@ -266,7 +266,7 @@ BasicDockingWindow::BasicDockingWindow( Window* pParent ) :
BasicDockingWindow::BasicDockingWindow( Window* pParent, const ResId& rResId ) : BasicDockingWindow::BasicDockingWindow( Window* pParent, const ResId& rResId ) :
DockingWindow( pParent, rResId ) DockingWindow( pParent, rResId )
{ {
SetStyle( WB_BORDER | WB_3DLOOK | WB_DOCKABLE | WB_MOVEABLE | SetStyle( WB_BORDER | WB_3DLOOK | WB_MOVEABLE |
WB_SIZEABLE | WB_ROLLABLE | WB_SIZEABLE | WB_ROLLABLE |
WB_DOCKABLE | WB_CLIPCHILDREN ); WB_DOCKABLE | WB_CLIPCHILDREN );
} }
......
...@@ -224,7 +224,7 @@ OUString WriterFilter_getImplementationName () throw (uno::RuntimeException) ...@@ -224,7 +224,7 @@ OUString WriterFilter_getImplementationName () throw (uno::RuntimeException)
sal_Bool WriterFilter_supportsService( const OUString& ServiceName ) throw (uno::RuntimeException) sal_Bool WriterFilter_supportsService( const OUString& ServiceName ) throw (uno::RuntimeException)
{ {
return (ServiceName == SERVICE_NAME1 || ServiceName == SERVICE_NAME1 ); return (ServiceName == SERVICE_NAME1 || ServiceName == SERVICE_NAME2 );
} }
......
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