[Libreoffice-commits] .: basctl/source writerfilter/source
Julien Nabet
serval2412 at kemper.freedesktop.org
Sun Apr 8 13:26:24 PDT 2012
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 <serval2412 at 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 );
}
More information about the Libreoffice-commits
mailing list