summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--remotebridges/source/unourl_resolver/unourl_resolver.cxx2
-rw-r--r--reportdesign/source/core/api/ReportDefinition.cxx4
-rw-r--r--reportdesign/source/core/sdr/UndoEnv.cxx4
-rw-r--r--reportdesign/source/core/sdr/formatnormalizer.hxx2
-rw-r--r--reportdesign/source/filter/xml/dbloader2.hxx2
-rw-r--r--reportdesign/source/filter/xml/xmlAutoStyle.hxx2
-rw-r--r--reportdesign/source/filter/xml/xmlExport.cxx2
-rw-r--r--reportdesign/source/ui/dlg/AddField.cxx2
-rw-r--r--reportdesign/source/ui/dlg/CondFormat.cxx2
-rw-r--r--reportdesign/source/ui/dlg/GroupExchange.hxx2
-rw-r--r--reportdesign/source/ui/dlg/GroupsSorting.cxx2
-rw-r--r--reportdesign/source/ui/report/DesignView.cxx2
-rw-r--r--reportdesign/source/ui/report/ReportControllerObserver.cxx2
-rw-r--r--reportdesign/source/ui/report/ViewsWindow.cxx4
14 files changed, 17 insertions, 17 deletions
diff --git a/remotebridges/source/unourl_resolver/unourl_resolver.cxx b/remotebridges/source/unourl_resolver/unourl_resolver.cxx
index 9468392c072f..a656ed19efe9 100644
--- a/remotebridges/source/unourl_resolver/unourl_resolver.cxx
+++ b/remotebridges/source/unourl_resolver/unourl_resolver.cxx
@@ -65,7 +65,7 @@ class ResolverImpl : public WeakImplHelper2< XServiceInfo, XUnoUrlResolver >
Reference< XComponentContext > _xCtx;
public:
- ResolverImpl( const Reference< XComponentContext > & xSMgr );
+ explicit ResolverImpl( const Reference< XComponentContext > & xSMgr );
virtual ~ResolverImpl();
// XServiceInfo
diff --git a/reportdesign/source/core/api/ReportDefinition.cxx b/reportdesign/source/core/api/ReportDefinition.cxx
index 42b0baf010a3..27adf772b4c2 100644
--- a/reportdesign/source/core/api/ReportDefinition.cxx
+++ b/reportdesign/source/core/api/ReportDefinition.cxx
@@ -528,7 +528,7 @@ struct OReportDefinitionImpl
bool m_bEscapeProcessing;
bool m_bSetModifiedEnabled;
- OReportDefinitionImpl(::osl::Mutex& _aMutex)
+ explicit OReportDefinitionImpl(::osl::Mutex& _aMutex)
:m_aStorageChangeListeners(_aMutex)
,m_aCloseListener(_aMutex)
,m_aModifyListeners(_aMutex)
@@ -2298,7 +2298,7 @@ class OStylesHelper:
protected:
virtual ~OStylesHelper(){}
public:
- OStylesHelper(const uno::Type& rType = cppu::UnoType<container::XElementAccess>::get());
+ explicit OStylesHelper(const uno::Type& rType = cppu::UnoType<container::XElementAccess>::get());
// XNameContainer
virtual void SAL_CALL insertByName( const OUString& aName, const uno::Any& aElement ) throw(lang::IllegalArgumentException, container::ElementExistException,lang::WrappedTargetException, uno::RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/reportdesign/source/core/sdr/UndoEnv.cxx b/reportdesign/source/core/sdr/UndoEnv.cxx
index bb9287f690a0..fc49b37eac85 100644
--- a/reportdesign/source/core/sdr/UndoEnv.cxx
+++ b/reportdesign/source/core/sdr/UndoEnv.cxx
@@ -66,7 +66,7 @@ struct PropertyInfo
{
bool bIsReadonlyOrTransient;
- PropertyInfo( const bool i_bIsTransientOrReadOnly )
+ explicit PropertyInfo( const bool i_bIsTransientOrReadOnly )
:bIsReadonlyOrTransient( i_bIsTransientOrReadOnly )
{
}
@@ -104,7 +104,7 @@ public:
bool m_bReadOnly;
bool m_bIsUndo;
- OXUndoEnvironmentImpl(OReportModel& _rModel);
+ explicit OXUndoEnvironmentImpl(OReportModel& _rModel);
};
OXUndoEnvironmentImpl::OXUndoEnvironmentImpl(OReportModel& _rModel) : m_rModel(_rModel)
diff --git a/reportdesign/source/core/sdr/formatnormalizer.hxx b/reportdesign/source/core/sdr/formatnormalizer.hxx
index d85ce5925f5c..d4da500ef177 100644
--- a/reportdesign/source/core/sdr/formatnormalizer.hxx
+++ b/reportdesign/source/core/sdr/formatnormalizer.hxx
@@ -60,7 +60,7 @@ namespace rptui
bool m_bFieldListDirty;
public:
- FormatNormalizer( const OReportModel& _rModel );
+ explicit FormatNormalizer( const OReportModel& _rModel );
~FormatNormalizer();
void notifyPropertyChange( const ::com::sun::star::beans::PropertyChangeEvent& _rEvent );
diff --git a/reportdesign/source/filter/xml/dbloader2.hxx b/reportdesign/source/filter/xml/dbloader2.hxx
index 687e27d58d9a..edd8387d8624 100644
--- a/reportdesign/source/filter/xml/dbloader2.hxx
+++ b/reportdesign/source/filter/xml/dbloader2.hxx
@@ -68,7 +68,7 @@ namespace rptxml
{
::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > m_xContext;
public:
- ORptTypeDetection(::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & xContext);
+ explicit ORptTypeDetection(::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & xContext);
// XServiceInfo
OUString SAL_CALL getImplementationName() throw(std::exception ) SAL_OVERRIDE;
diff --git a/reportdesign/source/filter/xml/xmlAutoStyle.hxx b/reportdesign/source/filter/xml/xmlAutoStyle.hxx
index 2fe7f6758378..abcfdac91f0b 100644
--- a/reportdesign/source/filter/xml/xmlAutoStyle.hxx
+++ b/reportdesign/source/filter/xml/xmlAutoStyle.hxx
@@ -43,7 +43,7 @@ namespace rptxml
OXMLAutoStylePoolP(const OXMLAutoStylePoolP&) SAL_DELETED_FUNCTION;
void operator =(const OXMLAutoStylePoolP&) SAL_DELETED_FUNCTION;
public:
- OXMLAutoStylePoolP(ORptExport& rXMLExport);
+ explicit OXMLAutoStylePoolP(ORptExport& rXMLExport);
virtual ~OXMLAutoStylePoolP();
};
diff --git a/reportdesign/source/filter/xml/xmlExport.cxx b/reportdesign/source/filter/xml/xmlExport.cxx
index bf7594e9ae53..5f6e9e707958 100644
--- a/reportdesign/source/filter/xml/xmlExport.cxx
+++ b/reportdesign/source/filter/xml/xmlExport.cxx
@@ -164,7 +164,7 @@ namespace rptxml
class OSpecialHandleXMLExportPropertyMapper : public SvXMLExportPropertyMapper
{
public:
- OSpecialHandleXMLExportPropertyMapper(const rtl::Reference< XMLPropertySetMapper >& rMapper) : SvXMLExportPropertyMapper(rMapper )
+ explicit OSpecialHandleXMLExportPropertyMapper(const rtl::Reference< XMLPropertySetMapper >& rMapper) : SvXMLExportPropertyMapper(rMapper )
{
}
/** this method is called for every item that has the
diff --git a/reportdesign/source/ui/dlg/AddField.cxx b/reportdesign/source/ui/dlg/AddField.cxx
index 657479acd56b..6020abbfbe4b 100644
--- a/reportdesign/source/ui/dlg/AddField.cxx
+++ b/reportdesign/source/ui/dlg/AddField.cxx
@@ -65,7 +65,7 @@ class OAddFieldWindowListBox: public SvTreeListBox
VclPtr<OAddFieldWindow> m_pTabWin;
public:
- OAddFieldWindowListBox( OAddFieldWindow* _pParent );
+ explicit OAddFieldWindowListBox( OAddFieldWindow* _pParent );
virtual ~OAddFieldWindowListBox();
virtual void dispose() SAL_OVERRIDE;
diff --git a/reportdesign/source/ui/dlg/CondFormat.cxx b/reportdesign/source/ui/dlg/CondFormat.cxx
index 24e2bce7782f..1f9efb73c6c6 100644
--- a/reportdesign/source/ui/dlg/CondFormat.cxx
+++ b/reportdesign/source/ui/dlg/CondFormat.cxx
@@ -69,7 +69,7 @@ namespace rptui
vcl::Window& m_rWindow;
public:
- UpdateLocker( vcl::Window& _rWindow )
+ explicit UpdateLocker( vcl::Window& _rWindow )
:m_rWindow( _rWindow )
{
_rWindow.SetUpdateMode( false );
diff --git a/reportdesign/source/ui/dlg/GroupExchange.hxx b/reportdesign/source/ui/dlg/GroupExchange.hxx
index a057067459ab..39d57589cce6 100644
--- a/reportdesign/source/ui/dlg/GroupExchange.hxx
+++ b/reportdesign/source/ui/dlg/GroupExchange.hxx
@@ -32,7 +32,7 @@ namespace rptui
{
::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any> m_aGroupRow;
public:
- OGroupExchange(const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any>& _aGroupRow);
+ explicit OGroupExchange(const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any>& _aGroupRow);
static SotClipboardFormatId getReportGroupId();
protected:
diff --git a/reportdesign/source/ui/dlg/GroupsSorting.cxx b/reportdesign/source/ui/dlg/GroupsSorting.cxx
index 5eb045690386..473cb45a50ec 100644
--- a/reportdesign/source/ui/dlg/GroupsSorting.cxx
+++ b/reportdesign/source/ui/dlg/GroupsSorting.cxx
@@ -85,7 +85,7 @@ class OFieldExpressionControlContainerListener : public ::cppu::WeakImplHelper1<
{
VclPtr<OFieldExpressionControl> mpParent;
public:
- OFieldExpressionControlContainerListener(OFieldExpressionControl* pParent) : mpParent(pParent) {}
+ explicit OFieldExpressionControlContainerListener(OFieldExpressionControl* pParent) : mpParent(pParent) {}
// XEventListener
virtual void SAL_CALL disposing(const ::com::sun::star::lang::EventObject& Source) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
diff --git a/reportdesign/source/ui/report/DesignView.cxx b/reportdesign/source/ui/report/DesignView.cxx
index 9d9f0ad49fbc..59144e44c587 100644
--- a/reportdesign/source/ui/report/DesignView.cxx
+++ b/reportdesign/source/ui/report/DesignView.cxx
@@ -61,7 +61,7 @@ class OTaskWindow : public vcl::Window
{
VclPtr<PropBrw> m_pPropWin;
public:
- OTaskWindow(vcl::Window* _pParent) : Window(_pParent),m_pPropWin(NULL){}
+ explicit OTaskWindow(vcl::Window* _pParent) : Window(_pParent),m_pPropWin(NULL){}
virtual ~OTaskWindow() { disposeOnce(); }
virtual void dispose() SAL_OVERRIDE { m_pPropWin.clear(); vcl::Window::dispose(); }
diff --git a/reportdesign/source/ui/report/ReportControllerObserver.cxx b/reportdesign/source/ui/report/ReportControllerObserver.cxx
index 3dd5b0091c3f..b93f49f8b45a 100644
--- a/reportdesign/source/ui/report/ReportControllerObserver.cxx
+++ b/reportdesign/source/ui/report/ReportControllerObserver.cxx
@@ -57,7 +57,7 @@ public:
oslInterlockedCount m_nLocks;
bool m_bReadOnly;
- OXReportControllerObserverImpl(const OReportController& _rController);
+ explicit OXReportControllerObserverImpl(const OReportController& _rController);
~OXReportControllerObserverImpl();
};
diff --git a/reportdesign/source/ui/report/ViewsWindow.cxx b/reportdesign/source/ui/report/ViewsWindow.cxx
index 02552e6a6899..d4dba4f7edbf 100644
--- a/reportdesign/source/ui/report/ViewsWindow.cxx
+++ b/reportdesign/source/ui/report/ViewsWindow.cxx
@@ -958,13 +958,13 @@ namespace
bool m_bCopy;
public:
- ApplySectionViewAction(bool _bCopy)
+ explicit ApplySectionViewAction(bool _bCopy)
: m_eAction(eEndDragObj)
, m_bCopy(_bCopy)
{
}
- ApplySectionViewAction(SectionViewAction _eAction = eEndAction)
+ explicit ApplySectionViewAction(SectionViewAction _eAction = eEndAction)
: m_eAction(_eAction)
, m_bCopy(false)
{