summaryrefslogtreecommitdiff
path: root/sw/source/ui
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2018-04-21 01:50:16 +0300
committerTor Lillqvist <tml@collabora.com>2018-05-31 21:53:07 +0300
commit8c772f78e9ce3c9dcfb32728ce388ac1c53cb74f (patch)
treef49c6342ffce937517cb65d255a6d81634d44b7a /sw/source/ui
parent92ac33362cb8ae0bed1fef7232b30ce15ef25425 (diff)
Move two functions to perhaps less confusing locations
Change-Id: I4360c588ee4866f4e680095c0cd0e8f7aceaa6d7 (cherry picked from commit fcf5a8f0f32dd97acee8271c1ccfc50e159667b5)
Diffstat (limited to 'sw/source/ui')
-rw-r--r--sw/source/ui/vba/vbaapplication.cxx18
1 files changed, 8 insertions, 10 deletions
diff --git a/sw/source/ui/vba/vbaapplication.cxx b/sw/source/ui/vba/vbaapplication.cxx
index 52cb6411d1ce..897be10a8c11 100644
--- a/sw/source/ui/vba/vbaapplication.cxx
+++ b/sw/source/ui/vba/vbaapplication.cxx
@@ -305,12 +305,6 @@ SwVbaApplication::getIID()
return OUString("{82154421-0FBF-11d4-8313-005004526AB4}");
}
-uno::Reference< frame::XModel >
-SwVbaApplication::getCurrentDocument()
-{
- return getCurrentWordDoc( mxContext );
-}
-
// XConnectable
OUString SAL_CALL
@@ -337,8 +331,6 @@ SwVbaApplication::FindConnectionPoint()
return xCP;
}
-// XHelperInterface
-
OUString
SwVbaApplication::getServiceImplName()
{
@@ -357,9 +349,10 @@ SwVbaApplication::getServiceNames()
return aServiceNames;
}
-SwVbaApplicationOutgoingConnectionPoint::SwVbaApplicationOutgoingConnectionPoint( SwVbaApplication* pApp ) :
- mpApp(pApp)
+uno::Reference< frame::XModel >
+SwVbaApplication::getCurrentDocument()
{
+ return getCurrentWordDoc( mxContext );
}
// XSinkCaller
@@ -376,6 +369,11 @@ SwVbaApplication::CallSinks( const OUString& Method, uno::Sequence< uno::Any >&
// SwVbaApplicationOutgoingConnectionPoint
+SwVbaApplicationOutgoingConnectionPoint::SwVbaApplicationOutgoingConnectionPoint( SwVbaApplication* pApp ) :
+ mpApp(pApp)
+{
+}
+
// XConnectionPoint
sal_uInt32 SAL_CALL
SwVbaApplicationOutgoingConnectionPoint::Advise( const uno::Reference< XSink >& Sink )