basctl/source/basicide/bastypes.cxx | 2 +- writerfilter/source/filter/ImportFilter.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit 39ba666f802db07e34eb848ad4e5f39ff85dd6ed Author: Julien Nabet <serval2...@yahoo.fr> Date: Sun Apr 8 22:19:35 2012 +0200 Fix "Same expression..." reported by cppcheck diff --git a/basctl/source/basicide/bastypes.cxx b/basctl/source/basicide/bastypes.cxx index 389dd78..cde8bdc 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 85303f7..60aabd5 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 ); } _______________________________________________ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits