summaryrefslogtreecommitdiff
path: root/include/sfx2/objsh.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-01 14:52:24 +0200
committerNoel Grandin <noel@peralex.com>2016-03-02 07:57:36 +0200
commitbd5ceabb533a3af7e4140e195de885bf23f650bf (patch)
tree5178589f4616f7d5da32e88eb09f3a73279f63ff /include/sfx2/objsh.hxx
parent0d34f4ac9b17348d7956285c6cefb28bea2537b6 (diff)
loplugin:unuseddefaultparam in sfx2
Change-Id: I37afde801a6468c79259fe51acbdea0614c2c8c5
Diffstat (limited to 'include/sfx2/objsh.hxx')
-rw-r--r--include/sfx2/objsh.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sfx2/objsh.hxx b/include/sfx2/objsh.hxx
index 7cfd3584fbf5..ffca96b2c639 100644
--- a/include/sfx2/objsh.hxx
+++ b/include/sfx2/objsh.hxx
@@ -408,7 +408,7 @@ public:
@return
whether macros from this document should be executed
*/
- bool AdjustMacroMode( const OUString& rScriptType, bool _bSuppressUI = false );
+ bool AdjustMacroMode();
SvKeyValueIterator* GetHeaderAttributes();
void ClearHeaderAttributesForSourceViewHack();
@@ -541,7 +541,7 @@ public:
static SfxObjectShell* CreateObject( const OUString& rServiceName, SfxObjectCreateMode = SfxObjectCreateMode::STANDARD );
static SfxObjectShell* CreateObjectByFactoryName( const OUString& rURL, SfxObjectCreateMode = SfxObjectCreateMode::STANDARD );
static css::uno::Reference< css::lang::XComponent >
- CreateAndLoadComponent( const SfxItemSet& rSet, SfxFrame* pFrame = nullptr );
+ CreateAndLoadComponent( const SfxItemSet& rSet );
static SfxObjectShell* GetShellFromComponent( const css::uno::Reference< css::lang::XComponent >& xComp );
static OUString GetServiceNameFromFactory( const OUString& rFact );
bool IsInPlaceActive();