diff options
author | Noel Grandin <noel@peralex.com> | 2014-05-19 10:02:29 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-05-20 11:17:22 +0200 |
commit | 8d54796bf152499ecbe61788be64c9035f725dfa (patch) | |
tree | 9516219cf8e60bdd46597e522ca4e9fde9b8f407 /sfx2 | |
parent | e4740dbecfce958c2c707d8cc92e6dbe52f4b71b (diff) |
enhance pass-by-ref plugin to detect large arguments
Detect arguments larger than 64 chars passed by value.
Change-Id: I9b0ea9ccb99d115984a26eab67c9cf6afd5f6cae
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/imestatuswindow.hxx | 2 | ||||
-rw-r--r-- | sfx2/source/dialog/tabdlg.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/sidebar/ResourceManager.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/sidebar/ResourceManager.hxx | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/source/appl/imestatuswindow.hxx b/sfx2/source/appl/imestatuswindow.hxx index 7d7428f4cbe2..116812defaee 100644 --- a/sfx2/source/appl/imestatuswindow.hxx +++ b/sfx2/source/appl/imestatuswindow.hxx @@ -89,7 +89,7 @@ public: private: ImeStatusWindow(ImeStatusWindow &); // not implemented - void operator =(ImeStatusWindow); // not implemented + void operator =(const ImeStatusWindow&); // not implemented virtual ~ImeStatusWindow(); diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx index 2f2c6f91d301..7cdc84401841 100644 --- a/sfx2/source/dialog/tabdlg.cxx +++ b/sfx2/source/dialog/tabdlg.cxx @@ -321,7 +321,7 @@ const SfxPoolItem* SfxTabPage::GetOldItem( const SfxItemSet& rSet, return pItem; } -void SfxTabPage::PageCreated( SfxAllItemSet /*aSet*/ ) +void SfxTabPage::PageCreated( const SfxAllItemSet& /*aSet*/ ) { DBG_ASSERT(false, "SfxTabPage::PageCreated should not be called"); } diff --git a/sfx2/source/sidebar/ResourceManager.cxx b/sfx2/source/sidebar/ResourceManager.cxx index 2df3af1bbf1e..53fa381747d5 100644 --- a/sfx2/source/sidebar/ResourceManager.cxx +++ b/sfx2/source/sidebar/ResourceManager.cxx @@ -621,7 +621,7 @@ void ResourceManager::StorePanelExpansionState ( void ResourceManager::GetToolPanelNodeNames ( ::std::vector<OUString>& rMatchingNames, - const ::utl::OConfigurationTreeRoot aRoot) const + const ::utl::OConfigurationTreeRoot& aRoot) const { Sequence<OUString> aChildNodeNames (aRoot.getNodeNames()); const sal_Int32 nCount (aChildNodeNames.getLength()); diff --git a/sfx2/source/sidebar/ResourceManager.hxx b/sfx2/source/sidebar/ResourceManager.hxx index 9ec6e1f0dbf3..7ce2a02e0695 100644 --- a/sfx2/source/sidebar/ResourceManager.hxx +++ b/sfx2/source/sidebar/ResourceManager.hxx @@ -119,7 +119,7 @@ private: const ::rtl::OUString& rsModuleName) const; void GetToolPanelNodeNames ( ::std::vector<rtl::OUString>& rMatchingNames, - const ::utl::OConfigurationTreeRoot aRoot) const; + const ::utl::OConfigurationTreeRoot& aRoot) const; bool IsDeckEnabled ( const ::rtl::OUString& rsDeckId, const Context& rContext, |