Re: [PATCH] Removed unused code from vcl

2012-04-25 Thread Jesús Corrius
On Wed, Apr 25, 2012 at 2:16 PM, Vicente Vendrell  wrote:
> Here is the patch from unused method Dialog::Dialog(Window*, ResId const&)

Looks good.

Can you confirm this patches are under the LGPLv3+/MPL+ licenses?

-- 
Jesús Corrius 
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[PATCH] Removed unused code from vcl

2012-04-25 Thread Vicente Vendrell
Here is the patch from unused method Dialog::Dialog(Window*, ResId const&)

 

Have a nice day!

 



0001-Removed-usused-method-Dialog-Dialog-Window-ResId-con.patch
Description: Binary data
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [PATCH] Removed unused code from vcl module

2012-02-17 Thread Michael Meeks

On Thu, 2012-02-16 at 17:13 +0100, Dézsi Szabolcs wrote:
> Hi! I removed unused code from vcl module (used unusedcode.easy)

Pushed; thanks :-)

Michael.

-- 
michael.me...@suse.com  <><, Pseudo Engineer, itinerant idiot

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[PATCH] Removed unused code from vcl module

2012-02-16 Thread Dézsi Szabolcs

Hi! I removed unused code from vcl module (used unusedcode.easy)

Removed methods:
  vcl::LazyDeletor::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&)

Szabolcs
  From 234d4763ccc9bc6882f39340835656bf11a03490 Mon Sep 17 00:00:00 2001
From: Szabolcs Dezsi 
Date: Thu, 16 Feb 2012 17:02:13 +0100
Subject: [PATCH] Removed unused code from vcl module

---
 unusedcode.easy |7 
 vcl/inc/vcl/pdfextoutdevdata.hxx|   62 ---
 vcl/source/gdi/pdfextoutdevdata.cxx |   35 ---
 vcl/source/helper/lazydelete.cxx|8 
 4 files changed, 0 insertions(+), 112 deletions(-)

diff --git a/unusedcode.easy b/unusedcode.easy
index 9a40c2f..0a792ab 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -1452,11 +1452,4 @@ ucbhelper::ContentBroker::ContentBroker(com::sun::star::uno::Reference::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::GetFormsForm