[Libreoffice-commits] core.git: sfx2/source
Giuseppe Castagno
giuseppe.castagno at acca-esse.eu
Tue Oct 18 10:34:03 UTC 2016
sfx2/source/doc/sfxbasemodel.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 4009470eca063b7001941cc21580617f0288298c
Author: Giuseppe Castagno <giuseppe.castagno at acca-esse.eu>
Date: Sun Oct 16 10:05:42 2016 +0200
tdf#103274 (6): Add default XCommandEnvironment reference
Change-Id: I71d83f1094800c3156f9159b6628e4d53d723b95
Reviewed-on: https://gerrit.libreoffice.org/29991
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Giuseppe Castagno <giuseppe.castagno at acca-esse.eu>
diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx
index 0381dc0..23c4478 100644
--- a/sfx2/source/doc/sfxbasemodel.cxx
+++ b/sfx2/source/doc/sfxbasemodel.cxx
@@ -2582,7 +2582,7 @@ bool SfxBaseModel::getBoolPropertyValue( const OUString& rName ) throw ( Runtime
try
{
::ucbhelper::Content aContent( pMedium->GetName( ),
- Reference<ucb::XCommandEnvironment>(),
+ utl::UCBContentHelper::getDefaultCommandEnvironment(),
comphelper::getProcessComponentContext() );
Reference < beans::XPropertySetInfo > xProps = aContent.getProperties();
if ( xProps->hasPropertyByName( rName ) )
More information about the Libreoffice-commits
mailing list