summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorIvan Timofeev <timofeev.i.s@gmail.com>2012-01-29 21:19:45 +0400
committerIvan Timofeev <timofeev.i.s@gmail.com>2012-01-30 12:23:34 +0400
commit9cde190a46af066a2d64caf47a50326b26a8f4fc (patch)
treecde447c3de2bf7b3248e6e863aae06f30dc5df7c /sw
parent5a388e5c2edb99c192e58d95f70341ec1de08f38 (diff)
remove '#define OUSTRING ::rtl::OUString'
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/uno/unomodule.cxx2
-rw-r--r--sw/source/ui/uno/unomodule.hxx3
2 files changed, 2 insertions, 3 deletions
diff --git a/sw/source/ui/uno/unomodule.cxx b/sw/source/ui/uno/unomodule.cxx
index 10bfbda29521..e9f74f30813f 100644
--- a/sw/source/ui/uno/unomodule.cxx
+++ b/sw/source/ui/uno/unomodule.cxx
@@ -130,7 +130,7 @@ SEQUENCE< REFERENCE< XDISPATCH > > SAL_CALL SwUnoModule::queryDispatches(
// XDispatchProvider
REFERENCE< XDISPATCH > SAL_CALL SwUnoModule::queryDispatch(
- const UNOURL& aURL, const OUSTRING& /*sTargetFrameName*/,
+ const UNOURL& aURL, const rtl::OUString& /*sTargetFrameName*/,
sal_Int32 /*eSearchFlags*/ ) throw( uno::RuntimeException )
{
REFERENCE< XDISPATCH > xReturn;
diff --git a/sw/source/ui/uno/unomodule.hxx b/sw/source/ui/uno/unomodule.hxx
index 84a2b54d6704..71be37c4aae0 100644
--- a/sw/source/ui/uno/unomodule.hxx
+++ b/sw/source/ui/uno/unomodule.hxx
@@ -64,7 +64,6 @@ namespace com
#define SEQUENCE ::com::sun::star::uno::Sequence
#define XDISPATCH ::com::sun::star::frame::XDispatch
#define XNOTIFYINGDISPATCH ::com::sun::star::frame::XNotifyingDispatch
-#define OUSTRING ::rtl::OUString
#define UNOURL ::com::sun::star::util::URL
#define DISPATCHDESCRIPTOR ::com::sun::star::frame::DispatchDescriptor
@@ -88,7 +87,7 @@ public:
// XDispatchProvider
virtual SEQUENCE< REFERENCE< XDISPATCH > > SAL_CALL queryDispatches( const SEQUENCE< DISPATCHDESCRIPTOR >& seqDescriptor ) throw( RUNTIMEEXCEPTION ) ;
virtual REFERENCE< XDISPATCH > SAL_CALL queryDispatch( const UNOURL & aURL ,
- const OUSTRING & sTargetFrameName,
+ const ::rtl::OUString & sTargetFrameName,
sal_Int32 eSearchFlags ) throw( RUNTIMEEXCEPTION ) ;
// XServiceInfo
virtual ::rtl::OUString SAL_CALL getImplementationName( ) throw(::com::sun::star::uno::RuntimeException);