summaryrefslogtreecommitdiff
path: root/fpicker/source/win32/filepicker/dibpreview.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'fpicker/source/win32/filepicker/dibpreview.cxx')
-rw-r--r--fpicker/source/win32/filepicker/dibpreview.cxx11
1 files changed, 5 insertions, 6 deletions
diff --git a/fpicker/source/win32/filepicker/dibpreview.cxx b/fpicker/source/win32/filepicker/dibpreview.cxx
index 86201a438fb6..6db7df14a048 100644
--- a/fpicker/source/win32/filepicker/dibpreview.cxx
+++ b/fpicker/source/win32/filepicker/dibpreview.cxx
@@ -94,7 +94,7 @@ CDIBPreview::~CDIBPreview( )
}
-sal_Int32 SAL_CALL CDIBPreview::getTargetColorDepth() throw (RuntimeException)
+sal_Int32 SAL_CALL CDIBPreview::getTargetColorDepth()
{
HDC hdc = GetDC(m_Hwnd);
int clrRes = 0;
@@ -106,7 +106,7 @@ sal_Int32 SAL_CALL CDIBPreview::getTargetColorDepth() throw (RuntimeException)
}
-sal_Int32 SAL_CALL CDIBPreview::getAvailableWidth() throw (RuntimeException)
+sal_Int32 SAL_CALL CDIBPreview::getAvailableWidth()
{
RECT rect;
bool bRet = GetClientRect(m_Hwnd,&rect);
@@ -120,7 +120,7 @@ sal_Int32 SAL_CALL CDIBPreview::getAvailableWidth() throw (RuntimeException)
}
-sal_Int32 SAL_CALL CDIBPreview::getAvailableHeight() throw (RuntimeException)
+sal_Int32 SAL_CALL CDIBPreview::getAvailableHeight()
{
RECT rect;
bool bRet = GetClientRect(m_Hwnd,&rect);
@@ -135,7 +135,6 @@ sal_Int32 SAL_CALL CDIBPreview::getAvailableHeight() throw (RuntimeException)
void SAL_CALL CDIBPreview::setImage(sal_Int16 aImageFormat, const Any& aImage)
- throw (IllegalArgumentException, RuntimeException)
{
PreviewBase::setImage(aImageFormat,aImage);
@@ -154,7 +153,7 @@ void SAL_CALL CDIBPreview::setImage(sal_Int16 aImageFormat, const Any& aImage)
}
-bool SAL_CALL CDIBPreview::setShowState(bool bShowState) throw (RuntimeException)
+bool SAL_CALL CDIBPreview::setShowState(bool bShowState)
{
PreviewBase::setShowState(bShowState);
ShowWindow(m_Hwnd, m_bShowState ? SW_SHOW : SW_HIDE);
@@ -162,7 +161,7 @@ bool SAL_CALL CDIBPreview::setShowState(bool bShowState) throw (RuntimeException
}
-bool SAL_CALL CDIBPreview::getShowState() throw (RuntimeException)
+bool SAL_CALL CDIBPreview::getShowState()
{
return bool(IsWindowVisible(m_Hwnd));
}