summaryrefslogtreecommitdiffstats
path: root/sc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-05-03 11:20:51 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-05-03 11:20:51 +0200
commita05ab9ef5e1804faed90f3df2f7fb8cb49065590 (patch)
treee6103fe46388857b91d51f63be313810ba0774b0 /sc
parentRemove Edit -> Plug-in as no longer used (diff)
downloadcore-a05ab9ef5e1804faed90f3df2f7fb8cb49065590.tar.gz
core-a05ab9ef5e1804faed90f3df2f7fb8cb49065590.zip
Remove unnecessary setBOOL, makeBoolAny
Change-Id: Id82c3f352fcc2d4dafad877517098cb6f5d046d4
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/inc/fapihelper.hxx2
-rw-r--r--sc/source/ui/docshell/docsh8.cxx3
2 files changed, 2 insertions, 3 deletions
diff --git a/sc/source/filter/inc/fapihelper.hxx b/sc/source/filter/inc/fapihelper.hxx
index f1693c1e4dd1..aa40eff5d9ab 100644
--- a/sc/source/filter/inc/fapihelper.hxx
+++ b/sc/source/filter/inc/fapihelper.hxx
@@ -180,7 +180,7 @@ public:
/** Puts the passed Boolean value into the property set. */
inline void SetBoolProperty( const OUString& rPropName, bool bValue )
- { SetAnyProperty( rPropName, ::comphelper::makeBoolAny( bValue ) ); }
+ { SetAnyProperty( rPropName, css::uno::Any( bValue ) ); }
/** Puts the passed string into the property set. */
inline void SetStringProperty( const OUString& rPropName, const OUString& rValue )
diff --git a/sc/source/ui/docshell/docsh8.cxx b/sc/source/ui/docshell/docsh8.cxx
index 9b5df568fc8b..c160b8a9c4fa 100644
--- a/sc/source/ui/docshell/docsh8.cxx
+++ b/sc/source/ui/docshell/docsh8.cxx
@@ -205,8 +205,7 @@ bool ScDocShell::KillFile( const INetURLObject& rURL )
::ucbhelper::Content aCnt( rURL.GetMainURL(INetURLObject::NO_DECODE),
uno::Reference< css::ucb::XCommandEnvironment >(),
comphelper::getProcessComponentContext() );
- aCnt.executeCommand( "delete",
- comphelper::makeBoolAny( true ) );
+ aCnt.executeCommand( "delete", css::uno::Any( true ) );
}
catch( uno::Exception& )
{