diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2012-04-08 22:19:35 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2012-04-08 22:20:20 +0200 |
commit | 39ba666f802db07e34eb848ad4e5f39ff85dd6ed (patch) | |
tree | a9e983edf79bf5b4f2f1d584f94afa6dc91c6eaa | |
parent | e79c9c4c5a84f0409362361901fbdcb6a574ed87 (diff) |
Fix "Same expression..." reported by cppcheck
-rw-r--r-- | basctl/source/basicide/bastypes.cxx | 2 | ||||
-rw-r--r-- | 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 ); } |