summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2018-12-31 10:09:03 +0100
committerTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2019-01-03 07:34:26 +0100
commit368830fbaef27d3a392d09e5f5c9aa35859b792a (patch)
tree359ab666192d96877e76cd8ce92978848584883c /sfx2
parentec17d9778b26f762af30c964a6170d4933cdcea4 (diff)
Remove some useless whitespaces
Reviewed-on: https://gerrit.libreoffice.org/65764 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit a8d51dc85627514ce7f983eb4e0514ef00f84b1e) Change-Id: Iebf7add3dd937afb6dad07a10ecbe768c0a79d36
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/appopen.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/sfx2/source/appl/appopen.cxx b/sfx2/source/appl/appopen.cxx
index 6c5d833af317..4992156f2fa9 100644
--- a/sfx2/source/appl/appopen.cxx
+++ b/sfx2/source/appl/appopen.cxx
@@ -675,9 +675,9 @@ void SfxApplication::OpenDocExec_Impl( SfxRequest& rReq )
// intercept all incoming interactions and provide useful information
// later if the following transaction was finished.
- ::sfx2::PreventDuplicateInteraction* pHandler = new ::sfx2::PreventDuplicateInteraction(::comphelper::getProcessComponentContext());
- css::uno::Reference< css::task::XInteractionHandler > xHandler (static_cast< css::task::XInteractionHandler* >(pHandler), css::uno::UNO_QUERY);
- css::uno::Reference< css::task::XInteractionHandler > xWrappedHandler;
+ sfx2::PreventDuplicateInteraction* pHandler = new sfx2::PreventDuplicateInteraction(comphelper::getProcessComponentContext());
+ uno::Reference<task::XInteractionHandler> xHandler(static_cast< css::task::XInteractionHandler* >(pHandler), css::uno::UNO_QUERY);
+ uno::Reference<task::XInteractionHandler> xWrappedHandler;
// wrap existing handler or create new UUI handler
const SfxUnoAnyItem* pInteractionItem = rReq.GetArg<SfxUnoAnyItem>(SID_INTERACTIONHANDLER);
@@ -693,8 +693,8 @@ void SfxApplication::OpenDocExec_Impl( SfxRequest& rReq )
rReq.AppendItem( SfxUnoAnyItem(SID_INTERACTIONHANDLER,css::uno::makeAny(xHandler)) );
// define rules for this handler
- css::uno::Type aInteraction = ::cppu::UnoType<css::task::ErrorCodeRequest>::get();
- ::sfx2::PreventDuplicateInteraction::InteractionInfo aRule (aInteraction, 1);
+ css::uno::Type aInteraction = ::cppu::UnoType<css::task::ErrorCodeRequest>::get();
+ ::sfx2::PreventDuplicateInteraction::InteractionInfo aRule(aInteraction, 1);
pHandler->addInteractionRule(aRule);
if (!aDocService.isEmpty())
@@ -816,9 +816,9 @@ void SfxApplication::OpenDocExec_Impl( SfxRequest& rReq )
// Mark without URL cannot be handled by hyperlink code
if ( bHyperlinkUsed && !aFileName.isEmpty() && aFileName[0] != '#' )
{
- Reference< css::document::XTypeDetection > xTypeDetection( ::comphelper::getProcessServiceFactory()->createInstance(
- "com.sun.star.document.TypeDetection"),
- UNO_QUERY );
+ uno::Reference<document::XTypeDetection> xTypeDetection(
+ comphelper::getProcessServiceFactory()->createInstance("com.sun.star.document.TypeDetection"), UNO_QUERY);
+
if ( xTypeDetection.is() )
{
URL aURL;