diff options
author | Oliver Specht <os@openoffice.org> | 2001-01-12 09:46:46 +0000 |
---|---|---|
committer | Oliver Specht <os@openoffice.org> | 2001-01-12 09:46:46 +0000 |
commit | 4e436d54dff4bce2b2fd6863d0e3a97143488e78 (patch) | |
tree | c278f61c7d9d1040a50d16c1f109cf2e89c6f972 | |
parent | 7e0c0288d6befd85ecf8cbe76258278b1d6e4bd9 (diff) |
#82360# getSomething: ask for number formatter implementation
-rw-r--r-- | sw/source/ui/uno/unotxdoc.cxx | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/sw/source/ui/uno/unotxdoc.cxx b/sw/source/ui/uno/unotxdoc.cxx index 711877e02e26..fb2d3007f1ff 100644 --- a/sw/source/ui/uno/unotxdoc.cxx +++ b/sw/source/ui/uno/unotxdoc.cxx @@ -2,9 +2,9 @@ * * $RCSfile: unotxdoc.cxx,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: os $ $Date: 2000-12-20 10:32:01 $ + * last change: $Author: os $ $Date: 2001-01-12 10:46:46 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -235,6 +235,16 @@ sal_Int64 SAL_CALL SwXTextDocument::getSomething( const Sequence< sal_Int8 >& rI { return (sal_Int64)this; } + else + { + if(!xNumFmtAgg.is()) + GetNumberFormatter(); + Any aNumTunnel = xNumFmtAgg->queryAggregation(::getCppuType((Reference<XUnoTunnel>*)0)); + Reference<XUnoTunnel> xNumTunnel; + aNumTunnel >>= xNumTunnel; + if(xNumTunnel.is()) + return xNumTunnel->getSomething(rId); + } return 0; } /* -----------------------------16.03.00 14:12-------------------------------- |