diff options
Diffstat (limited to 'dtrans/source/generic/generic_clipboard.cxx')
-rw-r--r-- | dtrans/source/generic/generic_clipboard.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dtrans/source/generic/generic_clipboard.cxx b/dtrans/source/generic/generic_clipboard.cxx index 13061dc3cf09..de175f24617d 100644 --- a/dtrans/source/generic/generic_clipboard.cxx +++ b/dtrans/source/generic/generic_clipboard.cxx @@ -33,7 +33,7 @@ using ::dtrans::GenericClipboard; GenericClipboard::GenericClipboard() : WeakComponentImplHelper< XClipboardEx, XClipboardNotifier, XServiceInfo, XInitialization > (m_aMutex), - m_bInitialized(sal_False) + m_bInitialized(false) { } @@ -156,7 +156,7 @@ Sequence< OUString > SAL_CALL GenericClipboard_getSupportedServiceNames() Reference< XInterface > SAL_CALL GenericClipboard_createInstance( const Reference< XMultiServiceFactory > & /*xMultiServiceFactory*/) { - return Reference < XInterface >( ( OWeakObject * ) new GenericClipboard()); + return Reference < XInterface >(static_cast<OWeakObject *>(new GenericClipboard())); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |