Fix "Same expression..." reported by cppcheck
This commit is contained in:
@@ -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)
|
|||||||
|
|
||||||
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 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user