diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2009-05-15 16:29:32 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2009-05-15 16:29:32 +0000 |
commit | 3ce7d8ae026a8a9a6a2af2f6e7b3bf955bedf90b (patch) | |
tree | a300abd7f28f3166f6076d51a649ddbfcd4e1113 /sccomp | |
parent | 79ad1c597058615625961cd1e47ef5614aaf1a8c (diff) |
CWS-TOOLING: integrate CWS calc49
2009-04-27 15:35:08 +0200 oc r271282 : #i101371 Adapt autotests because of changed standard filter dialog
2009-04-27 15:33:38 +0200 oc r271281 : #i101371 Adapt autotests because of changed standard filter dialog
2009-04-27 14:07:49 +0200 oc r271268 : #i101371 Autotest for NewStyle button in conditional formatting dialog
2009-04-27 14:05:43 +0200 oc r271267 : #i101371 Autotest for NewStyle button in conditional formatting dialog
2009-04-27 14:03:00 +0200 oc r271266 : #i101371 Autotest for NewStyle button in conditional formatting dialog
2009-04-02 14:04:47 +0200 nn r270403 : CWS-TOOLING: rebase CWS calc49 to trunk@270033 (milestone: DEV300:m45)
2009-03-25 14:18:26 +0100 nn r270025 : #i83643# adjust conditional formats when cell style is renamed (patch from gaojingmei)
2009-03-23 15:05:13 +0100 nn r269875 : gcc warnings
2009-03-23 14:20:06 +0100 nn r269871 : #i17995# order of OK/Cancel/Help/More is different between standard and advanced filter dialog
2009-03-20 19:15:21 +0100 nn r269825 : gcc warnings
2009-03-20 18:10:25 +0100 nn r269823 : #i70320# ScTabView::SetTabNo: don't deselect if called with bNew = TRUE
2009-03-18 17:28:04 +0100 nn r269695 : #i97974# CopyToTable: update draw page size (patch from gaozm)
2009-03-18 14:30:50 +0100 nn r269665 : #i45291# handle date/time input from validity dialog (patch from gaojingmei)
2009-03-18 11:43:17 +0100 nn r269648 : #i27253# add 'New Style' buttons to conditional formatting dialog
2009-03-17 19:04:02 +0100 nn r269624 : #i13829# include formats when sorting with toolbar buttons
2009-03-17 16:41:26 +0100 nn r269617 : #i17995# allow more criteria in standard filter dialog
2009-03-12 10:23:21 +0100 nn r269365 : #i7500# allow paste on merged cells (patch from mloiseleur/maoyg)
2009-03-12 09:57:17 +0100 nn r269360 : #i8302# insert/delete in merged cells (patch from maoyg)
2009-03-11 19:07:44 +0100 nn r269349 : #i27666# select current cell content in validity drop-down (patch from gaojingmei)
2009-03-11 19:03:40 +0100 nn r269348 : #i7921# right variable
2009-03-04 17:45:03 +0100 nn r268853 : #i7921# 'Deselect All Sheets' slot
2009-03-04 17:43:58 +0100 nn r268852 : #i70320# #i7921# 'Deselect All Sheets' in context menu and TabBar empty area
2009-03-03 17:50:40 +0100 nn r268774 : #i70320# deselect sheets when switching sheets and all sheets are selected
2009-03-03 14:50:44 +0100 nn r268728 : #i99714# unused methods (patch from cmc)
2009-02-23 19:47:06 +0100 nn r268369 : #i5550# lcl_DecompValueString: prefer end above beginning if not followed by space
2009-02-20 19:42:05 +0100 nn r268337 : #i93091# ScDBFunc::GetDBData: allow filtered rows in selection
Diffstat (limited to 'sccomp')
-rw-r--r-- | sccomp/source/solver/solver.cxx | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/sccomp/source/solver/solver.cxx b/sccomp/source/solver/solver.cxx index 6701d7433..bad154a11 100644 --- a/sccomp/source/solver/solver.cxx +++ b/sccomp/source/solver/solver.cxx @@ -145,55 +145,6 @@ double lcl_GetValue( const uno::Reference<sheet::XSpreadsheetDocument>& xDoc, return lcl_GetCell( xDoc, rPos )->getValue(); } -OUString lcl_FormatCellRef( const uno::Reference<sheet::XSpreadsheetDocument>& xDoc, const table::CellAddress& rPos ) -{ - uno::Reference<lang::XMultiServiceFactory> xFact( xDoc, uno::UNO_QUERY ); - uno::Reference<beans::XPropertySet> xConv( xFact->createInstance( - OUString::createFromAscii( "com.sun.star.table.CellAddressConversion" ) ), uno::UNO_QUERY ); - xConv->setPropertyValue( OUString::createFromAscii( "Address" ), uno::makeAny( rPos ) ); - OUString aRet; - xConv->getPropertyValue( OUString::createFromAscii( "UserInterfaceRepresentation" ) ) >>= aRet; - return aRet; -} - -bool lcl_ParseCellRef( table::CellAddress& rPos, - const uno::Reference<sheet::XSpreadsheetDocument>& xDoc, - const OUString& rStr ) -{ - uno::Reference<lang::XMultiServiceFactory> xFact( xDoc, uno::UNO_QUERY ); - uno::Reference<beans::XPropertySet> xConv( xFact->createInstance( - OUString::createFromAscii( "com.sun.star.table.CellAddressConversion" ) ), uno::UNO_QUERY ); - try - { - xConv->setPropertyValue( OUString::createFromAscii( "UserInterfaceRepresentation" ), uno::makeAny( rStr ) ); - } - catch ( lang::IllegalArgumentException& ) - { - return false; // no valid ref - } - xConv->getPropertyValue( OUString::createFromAscii( "Address" ) ) >>= rPos; - return true; -} - -bool lcl_ParseRangeRef( table::CellRangeAddress& rRange, - const uno::Reference<sheet::XSpreadsheetDocument>& xDoc, - const OUString& rStr ) -{ - uno::Reference<lang::XMultiServiceFactory> xFact( xDoc, uno::UNO_QUERY ); - uno::Reference<beans::XPropertySet> xConv( xFact->createInstance( - OUString::createFromAscii( "com.sun.star.table.CellRangeAddressConversion" ) ), uno::UNO_QUERY ); - try - { - xConv->setPropertyValue( OUString::createFromAscii( "UserInterfaceRepresentation" ), uno::makeAny( rStr ) ); - } - catch ( lang::IllegalArgumentException& ) - { - return false; // no valid ref - } - xConv->getPropertyValue( OUString::createFromAscii( "Address" ) ) >>= rRange; - return true; -} - // ------------------------------------------------------------------------- SolverComponent::SolverComponent( const uno::Reference<uno::XComponentContext>& /* rSMgr */ ) : |