From 39ba666f802db07e34eb848ad4e5f39ff85dd6ed Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Sun, 8 Apr 2012 22:19:35 +0200 Subject: [PATCH] Fix "Same expression..." reported by cppcheck --- basctl/source/basicide/bastypes.cxx | 2 +- writerfilter/source/filter/ImportFilter.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/basctl/source/basicide/bastypes.cxx b/basctl/source/basicide/bastypes.cxx index 389dd78d4f3a..cde8bdc9a2e6 100644 --- a/basctl/source/basicide/bastypes.cxx +++ b/basctl/source/basicide/bastypes.cxx @@ -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 ); } diff --git a/writerfilter/source/filter/ImportFilter.cxx b/writerfilter/source/filter/ImportFilter.cxx index 85303f7883f2..60aabd534bda 100644 --- a/writerfilter/source/filter/ImportFilter.cxx +++ b/writerfilter/source/filter/ImportFilter.cxx @@ -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 ); }