Kaydet (Commit) f0f8be40 authored tarafından Thomas Arnhold's avatar Thomas Arnhold

callcatcher: remove unused SystemWindow::Foo

üst b695e520
...@@ -204,10 +204,6 @@ public: ...@@ -204,10 +204,6 @@ public:
// for systems like MacOSX which can display the URL a document is loaded from // for systems like MacOSX which can display the URL a document is loaded from
// separately from the window title // separately from the window title
void SetRepresentedURL( const rtl::OUString& ); void SetRepresentedURL( const rtl::OUString& );
const rtl::OUString& GetRepresentedURL() const;
void SetZLevel( sal_uInt8 nLevel );
sal_uInt8 GetZLevel() const;
void EnableSaveBackground( sal_Bool bSave = sal_True ); void EnableSaveBackground( sal_Bool bSave = sal_True );
sal_Bool IsSaveBackgroundEnabled() const; sal_Bool IsSaveBackgroundEnabled() const;
......
...@@ -244,36 +244,6 @@ void SystemWindow::Resizing( Size& ) ...@@ -244,36 +244,6 @@ void SystemWindow::Resizing( Size& )
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
void SystemWindow::SetZLevel( sal_uInt8 nLevel )
{
Window* pWindow = this;
while ( pWindow->mpWindowImpl->mpBorderWindow )
pWindow = pWindow->mpWindowImpl->mpBorderWindow;
if ( pWindow->mpWindowImpl->mbOverlapWin && !pWindow->mpWindowImpl->mbFrame )
{
sal_uInt8 nOldLevel = pWindow->mpWindowImpl->mpOverlapData->mnTopLevel;
pWindow->mpWindowImpl->mpOverlapData->mnTopLevel = nLevel;
// Wenn der neue Level groesser als der alte ist, schieben
// wir das Fenster nach hinten
if ( !IsReallyVisible() && (nLevel > nOldLevel) && pWindow->mpWindowImpl->mpNext )
{
// Fenster aus der Liste entfernen
if ( pWindow->mpWindowImpl->mpPrev )
pWindow->mpWindowImpl->mpPrev->mpWindowImpl->mpNext = pWindow->mpWindowImpl->mpNext;
else
pWindow->mpWindowImpl->mpOverlapWindow->mpWindowImpl->mpFirstOverlap = pWindow->mpWindowImpl->mpNext;
pWindow->mpWindowImpl->mpNext->mpWindowImpl->mpPrev = pWindow->mpWindowImpl->mpPrev;
pWindow->mpWindowImpl->mpNext = NULL;
// und Fenster wieder in die Liste am Ende eintragen
pWindow->mpWindowImpl->mpPrev = pWindow->mpWindowImpl->mpOverlapWindow->mpWindowImpl->mpLastOverlap;
pWindow->mpWindowImpl->mpOverlapWindow->mpWindowImpl->mpLastOverlap = pWindow;
pWindow->mpWindowImpl->mpPrev->mpWindowImpl->mpNext = pWindow;
}
}
}
// -----------------------------------------------------------------------
void SystemWindow::SetRepresentedURL( const rtl::OUString& i_rURL ) void SystemWindow::SetRepresentedURL( const rtl::OUString& i_rURL )
{ {
bool bChanged = (i_rURL != mpImplData->maRepresentedURL); bool bChanged = (i_rURL != mpImplData->maRepresentedURL);
...@@ -288,12 +258,6 @@ void SystemWindow::SetRepresentedURL( const rtl::OUString& i_rURL ) ...@@ -288,12 +258,6 @@ void SystemWindow::SetRepresentedURL( const rtl::OUString& i_rURL )
pWindow->mpWindowImpl->mpFrame->SetRepresentedURL( i_rURL ); pWindow->mpWindowImpl->mpFrame->SetRepresentedURL( i_rURL );
} }
} }
// -----------------------------------------------------------------------
const rtl::OUString& SystemWindow::GetRepresentedURL() const
{
return mpImplData->maRepresentedURL;
}
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
...@@ -317,19 +281,6 @@ void SystemWindow::SetIcon( sal_uInt16 nIcon ) ...@@ -317,19 +281,6 @@ void SystemWindow::SetIcon( sal_uInt16 nIcon )
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
sal_uInt8 SystemWindow::GetZLevel() const
{
const Window* pWindow = this;
while ( pWindow->mpWindowImpl->mpBorderWindow )
pWindow = pWindow->mpWindowImpl->mpBorderWindow;
if ( pWindow->mpWindowImpl->mpOverlapData )
return pWindow->mpWindowImpl->mpOverlapData->mnTopLevel;
else
return sal_False;
}
// -----------------------------------------------------------------------
void SystemWindow::EnableSaveBackground( sal_Bool bSave ) void SystemWindow::EnableSaveBackground( sal_Bool bSave )
{ {
if( ImplGetSVData()->maWinData.mbNoSaveBackground ) if( ImplGetSVData()->maWinData.mbNoSaveBackground )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment