diff options
Diffstat (limited to 'sc/source/ui/unoobj/docuno.cxx')
-rw-r--r-- | sc/source/ui/unoobj/docuno.cxx | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx index 57c83e9999be..6d300b88e927 100644 --- a/sc/source/ui/unoobj/docuno.cxx +++ b/sc/source/ui/unoobj/docuno.cxx @@ -116,6 +116,7 @@ #include "drawsh.hxx" #include "drtxtob.hxx" #include "transobj.hxx" +#include "chgtrack.hxx" #include "sc.hrc" @@ -943,6 +944,19 @@ Pointer ScModelObj::getPointer() return pGridWindow->GetPointer(); } +OUString ScModelObj::getTrackedChanges() +{ + OUString aRet; + + if (pDocShell) + { + if (ScChangeTrack* pChangeTrack = pDocShell->GetDocument().GetChangeTrack()) + aRet = pChangeTrack->GetChangeTrackInfo(); + } + + return aRet; +} + void ScModelObj::initializeForTiledRendering(const css::uno::Sequence<css::beans::PropertyValue>& /*rArguments*/) { SolarMutexGuard aGuard; |