[Libreoffice-commits] .: unusedcode.easy vbahelper/source

2012-04-10 Thread Caolán McNamara
 unusedcode.easy|2 
 vbahelper/source/vbahelper/vbafontbase.cxx |   62 -
 2 files changed, 64 deletions(-)

New commits:
commit 231520e7bb996f5ec211ff7e4f64e20f112d8789
Author: Gábor Stefanik netrolller...@gmail.com
Date:   Sat Apr 7 19:28:05 2012 +0200

Kill vbaFontBase::get/setUnderline

diff --git a/unusedcode.easy b/unusedcode.easy
index effe4e4..5611973 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -298,8 +298,6 @@ VCLXDevice::IsCreatedWithToolkit() const
 VCLXPrinterServer::getImplementationId()
 VCLXPrinterServer::getTypes()
 VCLXRadioButton::getFirstActionListener()
-VbaFontBase::getUnderline()
-VbaFontBase::setUnderline(com::sun::star::uno::Any const)
 VbaFoundFilesEnum::SetFileList(com::sun::star::uno::Sequencertl::OUString)
 VbaFoundFilesEnum::VbaFoundFilesEnum()
 VclEventListeners2::~VclEventListeners2()
diff --git a/vbahelper/source/vbahelper/vbafontbase.cxx 
b/vbahelper/source/vbahelper/vbafontbase.cxx
index 3f681c6..59dc77f 100644
--- a/vbahelper/source/vbahelper/vbafontbase.cxx
+++ b/vbahelper/source/vbahelper/vbafontbase.cxx
@@ -276,66 +276,4 @@ VbaFontBase::setColor( const uno::Any _color  ) throw 
(uno::RuntimeException)
 mxFont-setPropertyValue( VBAFONTBASE_PROPNAME( CharColor, TextColor 
), XLRGBToOORGB(_color) );
 }
 
-void SAL_CALL
-VbaFontBase::setUnderline( const uno::Any /*aValue*/ ) throw ( 
uno::RuntimeException )
-{
-/*
-// default
-sal_Int32 nValue = excel::XlUnderlineStyle::xlUnderlineStyleNone;
-aValue = nValue;
-switch ( nValue )
-{
-// NOTE:: #TODO #FIMXE
-// xlUnderlineStyleDoubleAccounting  xlUnderlineStyleSingleAccounting
-// don't seem to be supported in Openoffice.
-// The import filter converts them to single or double underlines as 
appropriate
-// So, here at the moment we are similarly silently converting
-// xlUnderlineStyleSingleAccounting to xlUnderlineStyleSingle.
-
-case excel::XlUnderlineStyle::xlUnderlineStyleNone:
-nValue = awt::FontUnderline::NONE;
-break;
-case excel::XlUnderlineStyle::xlUnderlineStyleSingle:
-case excel::XlUnderlineStyle::xlUnderlineStyleSingleAccounting:
-nValue = awt::FontUnderline::SINGLE;
-break;
-case excel::XlUnderlineStyle::xlUnderlineStyleDouble:
-case excel::XlUnderlineStyle::xlUnderlineStyleDoubleAccounting:
-nValue = awt::FontUnderline::DOUBLE;
-break;
-default:
-throw uno::RuntimeException( rtl::OUString( 
RTL_CONSTASCII_USTRINGPARAM(Unknown value for Underline)), uno::Reference 
uno::XInterface () );
-}
-
-mxFont-setPropertyValue( VBAFONTBASE_PROPNAME( CharUnderline, 
FontUnderline ), uno::Any( nValue ) );
-*/
-
-}
-
-uno::Any SAL_CALL
-VbaFontBase::getUnderline() throw ( uno::RuntimeException )
-{
-sal_Int32 nValue = awt::FontUnderline::NONE;
-mxFont-getPropertyValue( VBAFONTBASE_PROPNAME( CharUnderline, 
FontUnderline ) ) = nValue;
-/*
-switch ( nValue )
-{
-case  awt::FontUnderline::DOUBLE:
-nValue = excel::XlUnderlineStyle::xlUnderlineStyleDouble;
-break;
-case  awt::FontUnderline::SINGLE:
-nValue = excel::XlUnderlineStyle::xlUnderlineStyleSingle;
-break;
-case  awt::FontUnderline::NONE:
-nValue = excel::XlUnderlineStyle::xlUnderlineStyleNone;
-break;
-default:
-throw uno::RuntimeException( rtl::OUString( 
RTL_CONSTASCII_USTRINGPARAM(Unknown value retrieved for Underline) ), 
uno::Reference uno::XInterface () );
-
-}
-*/
-return uno::makeAny( nValue );
-}
-
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: unusedcode.easy xmloff/inc xmloff/source

2012-03-26 Thread Caolán McNamara
 unusedcode.easy |2 --
 xmloff/inc/xmloff/xmlerror.hxx  |   12 
 xmloff/source/core/xmlerror.cxx |   17 -
 3 files changed, 31 deletions(-)

New commits:
commit c576a5c48353c0b5432d5ef918bfd14f6d7fd100
Author: Santiago Martinez smvar...@gmail.com
Date:   Sat Mar 24 01:01:49 2012 +0100

Remove unused code in xmloff.

diff --git a/unusedcode.easy b/unusedcode.easy
index 3376da1..767d6d2 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -334,8 +334,6 @@ Window::PostUserEvent(unsigned long, unsigned long, void*)
 X11SalGraphics::SetMask(int, int, unsigned int, unsigned int, int, int, 
unsigned long)
 
X509Certificate_NssImpl::getImplementation(com::sun::star::uno::Referencecom::sun::star::uno::XInterface)
 XMLElement::Equals(rtl::OUString)
-XMLErrors::AddRecord(int, com::sun::star::uno::Sequencertl::OUString const)
-XMLErrors::AddRecord(int, com::sun::star::uno::Sequencertl::OUString const, 
rtl::OUString const)
 XMLFamilyDataList_Impl::GetPos(XMLFamilyData_Impl const*) const
 XMLFamilyDataList_Impl::Remove(XMLFamilyData_Impl*)
 XMLFontAutoStylePoolNames_Impl::GetPos(rtl::OUString const*) const
diff --git a/xmloff/inc/xmloff/xmlerror.hxx b/xmloff/inc/xmloff/xmlerror.hxx
index 46595f6..b5fbbd8 100644
--- a/xmloff/inc/xmloff/xmlerror.hxx
+++ b/xmloff/inc/xmloff/xmlerror.hxx
@@ -143,18 +143,6 @@ public:
 const ::com::sun::star::uno::Reference
  ::com::sun::star::xml::sax::XLocator  rLocator); /// 
location
 
-void AddRecord(
-sal_Int32 nId, /// error ID == error flags + error class + error number
-const ::com::sun::star::uno::Sequence
-  ::rtl::OUString  rParams,  /// parameters for error message
-const ::rtl::OUString rExceptionMessage); /// original exception 
string
-
-void AddRecord(
-sal_Int32 nId, /// error ID == error flags + error class + error number
-const ::com::sun::star::uno::Sequence
-  ::rtl::OUString  rParams); /// parameters for error message
-
-
 /**
  * throw a SAXParseException that describes the first error that matches
  * the given mask
diff --git a/xmloff/source/core/xmlerror.cxx b/xmloff/source/core/xmlerror.cxx
index 10c437b..8d765d2 100644
--- a/xmloff/source/core/xmlerror.cxx
+++ b/xmloff/source/core/xmlerror.cxx
@@ -216,23 +216,6 @@ void XMLErrors::AddRecord(
 }
 }
 
-void XMLErrors::AddRecord(
-sal_Int32 nId,
-const SequenceOUString  rParams,
-const OUString rExceptionMessage)
-{
-OUString sEmpty;
-AddRecord( nId, rParams, rExceptionMessage, -1, -1, sEmpty, sEmpty );
-}
-
-void XMLErrors::AddRecord(
-sal_Int32 nId,
-const SequenceOUString  rParams)
-{
-OUString sEmpty;
-AddRecord( nId, rParams, sEmpty, -1, -1, sEmpty, sEmpty );
-}
-
 void XMLErrors::ThrowErrorAsSAXException(sal_Int32 nIdMask)
 throw( SAXParseException )
 {
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: unusedcode.easy xmloff/inc xmloff/source

2012-02-20 Thread Michael Meeks
 unusedcode.easy |1 -
 xmloff/inc/xmloff/XMLTextListAutoStylePool.hxx  |1 -
 xmloff/source/text/XMLTextListAutoStylePool.cxx |5 -
 3 files changed, 7 deletions(-)

New commits:
commit 9846e25d94d6029f3a0726ae35e96db342506c80
Author: Santiago Martinez smvar...@gmail.com
Date:   Sun Feb 19 19:01:09 2012 +0100

Remove unused code in XMLTextListAutoStylePool.

diff --git a/unusedcode.easy b/unusedcode.easy
index 8a32c46..5b2416e 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -535,7 +535,6 @@ XMLPropertyBackpatchershort::XMLPropertyBackpatcher(char 
const*)
 XMLPropertyBackpatchershort::XMLPropertyBackpatcher(char const*, char 
const*, unsigned char, short)
 XMLPropertyBackpatchershort::XMLPropertyBackpatcher(rtl::OUString const, 
rtl::OUString const, unsigned char, short)
 XMLTextFieldExport::ProcessDate(xmloff::token::XMLTokenEnum, 
com::sun::star::util::Date const, unsigned short)
-XMLTextListAutoStylePool::HasName(rtl::OUString const) const
 XMLTextListAutoStylePoolNames_Impl::GetPos(rtl::OUString const*) const
 XMLTextListAutoStylePoolNames_Impl::Remove(rtl::OUString*)
 XMLTextListAutoStylePool_Impl::GetPos(XMLTextListAutoStylePoolEntry_Impl 
const*) const
diff --git a/xmloff/inc/xmloff/XMLTextListAutoStylePool.hxx 
b/xmloff/inc/xmloff/XMLTextListAutoStylePool.hxx
index b1dbb67..8c39819 100644
--- a/xmloff/inc/xmloff/XMLTextListAutoStylePool.hxx
+++ b/xmloff/inc/xmloff/XMLTextListAutoStylePool.hxx
@@ -67,7 +67,6 @@ public:
 ~XMLTextListAutoStylePool();
 
 void RegisterName( const ::rtl::OUString rName );
-sal_Bool HasName( const ::rtl::OUString rName ) const;
 
 ::rtl::OUString Add(
 const ::com::sun::star::uno::Reference 
diff --git a/xmloff/source/text/XMLTextListAutoStylePool.cxx 
b/xmloff/source/text/XMLTextListAutoStylePool.cxx
index f7bc70f..8becfb7 100644
--- a/xmloff/source/text/XMLTextListAutoStylePool.cxx
+++ b/xmloff/source/text/XMLTextListAutoStylePool.cxx
@@ -203,11 +203,6 @@ void XMLTextListAutoStylePool::RegisterName( const 
OUString rName )
 delete pName;
 }
 
-sal_Bool XMLTextListAutoStylePool::HasName( const OUString rName ) const
-{
-return pNames-Seek_Entry( rName, 0 );
-}
-
 sal_uInt32 XMLTextListAutoStylePool::Find( XMLTextListAutoStylePoolEntry_Impl* 
pEntry ) const
 {
 sal_uLong nPos;
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: unusedcode.easy vcl/inc vcl/source

2012-02-17 Thread Michael Meeks
 unusedcode.easy |7 
 vcl/inc/vcl/pdfextoutdevdata.hxx|   62 
 vcl/source/gdi/pdfextoutdevdata.cxx |   35 
 vcl/source/helper/lazydelete.cxx|8 
 4 files changed, 112 deletions(-)

New commits:
commit b4d4751ec0ff0c34f8cf0f1c8770badef81c007c
Author: Szabolcs Dezsi dezsisz...@hotmail.com
Date:   Thu Feb 16 17:02:13 2012 +0100

Removed unused code from vcl module

diff --git a/unusedcode.easy b/unusedcode.easy
index bcd3d7c..78c00f0 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -1357,11 +1357,4 @@ 
ucbhelper::ContentBroker::ContentBroker(com::sun::star::uno::Referencecom::sun:
 ucbhelper::SimpleCertificateValidationRequest::getResponse() const
 utl::OConfigurationNode::appendNode(rtl::OUString const, 
utl::OConfigurationNode const) const
 utl::TransliterationWrapper::compareSubstring(String const, int, int, String 
const, int, int) const
-vcl::LazyDeletorMenu::is_less(Menu*, Menu*)
-vcl::PDFExtOutDevData::EndGroup()
-vcl::PDFExtOutDevData::GetFormsFormat() const
-vcl::PDFExtOutDevData::SetAutoAdvanceTime(unsigned int, int)
-vcl::PDFExtOutDevData::SetOutlineItemDest(int, int)
-vcl::PDFExtOutDevData::SetOutlineItemParent(int, int)
-vcl::PDFExtOutDevData::SetOutlineItemText(int, rtl::OUString const)
 vcl::PDFWriter::DrawPixel(Polygon const, Color const*)
diff --git a/vcl/inc/vcl/pdfextoutdevdata.hxx b/vcl/inc/vcl/pdfextoutdevdata.hxx
index c1be576..665303b 100644
--- a/vcl/inc/vcl/pdfextoutdevdata.hxx
+++ b/vcl/inc/vcl/pdfextoutdevdata.hxx
@@ -131,7 +131,6 @@ public :
 sal_BoolGetIsExportFormFields() const;
 voidSetIsExportFormFields( const sal_Bool bExportFormFields );
 
-sal_Int32   GetFormsFormat() const;
 voidSetFormsFormat( const sal_Int32 nFormsFormat );
 
 sal_BoolGetIsExportBookmarks() const;
@@ -166,13 +165,6 @@ public :
 
 /** End render output
 
-This method ends grouped render output without
-further actions.
- */
-voidEndGroup();
-
-/** End render output
-
 This method ends grouped render output, that can be
 represented by a GfxLink. This is typically used for
 external graphic files, such as JPEGs, EPS files etc.
@@ -321,49 +313,6 @@ public :
 */
 sal_Int32 CreateOutlineItem( sal_Int32 nParent = 0, const rtl::OUString 
rText = rtl::OUString(), sal_Int32 nDestID = -1 );
 
-/** Set an outline item's parent
-
-@param nItem
-specififies which item should be reparented.
-
-@param nNewParent
-specifies which outline item will be the item's new parent.
-Use 0 for reparenting to top level.
-
-@returns
--1 if the item does not exist
--2 if the new parent does not exist, item will be reparented to top level.
-*/
-sal_Int32 SetOutlineItemParent( sal_Int32 nItem, sal_Int32 nNewParent );
-
-/** Set an outline item's title text
-
-@param nItem
-specififies which item should get a new text
-
-@param rText
-sets the title text of the item
-
-@returns
-0 if the item exists and the text was changed
--1 if the item does not exist
-*/
-sal_Int32 SetOutlineItemText( sal_Int32 nItem, const rtl::OUString rText 
);
-
-/** Set an outline item's destination
-
-@param nItem
-specififies which item should get a new dest
-
-@param nDestID
-specifies the item's new destination
-
-@returns
--1 if the item does not exist
--2 if the new dest does not exist, dest will remain unchanged
-*/
-sal_Int32 SetOutlineItemDest( sal_Int32 nItem, sal_Int32 nDestID );
-
 /** Create a new note on a page
 
 @param rRect
@@ -518,17 +467,6 @@ public :
 */
 void SetAlternateText( const String rText );
 
-/** Sets the time in seconds a page will appear before the next
-page is shown automatically
-
-@param nSeconds
-time in seconds the current page will be shown; pass 0 for manual 
advancement
-
-@param nPageNr
-the page number to apply the autoadvance time to; -1 denotes the 
current page
-*/
-void SetAutoAdvanceTime( sal_uInt32 nSeconds, sal_Int32 nPageNr = -1 );
-
 /** Sets the transitional effect to be applied when the current page gets 
shown.
 
 @param eType
diff --git a/vcl/source/gdi/pdfextoutdevdata.cxx 
b/vcl/source/gdi/pdfextoutdevdata.cxx
index 23d81a4..b917a0a 100644
--- a/vcl/source/gdi/pdfextoutdevdata.cxx
+++ b/vcl/source/gdi/pdfextoutdevdata.cxx
@@ -599,10 +599,6 @@ void PDFExtOutDevData::SetIsExportFormFields( const 
sal_Bool bExportFomtFields )
 {
 mbExportFormFields = bExportFomtFields;
 }
-sal_Int32 PDFExtOutDevData::GetFormsFormat() const
-{
-return mnFormsFormat;
-}
 void PDFExtOutDevData::SetFormsFormat( const sal_Int32 nFormsFormat )
 {
 mnFormsFormat = nFormsFormat;
@@ -721,27 +717,6 @@ sal_Int32 PDFExtOutDevData::CreateOutlineItem( sal_Int32 
nParent, const rtl::OUS
 

[Libreoffice-commits] .: unusedcode.easy vcl/inc vcl/source

2012-02-13 Thread Caolán McNamara
 unusedcode.easy |1 -
 vcl/inc/vcl/settings.hxx|8 +---
 vcl/source/app/settings.cxx |6 ++
 3 files changed, 7 insertions(+), 8 deletions(-)

New commits:
commit 507a5d0eb718bcd6c294029775008e0f99d70e0f
Author: Caolán McNamara caol...@redhat.com
Date:   Mon Feb 13 13:12:41 2012 +

manual override of ATToolSupport is a windows-only feature

diff --git a/unusedcode.easy b/unusedcode.easy
index 61b121e..2382401 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -89,7 +89,6 @@ MetaCommentAction::MetaCommentAction(unsigned char const*, 
unsigned int)
 MetricBox::RemoveValue(long, FieldUnit)
 MetricField::ConvertValue(long, unsigned short, FieldUnit, MapUnit)
 MiscSettings::SetDisablePrinting(unsigned char)
-MiscSettings::SetEnableATToolSupport(unsigned char)
 MoreButton::RemoveWindow(Window*)
 MultiLineEdit::GetHScrollBar() const
 MultiLineEdit::GetLeftMargin() const
diff --git a/vcl/inc/vcl/settings.hxx b/vcl/inc/vcl/settings.hxx
index 2494f4f..ba961b1 100644
--- a/vcl/inc/vcl/settings.hxx
+++ b/vcl/inc/vcl/settings.hxx
@@ -990,12 +990,14 @@ public:
 MiscSettings( const MiscSettings rSet );
 ~MiscSettings();
 
+#ifdef WNT
 voidSetEnableATToolSupport( sal_Bool bEnable );
-sal_BoolGetEnableATToolSupport() const;
+#endif
+sal_BoolGetEnableATToolSupport() const;
 voidSetDisablePrinting( sal_Bool bEnable );
-sal_BoolGetDisablePrinting() const;
+sal_BoolGetDisablePrinting() const;
 voidSetEnableLocalizedDecimalSep( sal_Bool 
bEnable );
-sal_BoolGetEnableLocalizedDecimalSep() const;
+sal_BoolGetEnableLocalizedDecimalSep() const;
 const MiscSettings operator =( const MiscSettings rSet );
 
 sal_Booloperator ==( const MiscSettings rSet 
) const;
diff --git a/vcl/source/app/settings.cxx b/vcl/source/app/settings.cxx
index 2a3a5ca..1502d06 100644
--- a/vcl/source/app/settings.cxx
+++ b/vcl/source/app/settings.cxx
@@ -1230,8 +1230,7 @@ void MiscSettings::SetDisablePrinting( sal_Bool bEnable )
 }
 }
 
-// ---
-
+#ifdef WNT
 void MiscSettings::SetEnableATToolSupport( sal_Bool bEnable )
 {
 if ( bEnable != mpData-mnEnableATT )
@@ -1240,7 +1239,6 @@ void MiscSettings::SetEnableATToolSupport( sal_Bool 
bEnable )
 if( bEnable  !ImplInitAccessBridge(false, bDummy) )
 return;
 
-#ifdef WNT
 HKEY hkey;
 
 // If the accessibility key in the Windows registry exists, change it 
synchronously
@@ -1277,7 +1275,6 @@ void MiscSettings::SetEnableATToolSupport( sal_Bool 
bEnable )
 RegCloseKey(hkey);
 }
 
-#endif
 vcl::SettingsConfigItem::get()-
 setValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( 
Accessibility ) ),
   rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( 
EnableATToolSupport ) ),
@@ -1285,6 +1282,7 @@ void MiscSettings::SetEnableATToolSupport( sal_Bool 
bEnable )
 mpData-mnEnableATT = bEnable ? 1 : 0;
 }
 }
+#endif
 
 void MiscSettings::SetEnableLocalizedDecimalSep( sal_Bool bEnable )
 {
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: unusedcode.easy vcl/inc vcl/source

2012-02-11 Thread Thomas Arnhold
 unusedcode.easy   |5 
 vcl/inc/vcl/arrange.hxx   |   72 
 vcl/source/window/arrange.cxx |  252 --
 3 files changed, 329 deletions(-)

New commits:
commit b3776dfe6c41ac0a9855c650c3ef4811002426a4
Author: Thomas Arnhold tho...@arnhold.org
Date:   Sun Feb 12 05:00:50 2012 +0100

unusedcode.easy: remove MatrixArranger

diff --git a/unusedcode.easy b/unusedcode.easy
index ff05025..6567bbc 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -1482,12 +1482,7 @@ 
ucbhelper::SimpleCertificateValidationRequest::getResponse() const
 utl::OConfigurationNode::appendNode(rtl::OUString const, 
utl::OConfigurationNode const) const
 utl::TransliterationWrapper::compareSubstring(String const, int, int, String 
const, int, int) const
 vcl::I18nHelper::GetDate(Date const) const
-vcl::LabeledElement::setLabel(boost::shared_ptrvcl::WindowArranger const)
 vcl::LazyDeletorMenu::is_less(Menu*, Menu*)
-vcl::MatrixArranger::addChild(boost::shared_ptrvcl::WindowArranger const, 
unsigned int, unsigned int, int)
-vcl::MatrixArranger::addWindow(Window*, unsigned int, unsigned int, int, Size 
const)
-vcl::MatrixArranger::remove(Window*)
-vcl::MatrixArranger::remove(boost::shared_ptrvcl::WindowArranger const)
 vcl::PDFExtOutDevData::EndGroup()
 vcl::PDFExtOutDevData::GetFormsFormat() const
 vcl::PDFExtOutDevData::SetAutoAdvanceTime(unsigned int, int)
diff --git a/vcl/inc/vcl/arrange.hxx b/vcl/inc/vcl/arrange.hxx
index 46df6af..2197f10 100644
--- a/vcl/inc/vcl/arrange.hxx
+++ b/vcl/inc/vcl/arrange.hxx
@@ -292,7 +292,6 @@ namespace vcl
 virtual size_t countElements() const { return 2; }
 
 void setLabel( Window* );
-void setLabel( boost::shared_ptrWindowArranger const  );
 void setElement( Window* );
 void setElement( boost::shared_ptrWindowArranger const  );
 void setLabelColumnWidth( long i_nWidth )
@@ -381,77 +380,6 @@ namespace vcl
 virtual bool isVisible() const { return true; }
 };
 
-class VCL_DLLPUBLIC MatrixArranger : public WindowArranger
-{
-longm_nBorderX;
-longm_nBorderY;
-
-struct MatrixElement : public WindowArranger::Element
-{
-sal_uInt32  m_nX;
-sal_uInt32  m_nY;
-
-MatrixElement()
-: WindowArranger::Element()
-, m_nX( 0 )
-, m_nY( 0 )
-{}
-
-MatrixElement( Window* i_pWin,
-   sal_uInt32 i_nX, sal_uInt32 i_nY,
-   boost::shared_ptrWindowArranger const  i_pChild 
= boost::shared_ptrWindowArranger(),
-   sal_Int32 i_nExpandPriority = 0,
-   const Size i_rMinSize = Size()
-  )
-: WindowArranger::Element( i_pWin, i_pChild, i_nExpandPriority, 
i_rMinSize )
-, m_nX( i_nX )
-, m_nY( i_nY )
-{
-}
-};
-
-std::vector MatrixElement m_aElements;
-std::map sal_uInt64, size_t   m_aMatrixMap;  // maps (x | (y 
 32)) to index in m_aElements
-
-sal_uInt64 getMap( sal_uInt32 i_nX, sal_uInt32 i_nY )
-{ return static_cast sal_uInt64 (i_nX) | (static_cast 
sal_uInt64(i_nY)  32 ); }
-
-static void distributeExtraSize( std::vectorlong io_rSizes, const 
std::vectorsal_Int32 i_rPrios, long i_nExtraWidth );
-
-Size getOptimalSize( WindowSizeType,
- std::vectorlong o_rColumnWidths, 
std::vectorlong o_rRowHeights,
- std::vectorsal_Int32 o_rColumnPrio, 
std::vectorsal_Int32 o_rRowPrio
-) const;
-protected:
-virtual Element* getElement( size_t i_nIndex )
-{ return i_nIndex  m_aElements.size() ? m_aElements[ i_nIndex ] : 0; 
}
-
-public:
-MatrixArranger( WindowArranger* i_pParent = NULL,
-long i_nBorderX = -1,
-long i_nBorderY = -1 )
-: WindowArranger( i_pParent )
-, m_nBorderX( i_nBorderX )
-, m_nBorderY( i_nBorderY )
-{}
-
-virtual ~MatrixArranger();
-
-virtual Size getOptimalSize( WindowSizeType ) const;
-virtual void resize();
-virtual size_t countElements() const { return m_aElements.size(); }
-
-// add a managed window at the given matrix position
-size_t addWindow( Window*, sal_uInt32 i_nX, sal_uInt32 i_nY, sal_Int32 
i_nExpandPrio = 0, const Size i_rMinSize = Size() );
-void remove( Window* );
-
-size_t addChild( boost::shared_ptrWindowArranger const , sal_uInt32 
i_nX, sal_uInt32 i_nY, sal_Int32 i_nExpandPrio = 0 );
-// convenience: use for addChild( new WindowArranger( ... ) ) 
constructs
-size_t addChild( WindowArranger* i_pNewChild, sal_uInt32 i_nX, 
sal_uInt32 i_nY, sal_Int32 i_nExpandPrio = 0 )
-{ return addChild( 

[Libreoffice-commits] .: unusedcode.easy vcl/inc vcl/source

2012-01-16 Thread Caolán McNamara
 unusedcode.easy  |1 -
 vcl/inc/vcl/field.hxx|1 -
 vcl/source/control/field.cxx |   14 --
 3 files changed, 16 deletions(-)

New commits:
commit d2d730f65774564f27f3f5a0d3a1ee94db21c47f
Author: Mariusz Dykierek mariuszdykie...@gmail.com
Date:   Mon Jan 16 16:20:43 2012 +

Removed FormatterBase::SetFieldText

diff --git a/unusedcode.easy b/unusedcode.easy
index 26f593d..87e2618 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -94,7 +94,6 @@ FontSelectPattern::FontSelectPattern(ImplFontData const, 
Size const, float, in
 FontSizeBox::SetUserValue(long, FieldUnit)
 FontStyleBox::FontStyleBox(Window*, long)
 FormattedField::SetValidateText(String const, String const*)
-FormatterBase::SetFieldText(String const, unsigned char)
 GraphCtrl::GraphCtrl(Window*, long)
 GtkSalFrame::popIgnoreDamage()
 GtkSalFrame::pushIgnoreDamage()
diff --git a/vcl/inc/vcl/field.hxx b/vcl/inc/vcl/field.hxx
index 5f5e8d6..311346e 100644
--- a/vcl/inc/vcl/field.hxx
+++ b/vcl/inc/vcl/field.hxx
@@ -62,7 +62,6 @@ protected:
 SAL_DLLPRIVATE void ImplSetText( const XubString rText, Selection* 
pNewSel = NULL );
 SAL_DLLPRIVATE sal_Bool ImplGetEmptyFieldValue() const  { return 
mbEmptyFieldValue; }
 
-voidSetFieldText( const XubString rText, sal_Bool 
bKeepSelection );
 voidSetEmptyFieldValueData( sal_Bool bValue ) { 
mbEmptyFieldValue = bValue; }
 
 SAL_DLLPRIVATE LocaleDataWrapper ImplGetLocaleDataWrapper() const;
diff --git a/vcl/source/control/field.cxx b/vcl/source/control/field.cxx
index 1538287..51c4ee2 100644
--- a/vcl/source/control/field.cxx
+++ b/vcl/source/control/field.cxx
@@ -387,20 +387,6 @@ const AllSettings FormatterBase::GetFieldSettings() const
 
 // ---
 
-void FormatterBase::SetFieldText( const XubString rText, sal_Bool 
bKeepSelection )
-{
-if ( mpField )
-{
-Selection aNewSelection( 0x, 0x );
-if ( bKeepSelection )
-aNewSelection = mpField-GetSelection();
-
-ImplSetText( rText, aNewSelection );
-}
-}
-
-// ---
-
 void FormatterBase::ImplSetText( const XubString rText, Selection* 
pNewSelection )
 {
 if ( mpField )
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: unusedcode.easy

2011-11-30 Thread Caolán McNamara
 unusedcode.easy |5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit 22ad135d1beffa214bff0f628d6e1c3fd182b60c
Author: Caolán McNamara caol...@redhat.com
Date:   Wed Nov 30 15:40:16 2011 +

update list

diff --git a/unusedcode.easy b/unusedcode.easy
index ca085ff..874a1e8 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -1,3 +1,4 @@
+(anonymous namespace)::UpdateInformationProvider::storeCommandInfo(int, 
com::sun::star::uno::Referencecom::sun::star::ucb::XCommandProcessor const)
 (anonymous 
namespace)::getState(std::__debug::vectorcppcanvas::internal::OutDevState, 
std::allocatorcppcanvas::internal::OutDevState  const)
 (anonymous 
namespace)::writeInfo(com::sun::star::uno::Referencecom::sun::star::registry::XRegistryKey
 const, rtl::OUString const, rtl::OUString const)
 AtomDocument::AtomDocument(AtomPubSession*, std::basic_stringchar, 
std::char_traitschar, std::allocatorchar )
@@ -79,6 +80,7 @@ CurrencyBox::RemoveValue(long)
 CurrencyField::CurrencyField(Window*, ResId const)
 CurrencyFormatter::SetCurrencySymbol(String const)
 CustomToolBarImportHelper::showToolbar(rtl::OUString const)
+Date::IsValidDate() const
 DateBox::DateBox(Window*, ResId const)
 DateBox::GetDate(unsigned short) const
 DateBox::GetDatePos(Date const) const
@@ -1989,7 +1991,6 @@ 
oox::drawingml::CustomShapeProperties::getValue(std::__debug::vectoroox::drawin
 oox::drawingml::Diagram::getLayoutId() const
 
oox::drawingml::DiagramLayout::layout(std::__debug::vectoroox::drawingml::dgm::Point,
 std::allocatoroox::drawingml::dgm::Point  const, 
com::sun::star::awt::Point const)
 
oox::drawingml::GetPoint2D(com::sun::star::uno::Referencecom::sun::star::xml::sax::XFastAttributeList
 const)
-oox::drawingml::GetShapePresetType(int)
 oox::drawingml::GetTextMargin(rtl::OUString const)
 oox::drawingml::GetTextVerticalAdjust(int)
 
oox::drawingml::GraphicProperties::assignUsed(oox::drawingml::GraphicProperties 
const)
@@ -2025,7 +2026,9 @@ 
oox::dump::TextStreamObjectBase::construct(oox::dump::InputObjectBase const, un
 oox::dump::XmlStreamObject::XmlStreamObject(oox::dump::OutputObjectBase 
const, oox::dump::BinaryInputStreamRef const)
 oox::dump::biff::BiffObjectBase::dumpRowRange(oox::dump::String const, bool)
 oox::dump::biff::FormulaObject::dumpCellFormula(oox::dump::String const, 
unsigned short)
+oox::formulaimport::XmlStream::AttributeList::attribute(int, unsigned short) 
const
 oox::formulaimport::XmlStream::AttributeList::hasAttribute(int) const
+oox::formulaimport::XmlStream::skipElement(int)
 oox::ole::VbaHelper::getBasicScriptUrl(rtl::OUString const, rtl::OUString 
const, rtl::OUString const)
 oox::ole::VbaProject::hasDialog(rtl::OUString const) const
 oox::ole::VbaProject::hasModule(rtl::OUString const) const
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: unusedcode.easy

2011-11-25 Thread Caolán McNamara
 unusedcode.easy |   20 +++-
 1 file changed, 19 insertions(+), 1 deletion(-)

New commits:
commit 997da2415f7bf5bdaac9a69672e9fc46914c06e3
Author: Caolán McNamara caol...@redhat.com
Date:   Fri Nov 25 08:50:20 2011 +

update list

diff --git a/unusedcode.easy b/unusedcode.easy
index 98cc325..af938e0 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -4,6 +4,7 @@ AtomDocument::AtomDocument(AtomPubSession*, 
std::basic_stringchar, std::char_tr
 AtomFolder::AtomFolder(AtomPubSession*, std::basic_stringchar, 
std::char_traitschar, std::allocatorchar )
 AtomPubSession::getCollectionUrl(Collection::Type)
 AtomPubSession::~AtomPubSession()
+BitmapWriteAccess::DrawPolygon(Polygon const)
 BufferNode::childAt(int) const
 ByteString::Assign(char const*, unsigned short)
 ByteString::Assign(char)
@@ -535,7 +536,6 @@ SfxShell::RemoveItem(unsigned short)
 SfxSlotPool::NextInterface()
 SfxStyleSheet::SfxStyleSheet()
 SfxTabDialog::GetApplyHandler() const
-SfxTabPage::SfxTabPage(Window*, long, SfxItemSet const)
 SfxThesSubMenuControl::RegisterControl(unsigned short, SfxModule*)
 SfxToDoStack_Implarr_::Contains(SfxToDo_Impl const) const
 SfxToDoStack_Implarr_::Insert(unsigned short, SfxToDo_Impl const, unsigned 
short)
@@ -885,6 +885,7 @@ SvxUnoTextBase::InsertField(SvxFieldItem const)
 SvxUnoTextBase::SvxUnoTextBase(SvxEditSource const*, SvxItemPropertySet const*)
 SvxUnoTextContent::SvxUnoTextContent()
 SvxZoomStatusBarControl::GetDefItemWidth(StatusBar const)
+SwAttrIter::Dump(SvStream) const
 SwBlinkList::Insert(SwBlinkList const*, unsigned short, unsigned short)
 SwBlinkList::Insert(SwBlinkPortion* const, unsigned short)
 SwBlinkList::Insert(SwBlinkPortion* const*, unsigned short)
@@ -939,6 +940,7 @@ SwLRects::Insert(SwLRects const*, unsigned short, unsigned 
short, unsigned short
 SwLRects::Replace(SwLineRect const, unsigned short)
 SwLRects::Replace(SwLineRect const*, unsigned short, unsigned short)
 SwLRects::_ForEach(unsigned short, unsigned short, unsigned char 
(*)(SwLineRect const, void*), void*)
+SwLineLayout::DebugPortions(SvStream, String const, unsigned short)
 SwMailMergeChildWindow::GetChildWindowId()
 SwModify::GetClientCount() const
 SwOutlineNodes::Insert(SwNode* const, unsigned short)
@@ -952,6 +954,8 @@ SwPosFlyFrms::Insert(SwPosFlyFrm* const*, unsigned short)
 SwPosFlyFrms::Insert(SwPosFlyFrms const*, unsigned short, unsigned short)
 SwPosFlyFrms::Remove(SwPosFlyFrm* const, unsigned short)
 SwPosFlyFrms::Remove(unsigned short, unsigned short)
+SwProtocol::GetVar(unsigned short, long)
+SwProtocol::SnapShot(SwFrm const*, unsigned long)
 SwRects::Replace(SwRect const, unsigned short)
 SwRects::Replace(SwRect const*, unsigned short, unsigned short)
 SwRects::_ForEach(unsigned short, unsigned short, unsigned char (*)(SwRect 
const, void*), void*)
@@ -983,6 +987,17 @@ SwTabFrm::GetLeaf(MakePageType, unsigned char)
 SwTableSortBoxes::DeleteAndDestroy(unsigned short, unsigned short)
 SwTableSortBoxes::Insert(SwTableBox* const, unsigned short)
 SwTableSortBoxes::Insert(SwTableBox* const*, unsigned short)
+SwTxtFly::ShowContour(OutputDevice*)
+SwTxtSizeInfo::IsOptCalm() const
+SwTxtSizeInfo::IsOptLow() const
+SwTxtSizeInfo::IsOptTest1() const
+SwTxtSizeInfo::IsOptTest2() const
+SwTxtSizeInfo::IsOptTest3() const
+SwTxtSizeInfo::IsOptTest4() const
+SwTxtSizeInfo::IsOptTest5() const
+SwTxtSizeInfo::IsOptTest6() const
+SwTxtSizeInfo::IsOptTest7() const
+SwTxtSizeInfo::IsOptTest8() const
 SwVbaColumn::calculateAbsoluteColumnWidth(int, 
com::sun::star::uno::Sequencecom::sun::star::text::TableColumnSeparator 
const, double*)
 SwVbaColumn::calculateRelativeColumnWidth(double const*, double*, int)
 SwVbaStyle::getOOoStyleTypeFromMSWord(int)
@@ -1039,6 +1054,7 @@ TaskStatusFieldItem::TaskStatusFieldItem()
 TempFile::IsValid() const
 TextObj::TextObj(TextObj)
 TextObj::Write(SvStream*)
+ToolBox::GetToolbarLayoutMode()
 TransferableDataHelper::GetInterface(com::sun::star::datatransfer::DataFlavor 
const, com::sun::star::uno::Referencecom::sun::star::uno::XInterface)
 UCBStorage::IsStorageFile(String const)
 
UCBStream::UCBStream(com::sun::star::uno::Referencecom::sun::star::io::XOutputStream)
@@ -2020,6 +2036,7 @@ 
oox::dump::TextStreamObjectBase::construct(oox::dump::InputObjectBase const, un
 oox::dump::XmlStreamObject::XmlStreamObject(oox::dump::OutputObjectBase 
const, oox::dump::BinaryInputStreamRef const)
 oox::dump::biff::BiffObjectBase::dumpRowRange(oox::dump::String const, bool)
 oox::dump::biff::FormulaObject::dumpCellFormula(oox::dump::String const, 
unsigned short)
+oox::formulaimport::XmlStream::AttributeList::hasAttribute(int) const
 oox::ole::VbaHelper::getBasicScriptUrl(rtl::OUString const, rtl::OUString 
const, rtl::OUString const)
 oox::ole::VbaProject::hasDialog(rtl::OUString const) const
 oox::ole::VbaProject::hasModule(rtl::OUString const) const
@@ -2230,6 +2247,7 @@ svxform::SvLBoxEntrySortedArray::Insert(SvLBoxEntry* 
const, unsigned short)
 

[Libreoffice-commits] .: unusedcode.easy writerfilter/inc writerfilter/source

2011-10-10 Thread Caolán McNamara
 unusedcode.easy   |4 
 writerfilter/inc/resourcemodel/XPathLogger.hxx|4 
 writerfilter/source/resourcemodel/XPathLogger.cxx |4 
 3 files changed, 8 insertions(+), 4 deletions(-)

New commits:
commit 0123fc6d03412704ac8512339d949773b22b9cce
Author: Caolán McNamara caol...@redhat.com
Date:   Mon Oct 10 22:34:26 2011 +0100

these can go behind DEBUG_CONTEXT_HANDLER

diff --git a/unusedcode.easy b/unusedcode.easy
index 310d070..c025a98 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -2858,7 +2858,3 @@ writerfilter::TagLogger::chars(rtl::OUString const)
 writerfilter::TagLogger::endElement()
 writerfilter::TagLogger::startElement(std::basic_stringchar, 
std::char_traitschar, std::allocatorchar  const)
 writerfilter::TagLogger::~TagLogger()
-writerfilter::XPathLogger::XPathLogger()
-writerfilter::XPathLogger::endElement()
-writerfilter::XPathLogger::getXPath() const
-writerfilter::XPathLogger::startElement(std::basic_stringchar, 
std::char_traitschar, std::allocatorchar )
diff --git a/writerfilter/inc/resourcemodel/XPathLogger.hxx 
b/writerfilter/inc/resourcemodel/XPathLogger.hxx
index d5e97a2..584ed35 100644
--- a/writerfilter/inc/resourcemodel/XPathLogger.hxx
+++ b/writerfilter/inc/resourcemodel/XPathLogger.hxx
@@ -28,6 +28,8 @@
 #ifndef INCLUDED_XPATH_LOGGER_HXX
 #define INCLUDED_XPATH_LOGGER_HXX
 
+#ifdef DEBUG_CONTEXT_HANDLER
+
 #include stack
 #include string
 #include vector
@@ -62,4 +64,6 @@ public:
 void endElement();
 };
 }
+
+#endif
 #endif // INCLUDED_XPATH_LOGGER_HXX
diff --git a/writerfilter/source/resourcemodel/XPathLogger.cxx 
b/writerfilter/source/resourcemodel/XPathLogger.cxx
index aad6847..b9381e3 100644
--- a/writerfilter/source/resourcemodel/XPathLogger.cxx
+++ b/writerfilter/source/resourcemodel/XPathLogger.cxx
@@ -29,6 +29,8 @@
 #include stdio.h
 #include resourcemodel/XPathLogger.hxx
 
+#ifdef DEBUG_CONTEXT_HANDLER
+
 namespace writerfilter
 {
 XPathLogger::XPathLogger()
@@ -89,4 +91,6 @@ void XPathLogger::endElement()
 
 } // namespace writerfilter
 
+#endif
+
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: unusedcode.easy

2011-10-06 Thread Caolán McNamara
 unusedcode.easy |   17 +
 1 file changed, 17 insertions(+)

New commits:
commit ea4e833c37892b7cf8154244662f8437facaad98
Author: Caolán McNamara caol...@redhat.com
Date:   Thu Oct 6 15:21:45 2011 +0100

update unused list, note AtomPubSession dtor unused, i.e. probable leak

diff --git a/unusedcode.easy b/unusedcode.easy
index 7680434..535cbf8 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -1,6 +1,10 @@
 (anonymous namespace)::Registration::~Registration()
 (anonymous namespace)::getState(std::vectorcppcanvas::internal::OutDevState, 
std::allocatorcppcanvas::internal::OutDevState  const)
 (anonymous 
namespace)::writeInfo(com::sun::star::uno::Referencecom::sun::star::registry::XRegistryKey
 const, rtl::OUString const, rtl::OUString const)
+AtomDocument::AtomDocument(AtomPubSession*, std::basic_stringchar, 
std::char_traitschar, std::allocatorchar )
+AtomFolder::AtomFolder(AtomPubSession*, std::basic_stringchar, 
std::char_traitschar, std::allocatorchar )
+AtomPubSession::getCollectionUrl(Collection::Type)
+AtomPubSession::~AtomPubSession()
 BitmapPalette::IsGreyPalette() const
 BufferNode::childAt(int) const
 ByteString::Assign(char const*, unsigned short)
@@ -488,6 +492,7 @@ ScDocument::IsLoadingMedium() const
 ScDocument::ValidNewTabName(std::vectorString, std::allocatorString  
const) const
 ScExternalRefManager::setCacheTableReferencedPermanently(unsigned short, 
rtl::OUString const, unsigned long)
 
ScFilterDetect::impl_createFactory(com::sun::star::uno::Referencecom::sun::star::lang::XMultiServiceFactory
 const)
+ScFiltersTest::testVba()
 ScFormulaCell::ScFormulaCell()
 ScGridWindow::InvertSimple(short, int, short, int, unsigned char, unsigned 
char)
 ScHTMLColOffset::Insert(ScHTMLColOffset const*, unsigned short, unsigned short)
@@ -1981,6 +1986,17 @@ binfilter::_ZSortFlys::Remove(binfilter::_ZSortFly 
const, unsigned short)
 binfilter::_ZSortFlys_SAR::Replace(binfilter::_ZSortFly const, unsigned short)
 binfilter::_ZSortFlys_SAR::Replace(binfilter::_ZSortFly const*, unsigned 
short, unsigned short)
 binfilter::_ZSortFlys_SAR::_ForEach(unsigned short, unsigned short, unsigned 
char (*)(binfilter::_ZSortFly const, void*), void*)
+boost::date_time::nth_as_str(int)
+boost::gregorian::create_facet_def(char)
+boost::gregorian::create_facet_def(wchar_t)
+boost::gregorian::generate_locale(std::locale, char)
+boost::gregorian::generate_locale(std::locale, wchar_t)
+boost::gregorian::greg_month::get_month_map_ptr()
+boost::gregorian::greg_weekday::as_long_string() const
+boost::gregorian::greg_weekday::as_long_wstring() const
+boost::gregorian::greg_weekday::as_short_string() const
+boost::gregorian::greg_weekday::as_short_wstring() const
+boost::gregorian::special_value_from_string(std::basic_stringchar, 
std::char_traitschar, std::allocatorchar  const)
 cairocanvas::CanvasHelper::flush() const
 cairocanvas::CanvasHelper::getPalette()
 cairocanvas::SpriteDeviceHelper::getSurface()
@@ -2405,6 +2421,7 @@ 
layoutimpl::VCLXTabControl::AddChild(com::sun::star::uno::Referencecom::sun::st
 layoutimpl::WidgetFactory::sfx2CreateWindow(VCLXWindow**, Window*, 
rtl::OUString const, long)
 
layoutimpl::getParent(com::sun::star::uno::Referencecom::sun::star::uno::XInterface)
 
layoutimpl::prophlp::getProperty(com::sun::star::uno::Referencecom::sun::star::uno::XInterface
 const, rtl::OUString const)
+libcmis::SessionFactory::getRepositories(std::mapint, std::basic_stringchar, 
std::char_traitschar, std::allocatorchar , std::lessint, 
std::allocatorstd::pairint const, std::basic_stringchar, 
std::char_traitschar, std::allocatorchar)
 libvisio::VSDXCharacterList::getElement(unsigned int)
 libvisio::VSDXOutputElementList::addEllipse(WPXPropertyList const)
 libvisio::VSDXOutputElementList::addEndLayer()
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: unusedcode.easy vcl/inc vcl/source

2011-09-24 Thread Matus Kukan
 unusedcode.easy   |5 
 vcl/inc/vcl/print.hxx |   14 -
 vcl/source/gdi/print3.cxx |   49 --
 3 files changed, 68 deletions(-)

New commits:
commit e1de59eb4661397c888e7fab223710543c541e87
Author: Matúš Kukan matus.ku...@gmail.com
Date:   Sat Sep 24 10:36:05 2011 +0200

unusedcode: vcl::PrinterFoo

diff --git a/unusedcode.easy b/unusedcode.easy
index 390fea9..3e7cc88 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -2939,11 +2939,6 @@ vcl::PDFExtOutDevData::SetOutlineItemText(int, 
rtl::OUString const)
 vcl::PDFWriter::DrawPixel(Polygon const, Color const*)
 vcl::PDFWriterImpl::drawPolyPolygon(PolyPolygon const, int, bool)
 vcl::PrintDialog::getCopyCount()
-vcl::PrinterController::PrinterController()
-vcl::PrinterController::enableUIOption(rtl::OUString const, bool)
-vcl::PrinterController::getValues(com::sun::star::uno::Sequencertl::OUString 
const) const
-vcl::PrinterOptionsHelper::hasProperty(rtl::OUString const) const
-vcl::PrinterOptionsHelper::setValue(rtl::OUString const, 
com::sun::star::uno::Any const)
 vcl::RenderGraphic::RenderGraphic(boost::shared_arrayunsigned char const, 
unsigned int, rtl::OUString const)
 vcl::RowOrColumn::remove(Window*)
 vcl::RowOrColumn::remove(boost::shared_ptrvcl::WindowArranger const)
diff --git a/vcl/inc/vcl/print.hxx b/vcl/inc/vcl/print.hxx
index 7b92327..d154b04 100644
--- a/vcl/inc/vcl/print.hxx
+++ b/vcl/inc/vcl/print.hxx
@@ -441,7 +441,6 @@ public:
   ) : aSize( i_rSize ), bFullPaper( i_bFullPaper ) {}
 };
 
-PrinterController();
 virtual ~PrinterController();
 
 const boost::shared_ptrPrinter getPrinter() const;
@@ -458,8 +457,6 @@ public:
 */
 com::sun::star::beans::PropertyValue* getValue( const rtl::OUString 
i_rPropertyName );
 const com::sun::star::beans::PropertyValue* getValue( const rtl::OUString 
i_rPropertyName ) const;
-// get a sequence of properties
-com::sun::star::uno::Sequence com::sun::star::beans::PropertyValue  
getValues( const com::sun::star::uno::Sequence rtl::OUString  ) const;
 /* get a bool property
in case the property is unknown or not convertible to bool, i_bFallback 
is returned
 */
@@ -479,7 +476,6 @@ public:
 void setUIOptions( const com::sun::star::uno::Sequence 
com::sun::star::beans::PropertyValue  );
 /* enable/disable an option; this can be used to implement dialog logic.
 */
-void enableUIOption( const rtl::OUString rPropName, bool bEnable );
 bool isUIOptionEnabled( const rtl::OUString rPropName ) const;
 bool isUIChoiceEnabled( const rtl::OUString rPropName, sal_Int32 nChoice 
) const;
 /* returns the property name rPropName depends on or an empty string
@@ -570,18 +566,8 @@ class VCL_DLLPUBLIC PrinterOptionsHelper
 **/
 void appendPrintUIOptions( com::sun::star::uno::Sequence 
com::sun::star::beans::PropertyValue  io_rProps ) const;
 
-// check if a property exists
-bool hasProperty( const rtl::OUString i_rPropertyName ) const;
-bool hasProperty( const char* i_pPropertyName ) const
-{ return hasProperty( rtl::OUString::createFromAscii( i_pPropertyName ) ); 
}
-
 // returns an empty Any for not existing properties
 com::sun::star::uno::Any getValue( const rtl::OUString i_rPropertyName ) 
const;
-// change a value in the property set; this will not have an effect to an 
eventual PrinterController
-// the user of setValue must decide whether it is necessary to set the 
value there also
-void setValue( const rtl::OUString i_rPropertyName, const 
com::sun::star::uno::Any i_rValue );
-void setValue( const char* i_pPropertyName, const 
com::sun::star::uno::Any i_rValue )
-{ setValue( rtl::OUString::createFromAscii( i_pPropertyName ), i_rValue ); 
}
 
 sal_Bool getBoolValue( const rtl::OUString i_rPropertyName, sal_Bool 
i_bDefault = sal_False ) const;
 // convenience for fixed strings
diff --git a/vcl/source/gdi/print3.cxx b/vcl/source/gdi/print3.cxx
index dfe5bfb..6365b20 100644
--- a/vcl/source/gdi/print3.cxx
+++ b/vcl/source/gdi/print3.cxx
@@ -198,11 +198,6 @@ public:
 PrinterController::PageSize modifyJobSetup( const Sequence PropertyValue 
 i_rProps, bool bNoNUP );
 };
 
-PrinterController::PrinterController()
-: mpImplData( new ImplPrinterControllerData )
-{
-}
-
 PrinterController::PrinterController( const boost::shared_ptrPrinter 
i_pPrinter )
 : mpImplData( new ImplPrinterControllerData )
 {
@@ -1292,20 +1287,6 @@ const beans::PropertyValue* PrinterController::getValue( 
const rtl::OUString i_
 return it != mpImplData-maPropertyToIndex.end() ? 
mpImplData-maUIProperties[it-second] : NULL;
 }
 
-Sequence beans::PropertyValue  PrinterController::getValues( const Sequence 
rtl::OUString  i_rNames ) const
-{
-Sequence beans::PropertyValue  aRet( i_rNames.getLength() );
-sal_Int32 nFound = 0;
-for( sal_Int32 i = 0; i  i_rNames.getLength(); i++ )
-{
-