summaryrefslogtreecommitdiff
path: root/sc/source/ui/unoobj/appluno.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-08 16:27:31 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-08 16:27:31 +0200
commit1c5613e108b4fe98a415296a5b6c0bc7636548ef (patch)
tree331ae13fdbc03859091ec3d78b9614d9dd57dcf3 /sc/source/ui/unoobj/appluno.cxx
parent2c2bafeedf6a7ce99f8c30d1f69ef9d0a0bf8587 (diff)
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: I700b727c048aff5c19411fb9d5bd9601b296cb06
Diffstat (limited to 'sc/source/ui/unoobj/appluno.cxx')
-rw-r--r--sc/source/ui/unoobj/appluno.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/unoobj/appluno.cxx b/sc/source/ui/unoobj/appluno.cxx
index eb82931e80e1..14959c292c80 100644
--- a/sc/source/ui/unoobj/appluno.cxx
+++ b/sc/source/ui/unoobj/appluno.cxx
@@ -185,7 +185,7 @@ uno::Reference<uno::XInterface> SAL_CALL ScSpreadsheetSettings_CreateInstance(
{
SolarMutexGuard aGuard;
ScDLL::Init();
- return (cppu::OWeakObject*)new ScSpreadsheetSettings();
+ return static_cast<cppu::OWeakObject*>(new ScSpreadsheetSettings());
}
OUString ScSpreadsheetSettings::getImplementationName_Static()