summaryrefslogtreecommitdiff
path: root/sfx2/source/appl
diff options
context:
space:
mode:
authorElton Chung <elton@layerjet.com>2012-02-05 18:47:50 +0800
committerIvan Timofeev <timofeev.i.s@gmail.com>2012-02-05 21:40:30 +0400
commit9c2f7056a82c4d7719715ca1c77f8dd4c17aa24c (patch)
treefcfff781b70e6423b5b5c32831eae1ca251be6b7 /sfx2/source/appl
parent4fa8d043f8336e7b35130934498f8a4b357967d3 (diff)
Remove unused code
Diffstat (limited to 'sfx2/source/appl')
-rw-r--r--sfx2/source/appl/appbaslib.cxx12
-rw-r--r--sfx2/source/appl/childwin.cxx16
2 files changed, 0 insertions, 28 deletions
diff --git a/sfx2/source/appl/appbaslib.cxx b/sfx2/source/appl/appbaslib.cxx
index f630d8898124..a5b6e337ff6e 100644
--- a/sfx2/source/appl/appbaslib.cxx
+++ b/sfx2/source/appl/appbaslib.cxx
@@ -76,18 +76,6 @@ void SfxBasicManagerHolder::reset( BasicManager* _pBasicManager )
}
}
-bool SfxBasicManagerHolder::isAnyContainerModified() const
-{
- OSL_PRECOND( isValid(), "SfxBasicManagerHolder::isAnyContainerModified: not initialized!" );
-
- if ( mxBasicContainer.is() && mxBasicContainer->isModified() )
- return true;
- if ( mxDialogContainer.is() && mxDialogContainer->isModified() )
- return true;
-
- return false;
-}
-
void SfxBasicManagerHolder::storeAllLibraries()
{
OSL_PRECOND( isValid(), "SfxBasicManagerHolder::storeAllLibraries: not initialized!" );
diff --git a/sfx2/source/appl/childwin.cxx b/sfx2/source/appl/childwin.cxx
index 8a555d557e96..ab61c0f88872 100644
--- a/sfx2/source/appl/childwin.cxx
+++ b/sfx2/source/appl/childwin.cxx
@@ -534,22 +534,6 @@ FloatingWindow* SfxChildWindowContext::GetFloatingWindow() const
}
}
-SfxChildAlignment SfxChildWindowContext::GetAlignment() const
-{
- Window *pParent = pWindow->GetParent();
- if ( pParent->GetType() == RSC_DOCKINGWINDOW )
- {
- return ((SfxDockingWindow*)pParent)->GetAlignment();
- }
- else if ( pParent->GetType() == RSC_TOOLBOX )
- {
- HACK(noch nicht verwendet und noch nicht implementiert);
- return SFX_ALIGN_NOALIGNMENT;
- }
- else
- return SFX_ALIGN_NOALIGNMENT;
-}
-
void SfxChildWindowContext::Resizing( Size& )
{
}