[Libreoffice-commits] core.git: sd/source

Stephan Bergmann sbergman at redhat.com
Fri Jan 20 21:59:27 UTC 2017


 sd/source/ui/sidebar/AllMasterPagesSelector.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8fa02e0b6ad67c34c23e99140c236153eb7e3faf
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Jan 20 22:58:55 2017 +0100

    Missing 'const'
    
    Change-Id: Ia1cced46dc8c76a252952129fb93be9d5a281057

diff --git a/sd/source/ui/sidebar/AllMasterPagesSelector.cxx b/sd/source/ui/sidebar/AllMasterPagesSelector.cxx
index 9654c7b..596d1870 100644
--- a/sd/source/ui/sidebar/AllMasterPagesSelector.cxx
+++ b/sd/source/ui/sidebar/AllMasterPagesSelector.cxx
@@ -53,7 +53,7 @@ class MasterPageDescriptorOrder
 public:
     bool operator() (
         const SharedMasterPageDescriptor& rp1,
-        const SharedMasterPageDescriptor& rp2)
+        const SharedMasterPageDescriptor& rp2) const
     {
         if (rp1->meOrigin == MasterPageContainer::DEFAULT)
             return true;


More information about the Libreoffice-commits mailing list