summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2017-06-15 20:18:37 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-06-17 08:36:31 +0200
commita98ac7220a92c1dfee9a2a490d764094050ffb91 (patch)
tree4c7345cdfb7beeff4e44f02dbaacd8627c0c0040 /sfx2
parent2404a17e157273430d40ceaa1ab1275e7b50ba6e (diff)
TransferableObjectDescriptor::mnOle2Misc field is unused
which means that SfxObjectShell::GetMiscStatus becomes unused Change-Id: I5c89a2cd5c77c7f08a57fdac08237aab514fc7fa Reviewed-on: https://gerrit.libreoffice.org/38843 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/objembed.cxx7
-rw-r--r--sfx2/source/doc/sfxbasemodel.cxx2
2 files changed, 0 insertions, 9 deletions
diff --git a/sfx2/source/doc/objembed.cxx b/sfx2/source/doc/objembed.cxx
index 437334e75528..7428a5e39ed7 100644
--- a/sfx2/source/doc/objembed.cxx
+++ b/sfx2/source/doc/objembed.cxx
@@ -136,12 +136,6 @@ void SfxObjectShell::SetVisAreaSize( const Size & rVisSize )
}
-sal_uIntPtr SfxObjectShell::GetMiscStatus() const
-{
- return 0;
-}
-
-
MapUnit SfxObjectShell::GetMapUnit() const
{
return pImpl->m_nMapUnit;
@@ -161,7 +155,6 @@ void SfxObjectShell::FillTransferableObjectDescriptor( TransferableObjectDescrip
FillClass( &rDesc.maClassName, &nClipFormat, &aAppName, &rDesc.maTypeName, &aShortName, SOFFICE_FILEFORMAT_CURRENT );
rDesc.mnViewAspect = ASPECT_CONTENT;
- rDesc.mnOle2Misc = GetMiscStatus();
rDesc.maSize = OutputDevice::LogicToLogic( GetVisArea().GetSize(), GetMapUnit(), MapUnit::Map100thMM );
rDesc.maDragStartPos = Point();
rDesc.maDisplayName.clear();
diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx
index f0efafec87e8..2e2d0d325d93 100644
--- a/sfx2/source/doc/sfxbasemodel.cxx
+++ b/sfx2/source/doc/sfxbasemodel.cxx
@@ -1891,8 +1891,6 @@ Any SAL_CALL SfxBaseModel::getTransferData( const datatransfer::DataFlavor& aFla
// TODO/LATER: ViewAspect needs to be sal_Int64
aDesc.mnViewAspect = sal::static_int_cast< sal_uInt16 >( embed::Aspects::MSOLE_CONTENT );
- //TODO/LATER: status needs to become sal_Int64
- aDesc.mnOle2Misc = m_pData->m_pObjectShell->GetMiscStatus();
Size aSize = m_pData->m_pObjectShell->GetVisArea().GetSize();
MapUnit aMapUnit = m_pData->m_pObjectShell->GetMapUnit();