Fix "Same expression..." reported by cppcheck

This commit is contained in:
Julien Nabet
2012-04-08 22:19:35 +02:00
parent e79c9c4c5a
commit 39ba666f80
2 changed files with 2 additions and 2 deletions

View File

@@ -266,7 +266,7 @@ BasicDockingWindow::BasicDockingWindow( Window* pParent ) :
BasicDockingWindow::BasicDockingWindow( Window* pParent, const ResId& 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_DOCKABLE | WB_CLIPCHILDREN );
}

View File

@@ -224,7 +224,7 @@ OUString WriterFilter_getImplementationName () 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 );
}