diff options
Diffstat (limited to 'fpicker/source/win32/filepicker/dibpreview.cxx')
-rw-r--r-- | fpicker/source/win32/filepicker/dibpreview.cxx | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/fpicker/source/win32/filepicker/dibpreview.cxx b/fpicker/source/win32/filepicker/dibpreview.cxx index 48d24cf54eb2..406292924458 100644 --- a/fpicker/source/win32/filepicker/dibpreview.cxx +++ b/fpicker/source/win32/filepicker/dibpreview.cxx @@ -29,18 +29,12 @@ #include <string> - - - using ::com::sun::star::uno::Sequence; using ::com::sun::star::uno::RuntimeException; using ::com::sun::star::uno::Any; using ::com::sun::star::lang::IllegalArgumentException; - - - namespace /* private */ { const LPCTSTR CURRENT_INSTANCE = TEXT("CurrInst"); @@ -57,9 +51,6 @@ ATOM CDIBPreview::s_ClassAtom = 0; sal_Int32 CDIBPreview::s_RegisterDibPreviewWndCount = 0; - - - CDIBPreview::CDIBPreview(HINSTANCE instance,HWND parent,sal_Bool bShowWindow) : m_Instance(instance) { @@ -93,9 +84,6 @@ CDIBPreview::CDIBPreview(HINSTANCE instance,HWND parent,sal_Bool bShowWindow) : } - - - CDIBPreview::~CDIBPreview( ) { // remember: we don't have to destroy the @@ -107,9 +95,6 @@ CDIBPreview::~CDIBPreview( ) } - - - sal_Int32 SAL_CALL CDIBPreview::getTargetColorDepth() throw (RuntimeException) { HDC hdc = GetDC(m_Hwnd); @@ -122,9 +107,6 @@ sal_Int32 SAL_CALL CDIBPreview::getTargetColorDepth() throw (RuntimeException) } - - - sal_Int32 SAL_CALL CDIBPreview::getAvailableWidth() throw (RuntimeException) { RECT rect; @@ -139,9 +121,6 @@ sal_Int32 SAL_CALL CDIBPreview::getAvailableWidth() throw (RuntimeException) } - - - sal_Int32 SAL_CALL CDIBPreview::getAvailableHeight() throw (RuntimeException) { RECT rect; @@ -156,9 +135,6 @@ sal_Int32 SAL_CALL CDIBPreview::getAvailableHeight() throw (RuntimeException) } - - - void SAL_CALL CDIBPreview::setImage(sal_Int16 aImageFormat, const Any& aImage) throw (IllegalArgumentException, RuntimeException) { @@ -179,9 +155,6 @@ void SAL_CALL CDIBPreview::setImage(sal_Int16 aImageFormat, const Any& aImage) } - - - sal_Bool SAL_CALL CDIBPreview::setShowState(sal_Bool bShowState) throw (RuntimeException) { PreviewBase::setShowState(bShowState); @@ -190,27 +163,18 @@ sal_Bool SAL_CALL CDIBPreview::setShowState(sal_Bool bShowState) throw (RuntimeE } - - - sal_Bool SAL_CALL CDIBPreview::getShowState() throw (RuntimeException) { return (sal_Bool)IsWindowVisible(m_Hwnd); } - - - HWND SAL_CALL CDIBPreview::getWindowHandle() const { return m_Hwnd; } - - - void SAL_CALL CDIBPreview::onPaint(HWND hWnd, HDC hDC) { osl::MutexGuard aGuard(m_PaintLock); @@ -294,9 +258,6 @@ void SAL_CALL CDIBPreview::onPaint(HWND hWnd, HDC hDC) } - - - LRESULT CALLBACK CDIBPreview::WndProc( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) { @@ -362,9 +323,6 @@ LRESULT CALLBACK CDIBPreview::WndProc( } - - - ATOM SAL_CALL CDIBPreview::RegisterDibPreviewWindowClass() { osl::MutexGuard aGuard( s_Mutex ); @@ -405,9 +363,6 @@ ATOM SAL_CALL CDIBPreview::RegisterDibPreviewWindowClass() } - - - void SAL_CALL CDIBPreview::UnregisterDibPreviewWindowClass() { osl::MutexGuard aGuard( s_Mutex ); |