summaryrefslogtreecommitdiffstats
path: root/sdext
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-02-08 09:12:05 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-02-08 09:12:27 +0000
commit849a2471bd649b252648fa4e43be91dab4d9bdc5 (patch)
treedf146e6687298ab0b9c4eb2c21004ae436009e7e /sdext
parentcallcatcher: update list, ByteString is on the ropes (diff)
downloadcore-849a2471bd649b252648fa4e43be91dab4d9bdc5.tar.gz
core-849a2471bd649b252648fa4e43be91dab4d9bdc5.zip
update unused list
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/minimizer/unodialog.cxx23
-rw-r--r--sdext/source/minimizer/unodialog.hxx2
2 files changed, 0 insertions, 25 deletions
diff --git a/sdext/source/minimizer/unodialog.cxx b/sdext/source/minimizer/unodialog.cxx
index 9a9aef7f9f3c..1e4ad6c55e5d 100644
--- a/sdext/source/minimizer/unodialog.cxx
+++ b/sdext/source/minimizer/unodialog.cxx
@@ -321,29 +321,6 @@ void UnoDialog::setControlProperty( const OUString& rControlName, const OUString
// -----------------------------------------------------------------------------
-sal_Int32 UnoDialog::getMapsFromPixels( sal_Int32 nPixels ) const
-{
- double dMaps = 0;
- try
- {
- sal_Int32 nMapWidth = 0;
- const OUString sWidth( RTL_CONSTASCII_USTRINGPARAM( "Width" ) );
- if ( mxDialogModelPropertySet->getPropertyValue( sWidth ) >>= nMapWidth )
- {
- Reference< XWindow > xWindow( mxDialog, UNO_QUERY_THROW );
- double pxWidth = xWindow->getPosSize().Width;
- double mapRatio = ( pxWidth / nMapWidth );
- dMaps = nPixels / mapRatio;
- }
- }
- catch ( Exception& )
- {
- }
- return static_cast< sal_Int32 >( dMaps );
-}
-
-// -----------------------------------------------------------------------------
-
Any UnoDialog::getControlProperty( const OUString& rControlName, const OUString& rPropertyName )
{
Any aRet;
diff --git a/sdext/source/minimizer/unodialog.hxx b/sdext/source/minimizer/unodialog.hxx
index b89164d93543..65063831f7f0 100644
--- a/sdext/source/minimizer/unodialog.hxx
+++ b/sdext/source/minimizer/unodialog.hxx
@@ -84,8 +84,6 @@ public :
void setVisible( const rtl::OUString& rName, sal_Bool bVisible );
- sal_Int32 getMapsFromPixels( sal_Int32 nPixels ) const;
-
com::sun::star::uno::Reference< com::sun::star::awt::XButton > insertButton( const rtl::OUString& rName,
com::sun::star::uno::Reference< com::sun::star::awt::XActionListener > xActionListener, const com::sun::star::uno::Sequence< rtl::OUString >& rPropertyNames,
const com::sun::star::uno::Sequence< com::sun::star::uno::Any >& rPropertyValues );