summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/iframe.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/doc/iframe.cxx')
-rw-r--r--sfx2/source/doc/iframe.cxx16
1 files changed, 0 insertions, 16 deletions
diff --git a/sfx2/source/doc/iframe.cxx b/sfx2/source/doc/iframe.cxx
index 0fdd22f70e3e..7926e802aef9 100644
--- a/sfx2/source/doc/iframe.cxx
+++ b/sfx2/source/doc/iframe.cxx
@@ -61,7 +61,6 @@ public:
WinBits nWinBits = 0 );
public:
- void SetBorder( sal_Bool bNewBorder = sal_True );
sal_Bool HasBorder() const { return bBorder; }
};
@@ -76,21 +75,6 @@ IFrameWindow_Impl::IFrameWindow_Impl( Window *pParent, sal_Bool bHasBorder, WinB
SetBorderStyle( WINDOW_BORDER_NORMAL );
}
-void IFrameWindow_Impl::SetBorder( sal_Bool bNewBorder )
-{
- if ( bBorder != bNewBorder )
- {
- Size aSize = GetSizePixel();
- bBorder = bNewBorder;
- if ( bBorder )
- SetBorderStyle( WINDOW_BORDER_NORMAL );
- else
- SetBorderStyle( WINDOW_BORDER_NOBORDER );
- if ( GetSizePixel() != aSize )
- SetSizePixel( aSize );
- }
-}
-
#define PROPERTY_UNBOUND 0
#define WID_FRAME_URL 1