summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-02 11:28:00 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-02 11:28:00 +0200
commit8c8bdc6091b7373dcf9ccf98fe1b8e7af914c9a4 (patch)
treeab445469fca560d0035ac5d461bdb9cd641dcba2 /sfx2
parent609707dd218613c5bd2416d681cba78c9cefdca6 (diff)
loplugin:cstylecast: deal with those that are (technically) const_cast
Change-Id: I60298e919c29454c0a3bc8d745029e4a5d4cbea6
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/sfxbasemodel.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx
index cbab9be94837..07d2805ed706 100644
--- a/sfx2/source/doc/sfxbasemodel.cxx
+++ b/sfx2/source/doc/sfxbasemodel.cxx
@@ -3320,7 +3320,7 @@ sal_Int64 SAL_CALL SfxBaseModel::getSomething( const Sequence< sal_Int8 >& aIden
SfxObjectShell *const pObjectShell(GetObjectShell());
if (pObjectShell)
{
- return reinterpret_cast<sal_Int64>((SfxObjectShell*) pObjectShell);
+ return reinterpret_cast<sal_Int64>(pObjectShell);
}
}