colorpicker.cxx (ae2dc0fa) | colorpicker.cxx (6e9cccf4) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 1534 unchanged lines hidden (view full) --- 1543 RGBtoHSV( mdRed, mdGreen, mdBlue, mdHue, mdSat, mdBri ); 1544 } 1545} 1546 1547// -------------------------------------------------------------------- 1548 1549typedef ::cppu::WeakComponentImplHelper4< XServiceInfo, XExecutableDialog, XInitialization, XPropertyAccess > ColorPickerBase; 1550 | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 1534 unchanged lines hidden (view full) --- 1543 RGBtoHSV( mdRed, mdGreen, mdBlue, mdHue, mdSat, mdBri ); 1544 } 1545} 1546 1547// -------------------------------------------------------------------- 1548 1549typedef ::cppu::WeakComponentImplHelper4< XServiceInfo, XExecutableDialog, XInitialization, XPropertyAccess > ColorPickerBase; 1550 |
1551class ColorPicker : protected ::comphelper::OBaseMutex, // Struct for right initalization of mutex member! Must be first of baseclasses. | 1551class ColorPicker : protected ::comphelper::OBaseMutex, // Struct for right initialization of mutex member! Must be first of baseclasses. |
1552 public ColorPickerBase 1553{ 1554public: 1555 ColorPicker( Reference< XComponentContext > const & xContext ); 1556 1557 // XInitialization 1558 virtual void SAL_CALL initialize( const Sequence< Any >& aArguments ) throw (Exception, RuntimeException); 1559 --- 144 unchanged lines hidden --- | 1552 public ColorPickerBase 1553{ 1554public: 1555 ColorPicker( Reference< XComponentContext > const & xContext ); 1556 1557 // XInitialization 1558 virtual void SAL_CALL initialize( const Sequence< Any >& aArguments ) throw (Exception, RuntimeException); 1559 --- 144 unchanged lines hidden --- |