[Libreoffice-commits] core.git: 2 commits - offapi/com vcl/source

Stephan Bergmann sbergman at redhat.com
Tue May 21 08:17:15 PDT 2013


 offapi/com/sun/star/awt/PrinterServer.idl |    7 +++----
 vcl/source/gdi/outdev3.cxx                |    2 +-
 2 files changed, 4 insertions(+), 5 deletions(-)

New commits:
commit 7131fe8dd10a5b3b4e501e3379a95320313382db
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue May 21 17:16:45 2013 +0200

    Redundant check
    
    Change-Id: Ifc53652e4ad4e4a0505480ab155e0352aedc9b26

diff --git a/vcl/source/gdi/outdev3.cxx b/vcl/source/gdi/outdev3.cxx
index 87dfec7..4261787 100644
--- a/vcl/source/gdi/outdev3.cxx
+++ b/vcl/source/gdi/outdev3.cxx
@@ -755,7 +755,7 @@ bool PhysicalFontFace::IsBetterMatch( const FontSelectPattern& rFSD, FontMatchSt
     int nMatch = 0;
 
     const OUString& rFontName = rFSD.maTargetName;
-    if( rFontName == GetFamilyName() || rFontName.equalsIgnoreAsciiCase( GetFamilyName() ) )
+    if( rFontName.equalsIgnoreAsciiCase( GetFamilyName() ) )
         nMatch += 240000;
 
     if( rStatus.mpTargetStyleName
commit 355180f3e574b069fcd68df08f4909521fa7e6a0
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue May 21 17:16:18 2013 +0200

    Clean up
    
    Change-Id: I9f58a08ec0867237b80da6787bc1840f0a6bbba8

diff --git a/offapi/com/sun/star/awt/PrinterServer.idl b/offapi/com/sun/star/awt/PrinterServer.idl
index e323939..3725eee 100644
--- a/offapi/com/sun/star/awt/PrinterServer.idl
+++ b/offapi/com/sun/star/awt/PrinterServer.idl
@@ -15,11 +15,10 @@
 module com {  module sun {  module star {  module awt {
 
 /** mechanism to discover and manage printers
+
+    @since LibreOffice 4.1
  */
-service PrinterServer
-{
-    interface com::sun::star::awt::XPrinterServer;
-};
+service PrinterServer: com::sun::star::awt::XPrinterServer;
 
 }; }; }; };
 


More information about the Libreoffice-commits mailing list