[Libreoffice-commits] core.git: sfx2/source
Giuseppe Castagno
giuseppe.castagno at acca-esse.eu
Tue Oct 18 19:36:38 UTC 2016
sfx2/source/doc/sfxbasemodel.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 71dfc1113e45caff3d2ff43261a81c8cadae340a
Author: Giuseppe Castagno <giuseppe.castagno at acca-esse.eu>
Date: Sun Oct 16 10:11:13 2016 +0200
tdf#103274 (8): Add default XCommandEnvironment reference
Change-Id: I583ed0714c0bf543c44c098613e1aab9d3b31452
Reviewed-on: https://gerrit.libreoffice.org/30007
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 55bbf0a..27e79f8 100644
--- a/sfx2/source/doc/sfxbasemodel.cxx
+++ b/sfx2/source/doc/sfxbasemodel.cxx
@@ -3942,7 +3942,7 @@ OUString SAL_CALL SfxBaseModel::getTitle()
{
try {
::ucbhelper::Content aContent( pMedium->GetName(),
- Reference<ucb::XCommandEnvironment>(),
+ utl::UCBContentHelper::getDefaultCommandEnvironment(),
comphelper::getProcessComponentContext() );
const Reference < beans::XPropertySetInfo > xProps
= aContent.getProperties();
More information about the Libreoffice-commits
mailing list