summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2004-11-17 12:38:31 +0000
committerOliver Bolte <obo@openoffice.org>2004-11-17 12:38:31 +0000
commit41f42b5d3cf92e72829756daa19f08900a1d2e04 (patch)
tree00ac72ea9b1894dbef4d29f55dfe613d08e248c2
parent1b35361a33627d7e4850275e482cd0a40aef94c2 (diff)
INTEGRATION: CWS fwkbugfix03 (1.42.138); FILE MERGED
2004/10/11 17:37:48 as 1.42.138.2: RESYNC: (1.42-1.45); FILE MERGED 2004/09/29 10:39:04 mba 1.42.138.1: #i30176#: wrong extension check
-rw-r--r--sfx2/source/view/viewsh.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/view/viewsh.cxx b/sfx2/source/view/viewsh.cxx
index dca88f1c5d65..9e754253d4c8 100644
--- a/sfx2/source/view/viewsh.cxx
+++ b/sfx2/source/view/viewsh.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: viewsh.cxx,v $
*
- * $Revision: 1.45 $
+ * $Revision: 1.46 $
*
- * last change: $Author: kz $ $Date: 2004-10-04 21:05:06 $
+ * last change: $Author: obo $ $Date: 2004-11-17 13:38:31 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -343,7 +343,7 @@ void SfxViewShell::GetState_Impl( SfxItemSet &rSet )
if ( xDocShell.Is() )
{
// Get PDF Filter
- String aPDFExtension = String::CreateFromAscii( ".pdf" );
+ String aPDFExtension = String::CreateFromAscii( "pdf" );
const SfxFilter* pFilter =
SfxFilterMatcher( String::CreateFromAscii( xDocShell->GetFactory().GetShortName()) ).GetFilter4Extension( aPDFExtension, SFX_FILTER_EXPORT );
if ( pFilter != NULL )