[Libreoffice-commits] .: vcl/unx
Lubos Lunak
llunak at kemper.freedesktop.org
Mon Mar 21 08:59:09 PDT 2011
vcl/unx/kde4/KDESalFrame.cxx | 7 -------
1 file changed, 7 deletions(-)
New commits:
commit e32e5f297f5296c0c2a9ebb887ef11343793c3a8
Author: LuboÅ¡ LuÅák <l.lunak at suse.cz>
Date: Mon Mar 21 16:58:56 2011 +0100
remove unused function
diff --git a/vcl/unx/kde4/KDESalFrame.cxx b/vcl/unx/kde4/KDESalFrame.cxx
index cde99fc..76d2e27 100644
--- a/vcl/unx/kde4/KDESalFrame.cxx
+++ b/vcl/unx/kde4/KDESalFrame.cxx
@@ -87,13 +87,6 @@ static OUString readEntryUntranslated( KConfigGroup *pGroup, const char *pKey )
return OUString::createFromAscii( (const char *) pGroup->readEntryUntranslated( pKey ).toAscii() );
}
-/** Helper function to read color from KConfig configuration repository.
-*/
-static Color readColor( KConfigGroup *pGroup, const char *pKey )
-{
- return toColor( pGroup->readEntry( pKey, QColor(Qt::white) ) );
-}
-
/** Helper function to add information to Font from QFont.
Mostly grabbed from the Gtk+ vclplug (salnativewidgets-gtk.cxx).
More information about the Libreoffice-commits
mailing list